Log In  

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?

P#64747 2019-05-25 20:40

1

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.

P#64749 2019-05-25 21:21

It is last two. Thanks.

(also, it makes coloring very odd lol)

P#64750 2019-05-25 21:22
1

The colors are "weird" because the map and sprite sheet interpret the same data differently.

P#64753 2019-05-25 21:54

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!

P#68473 2019-10-04 20:16
1

... or write your own map handler. In truth that's not too difficult to do.

P#68474 2019-10-04 20:32
1

The map in the lower half is shared with the sprites on pages 2 and 3.

P#111319 2022-05-05 12:12 ( Edited 2022-05-05 12:13)
1

@lily.kensa Thanks, but it’s been resolved and is also like two years old.

P#111321 2022-05-05 12:34

@aKidCalledAris

it's like 4 years now...

P#137121 2023-11-08 12:49

@lily.kensa Don't necropost please. Locking thread

P#137122 2023-11-08 13:12

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 09:59:31 | 0.124s | Q:26