Page 1 of 1
Re: Problem with my graphic!!! please help!
Posted: Tue Apr 15, 2014 7:09 am
by Chad
The problem is most likely with either how the frames are aligned, or with the text file. Make sure the text file contains all of the following:
Code: Select all
gfxwidth=32
gfxheight=32
width=32
height=32
If it already does, or if the problem persists, I would recommend checking to make sure all of the hammer's frames are evenly 32x32 pixels. You could also post the graphic here and see if we can find the problem that way.
Re: Problem with my graphic!!! please help!
Posted: Tue Apr 15, 2014 7:09 am
by SuperWingedYoshi
You mean those black pixels that appear next to the hammer? That's likely because one sprite is a bit offset. You'll have to edit the graphic of the hammer again. Make some kind of grid in the editor you're using, if possible, so you know where the sprite has to end.
Alternatively, you can send me the graphic and I'll see what I can do.
Re: Problem with my graphic!!! please help!
Posted: Tue Apr 15, 2014 7:19 am
by Chad
I thought so, the problem is that all of the frames are different sizes and they aren't aligned properly, so they come out wrong. Try this:
http://www.sendspace.com/file/n1cg89
Re: Problem with my graphic!!! please help!
Posted: Tue Apr 15, 2014 7:30 am
by Chad
Actually yeah, I just playtested it and found that myself. The problem there was that the very last frame was showing part of the one above it. Moving the second-to-last frame one pixel upwards cleared that right up:
http://www.sendspace.com/file/gjm59q
Re: Problem with my graphic!!! please help!
Posted: Tue Apr 15, 2014 7:30 am
by SuperWingedYoshi
Yup, I can confirm what Chad said. I also fixed the graphics, but Chad was faster and he's very likely more experienced than me, so... yeah. Use his version.

Re: Problem with my graphic!!! please help!
Posted: Tue Apr 15, 2014 7:33 am
by SuperWingedYoshi
No problem, glad we could help you!
For the next time you do something like that, here's a tip. If possible in the editor you're using, let the program create a grid for you. Or do some kind of mark so that you know where each sprite has to end.
Re: Problem with my graphic!!! please help!
Posted: Tue Apr 15, 2014 7:47 am
by SuperWingedYoshi
You should really make a topic about your project. I probably won't be the only one who's interested.
