Log In  

Cart #42371 | 2017-07-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Since the spritesheet and map share memory I got inspired to make a demo of how to use MSET to edit sprites in the sheet. Essentially I'm changing the bottom part of the map to edit the sprites that are located in page 3 of the sheet.

I'm sure this has been done before, so I did it mostly for my own entertainment. Feel free to copy this if you have a need for this kind of functionality!

(This is not a playable game.)


// Jens

P#42372 2017-07-11 12:44 ( Edited 2017-07-12 10:11)

This is really cool! I will definitely use this for future games!

Im 13 and I was inspired by minecraft to make my own games so thank you.

P#42386 2017-07-11 19:49 ( Edited 2017-07-11 23:49)

is it doing something more than sset() & sget()? you can also peek() and poke() from 0x0000 to 0x1FFF.
those animated tiles are nice otherwise.

P#42392 2017-07-12 04:34 ( Edited 2017-07-12 08:34)

Hehe no that's exactly what it does.

I don't know what peek and poke does, though... I'm still new to pico.

P#42393 2017-07-12 05:22 ( Edited 2017-07-12 09:22)

There's a good explanation on the wiki of how to manipulate memory with peek() and poke().


P#42394 2017-07-12 06:11 ( Edited 2017-07-12 10:11)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-04 02:10:23 | 0.010s | Q:17