Log In  


Hey P8 fam,

Got a weird thing happening with my game and am having trouble finding anything on this, What is happening is on my map editor I am seeing sprite formations that I did not put there and when I try to remove some of them I see a glitching effect on some of the sprites I did place intentionally when I run the game.
Does that make sense?

Does this have to do with the 128 sprite limit? Didn't think I hit it.

Happy to answer any questions, thanks.



The last 2 of the 4 sprite pages share memory with the bottom half of the map. This makes it so that if you edit one, you'll edit the other.

One workaround is to store data in code and load in as needed. If you save your game as a .p8 file, you can edit it in a text editor. All of the sprite and map data are there as numbers (hex). So you can rip them, add them to code, and load them in as needed.


"The last 2 of the 4 sprite pages share memory with the bottom half of the map. This makes it so that if you edit one, you'll edit the other."

Any idea why this was done, btw? It seems weird to have some bizarre thing like that in a fantasy console...


@WarrenM: so that everything fits in 32Kb. actually it's a plus, you get a choice: more map or more sprites.


So that's the deal ... OK. I'd never seen the why explained, only the what. Thank you!


Thanks all.



[Please log in to post a comment]