So I was working on the map in PICO-8 when I found some tiles I never placed, so I started erasing them. Later I saw a chunk of my spritesheet was erased, so I fixed that manually. Later the same thing happened and found that the tiles are related to the colors in the sprites. Why is this?
I believe there are certain portions of the map and sprite sheet that share the same memory space. This is to cut down on memory size. If you want more sprites then you have to decrease your map or vice versa. I'm not sure exactly where the shared space starts, but I think it is the last, or maybe last two, sprite page(s). Have a look at the manual for more information.
It is last two. Thanks.
(also, it makes coloring very odd lol)
The colors are "weird" because the map and sprite sheet interpret the same data differently.
I think the reasoning is that there is a limited amount of space for sprites and map data - and you have to make the tough call whether to use the precious resources for sprites, or for maps.
...because pico8 is quirky n weird!
... or write your own map handler. In truth that's not too difficult to do.
The map in the lower half is shared with the sprites on pages 2 and 3.
@lily.kensa Thanks, but it’s been resolved and is also like two years old.
[Please log in to post a comment]