Animation messed up

Non-platform specific questions.

Animation messed up

Postby GuitarManGuitar » Fri Oct 26, 2007 12:02 am

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]???
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score

Re: Animation messed up

Postby pixelpoop » Fri Oct 26, 2007 1:35 am

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.
User avatar
pixelpoop
 
Posts: 276
Joined: Tue Aug 29, 2006 9:32 pm
Score: 28 Give a positive score

Re: Animation messed up

Postby GuitarManGuitar » Fri Oct 26, 2007 2:59 am

ITs a bunch of picture with the numbers beside the name. (eg: sword(0), sword(1)...sword(15)) :?
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score

Re: Animation messed up

Postby pixelpoop » Fri Oct 26, 2007 1:44 pm

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
User avatar
pixelpoop
 
Posts: 276
Joined: Tue Aug 29, 2006 9:32 pm
Score: 28 Give a positive score

Re: Animation messed up

Postby GuitarManGuitar » Sat Oct 27, 2007 6:51 pm

ty ty ty!
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron