Timer

Game Editor comments and discussion.

Timer

Postby ramini » Sun Jun 30, 2013 3:32 am

Okay I got a timer which if it runs, my animation changes. so my question is how would I turn the animation back to it's original state after the timer has finished.
ramini
 
Posts: 4
Joined: Tue Feb 21, 2012 9:40 pm
Score: 0 Give a positive score

Re: Timer

Postby Grynde » Sun Jun 30, 2013 5:03 pm

My best guess would be that you should have the animation change occur on collision, then use the timer to do the animation reset for you.

However, I'm a serious n00b, but learning as I go!
Playing a game is the voluntary attempt to overcome unnecessary obstacles.
-Bernard Suits
User avatar
Grynde
 
Posts: 21
Joined: Fri Apr 26, 2013 12:41 pm
Location: Virginia
Score: 1 Give a positive score

Re: Timer

Postby AliceXIII » Sun Jun 30, 2013 11:07 pm

when you destroy the timer you could either use ChangeAnimation() to change to what you want, or animpos if your using one big image cut into frames.
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest