Page 1 of 1

Animation messed up

PostPosted: Fri Oct 26, 2007 12:02 am
by GuitarManGuitar
Im trying to make a spinning sword but when i put it in the game the anim. goes whacko!
I viewed it of a picture viewer program and it looks fine. :| color=#BF0040][/color][/color]???

Re: Animation messed up

PostPosted: Fri Oct 26, 2007 1:35 am
by pixelpoop
Is it a sprite sheet or a series of files?
Sometimes GE guesses wrong on sprite sheets about how many frames to make. You just have to correct it with the numbers on the side.

Re: Animation messed up

PostPosted: Fri Oct 26, 2007 2:59 am
by GuitarManGuitar
ITs a bunch of picture with the numbers beside the name. (eg: sword(0), sword(1)...sword(15)) :?

Re: Animation messed up

PostPosted: Fri Oct 26, 2007 1:44 pm
by pixelpoop
If you are using multiple files for animation the names should always have the same amount of numbers in them. The first one should be 001, not 1. The tenth one should be 010, not 10. The hundredth one would be 100. And only use numbers at the end. With three numbers the most you can go up to is 999.
example using 2 numbers and the png format:
sword01.png
sword02.png
sword03.png
sword04.png
sword05.png
sword06.png
sword07.png
sword08.png
sword09.png
sword10.png

Re: Animation messed up

PostPosted: Sat Oct 27, 2007 6:51 pm
by GuitarManGuitar
ty ty ty!