#22559 - MattBH - Thu Jun 24, 2004 4:50 am
I'm pretty new to the GameBoy scene and I was running through the tutorials found at:
http://www.aaronrogers.com/ham/Day8/day8.php
Everything was pretty straightforward and easy to follow, but I've run into one problem. On the animation tutorial (which is the one I linked to above), I tried to use one of my old sprite sheets. This caused a problem where the first few pixels of the characters head would be displayed several times to make up the 32x32 sprite, instead of showing the correct frame. I narrowed this down to the way the sprite sheet is set up. If I make the sheet exactly 1 character width across, and however many tiles down, the sprite is displayed correctly. However, when I try to make the sheet with say 4x4 frames, it doesn't work. It always needs to be 1xwhatever. Is there anyway around this or do the sprite sheets have to be created in this awkward fashion?
Thanks,
Matt
http://www.aaronrogers.com/ham/Day8/day8.php
Everything was pretty straightforward and easy to follow, but I've run into one problem. On the animation tutorial (which is the one I linked to above), I tried to use one of my old sprite sheets. This caused a problem where the first few pixels of the characters head would be displayed several times to make up the 32x32 sprite, instead of showing the correct frame. I narrowed this down to the way the sprite sheet is set up. If I make the sheet exactly 1 character width across, and however many tiles down, the sprite is displayed correctly. However, when I try to make the sheet with say 4x4 frames, it doesn't work. It always needs to be 1xwhatever. Is there anyway around this or do the sprite sheets have to be created in this awkward fashion?
Thanks,
Matt