Animation Problems

Game Editor comments and discussion.

Animation Problems

Postby RippeR7420 » Thu Sep 29, 2011 3:00 am

Heys guys its me again. I just have a quick question about "ChangeAnimation". I'm gonna try to explain this the best I can haha :)

So, say my Player is running right, When I hit "Z" to attack I notice that alot of the time my attack animation is cut short? like if my attack
animation is 14 frames, most of the time it seems like it starts at frame 9 to 12... It's not a big issue, just more annoying I guess.
Any help with be awesome:D
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: Animation Problems

Postby skydereign » Thu Sep 29, 2011 6:38 am

It sounds like your problem is that you are setting the animation using NO_CHANGE. This is a good method to use if you know the ChangeAnimation call will repeat, avoiding reseting of the animation over and over... but it preserves the animpos as well. So, if you are using your run animation, and are on your 9th frame, and then you switch to your attack animation using NO_CHANGE, it will be on the 9th frame of your attack animation.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Animation Problems

Postby RippeR7420 » Thu Sep 29, 2011 4:33 pm

Ahh! So if I set it to FORWARD, it should start from the first frame?
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: Animation Problems

Postby RippeR7420 » Thu Sep 29, 2011 4:38 pm

+1 btw :)
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: Animation Problems

Postby RippeR7420 » Thu Sep 29, 2011 11:20 pm

SkydeReign you're amazing!
Worked like a charm :)
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest