Log In  

Hello!

I'm working on a small game in Pico-8 for Ludum Dare. I ran my game, it worked fine, then exited to edit a sprite. I was using maximum zoom and the ctrl+click fill to swap some colors. I ran the game again and noticed the player and tiles weren't rendering.

I checked my map editor, and in corners I hadn't touched were random sprites of mine. They were distorted and had color 0 lines drawn through them. I erased these because I figured they were causing the issue. I switched to the sprite editor and a lot of my work was erased. There were these sprites left that show the distortion.

I'm running Windows 7 with a Radeon HD 7800 series video card.

I hope this helps!

P#9987 2015-04-19 05:08 ( Edited 2015-04-19 10:39)

I think the data are not corrupted
PICO8 share data with spritesheet and maps.
I'm not really sure how it works but I guess the tabs 3 and 4 of your spritesheets s will be afftected by your work on some regions of the map.

P#9988 2015-04-19 05:38 ( Edited 2015-04-19 09:38)

The lower half of the map (starting at row 32) uses the same memory as the last two pages of the sprite sheet (2 and 3). That means, if you draw into one, it will affect the other.

From "pico-8.txt":

PICO-8 has a single bank of 128 8x8 sprites, plus another 128 that overlaps with the bottom half of the map data ("shared data"). These 256 sprites are collectively called the sprite sheet, and can be thought of as a 128x128 pixel image.
P#9992 2015-04-19 06:36 ( Edited 2015-04-19 10:36)

Ah, thank you for clarifying that!

P#9993 2015-04-19 06:39 ( Edited 2015-04-19 10:39)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 10:47:14 | 0.005s | Q:12