Is it me, or is it the png-to-fpg converter?

Started by Sslaxx, May 27, 2011, 02:23:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sslaxx

As per this thread, I tried to fix up the mangled fpg-to-png converter code there. You can find that on its own here.

Except it doesn't work - the "fix" isn't as simple as I thought it would be. It's corrupting any sprite above the first. I'm not entirely sure why.

http://sslaxx.twu.net/LL.7z has the test code I've been using, the fixed(ish) converter code, the original sprite sheet and the fpg created from the sprite sheet.

Help?
Stuart "Sslaxx" Moore.

Sslaxx

To answer my own question, the map_id wasn't being cleared in the loop that converted the sprites. A "map_clear (0, map_id, 0);" fixed that.
Stuart "Sslaxx" Moore.