Autor Tema: Is it me, or is it the png-to-fpg converter?  (Leído 1069 veces)

Sslaxx

  • Newbie
  • *
  • Mensajes: 34
  • Karma: 0
Is it me, or is it the png-to-fpg converter?
« en: Mayo 27, 2011, 02:23:03 pm »
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

  • Newbie
  • *
  • Mensajes: 34
  • Karma: 0
Re: Is it me, or is it the png-to-fpg converter?
« Respuesta #1 en: Mayo 27, 2011, 09:01:40 pm »
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.