animation sequence incorrectly displayed

Game Editor comments and discussion.

animation sequence incorrectly displayed

Postby yttermayn » Sat Feb 02, 2008 3:18 am

I have an animation sequence that dosn't work properly. It is initiated and stopped by script rather than by event. For some reason, if my sequence is 0;1;2;3, it will start displaying the last frame first- 3;0;1;2;3. I have attached a ged with animation. Thanks!
edit: Removed file, see updated file a couple posts down.
Last edited by yttermayn on Sun Feb 03, 2008 12:16 am, edited 1 time in total.
yttermayn
 
Posts: 48
Joined: Sun Nov 25, 2007 4:10 pm
Score: 2 Give a positive score

Re: animation sequence incorrectly displayed

Postby j2graves » Sat Feb 02, 2008 12:35 pm

it tends to do that when the animation is multiple files. try making the animation one file with each frame side by side.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: animation sequence incorrectly displayed

Postby yttermayn » Sat Feb 02, 2008 9:57 pm

Thanks, I will try that!
yttermayn
 
Posts: 48
Joined: Sun Nov 25, 2007 4:10 pm
Score: 2 Give a positive score

Re: animation sequence incorrectly displayed

Postby yttermayn » Sun Feb 03, 2008 12:15 am

Ok, I tried putting it all on one sprite sheet, and the same exact thing happens. More info: I made a text actor to display numbers while the game is running, and set it to show the sprite's animation frame. (a watch window, in programmer speak) I can see that for whatever reason, the last frame in the sequence is indeed getting placed in the actor.animpos variable first, then the rest of the sequence runs. I have updated my test .ged to show this.
Attachments
test2.zip
(200.95 KiB) Downloaded 80 times
yttermayn
 
Posts: 48
Joined: Sun Nov 25, 2007 4:10 pm
Score: 2 Give a positive score

Re: animation sequence incorrectly displayed

Postby yttermayn » Tue Feb 05, 2008 2:09 pm

Well, I've been trying a bunch of different things, and this is still unresolved. Looks like i'm going to have to script the animation and use a timer to pace it to the right animation speed. I'm guessing it's an unresolved bug, at least in my version anyways.
yttermayn
 
Posts: 48
Joined: Sun Nov 25, 2007 4:10 pm
Score: 2 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron