News

LowRes NX Coder 1.6: Easy sharing

5

Timo 2019-03-26 07:28 (Edited)

The new update for iOS is out:

New updates for Mac and Windows are coming soon.

Sharing

Open in app


was8bit 2019-03-26 15:40

Totally awesome!! :D


Timo 2019-03-26 20:26

The web player is updated. Versions for Mac and Windows will come next week.


S3B4 2019-03-26 23:12

I tried the MCELL command but I keep getting the “illegal memory access” error and the manual says the source must be working RAM but I don’t know how to do that.


was8bit 2019-03-27 00:30

From TIMO's "Map Scrolling V1.3"

'COPY MAP TO RAM TO ALLOW
'CHANGING CELLS
COPY ROM(3),SIZE(3) TO $A000
BG SOURCE $A000


was8bit 2019-03-27 00:47 (Edited)

... here is my attempt to clarify...

The background you design is encoded as a "file" that you can use BG COPY with to copy portions of the designed background into the 32x32 BG 0 or BG 1 that NX uses.. however, you cannot make changes the encoded background "file", so if you pick up a coin and use BG COPY again to update your map the coins would reappear...

Using the code above, you create a backup copy of the entire coded background file into active memory... this way you CAN make changes to active memory... in this case you can read and write to this "active" background memory with as much ease as you can read and write to the 32x32 B0/B1

So, CELL X,Y, CharNum writes to the 32x32 and CharNum=CELL.C(X,Y) reads from the 32x32

Once you use the code above to create your active background, then...
MCELL X,Y,CharNum writes to anywhere in your active background
CharNum=MCELL.C(X,Y) read from anywhere in your active background

ALSO, once you've created your active background, BG COPY to update your visible 32x32 it doesn't use your encoded background anymore, it uses your active background.. so changes made to your active background will remain.. :)


was8bit 2019-03-27 00:50

Please check out TIMO's updated code for a great example :)

https://lowresnx.inutilis.com/topic.php?id=331


Timo 2019-03-27 06:45

Also keep in mind that MCELL is only necessary for maps bigger than 32x32 cells, otherwise you can use the BG memory with its normal CELL functions directly.


Blockhead 2019-03-28 07:14

I’ve noticed that you have chosen “cow dodge” for the example


Blockhead 2019-03-28 07:16

Now I’ve no more to copy and past scripts


Timo 2019-03-28 07:49

Just make more animations :)


Log in to reply.