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.

P#50710 2018-03-22 22:35 ( Edited 2018-03-25 01:53)

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.

P#50711 2018-03-22 23:51 ( Edited 2018-03-23 03:51)

"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...

P#50751 2018-03-23 19:15 ( Edited 2018-03-23 23:15)

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

P#50755 2018-03-24 07:12 ( Edited 2018-03-24 11:12)

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

P#50761 2018-03-24 09:34 ( Edited 2018-03-24 13:34)

Thanks all.

P#50782 2018-03-24 21:53 ( Edited 2018-03-25 01:53)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 15:11:39 | 0.015s | Q:18