The Daily Click ::. Forums ::. Klik Coding Help ::. Idle animations?
 

Post Reply  Post Oekaki 
 

Posted By Message

J.C



Registered
  22/03/2013 05:18:14
Points
  118
12th September, 2015 at 12/09/2015 23:13:47 -

Hi. I've been having trouble trying to get the player character to do multiple idle animations rather than having just one stopped animation.

Right now I have it set so that there is a timer that only counts down when the player is standing still. When the timer goes down to 0 the player character should blink.

But it seems to only play the first frame and won't play the animation in full.

I have attached an mfa file here for your convenience.

https://www.dropbox.com/s/3o0ywynvzto5s94/Idle%20animation%20Test.mfw?dl=0

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
13th September, 2015 at 13/09/2015 02:32:59 -

That doesn't seem to be an MFA.

 
.

J.C



Registered
  22/03/2013 05:18:14
Points
  118
13th September, 2015 at 13/09/2015 04:12:26 -


Originally Posted by AndyUK
That doesn't seem to be an MFA.



Sorry I meant MFW file.

So, any ideas?

Edited by J.C

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
13th September, 2015 at 13/09/2015 21:01:49 -

Sorry, I didn't explain the problem. This isn't the file we need to look at, it's only 56 bytes. It's a shortcut or something thats trying to open something else on YOUR computer.

Try uploading the MFA, thats what we need.

 
.

J.C



Registered
  22/03/2013 05:18:14
Points
  118
14th September, 2015 at 14/09/2015 00:15:53 -


Originally Posted by AndyUK
Sorry, I didn't explain the problem. This isn't the file we need to look at, it's only 56 bytes. It's a shortcut or something thats trying to open something else on YOUR computer.

Try uploading the MFA, thats what we need.



Ah, of course! That's what I forgot. D'oh!

Too bad I can't update the first post because of site rules...

okay, here you go: https://www.dropbox.com/s/o9s1bzkx4memr0d/Idle%20animation%20Test.mfa?dl=0

Edited by J.C

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
15th September, 2015 at 15/09/2015 03:39:30 -

In your group called 'Collision' you're telling the animation to change to stopped when the player is standing on the ground. That's why the idle animation changes back to stopped after one frame.

It's specifically event 15.
Putting another line in there 'when animation idle blinking is not playing. Should let it play.

Image

 
.

J.C



Registered
  22/03/2013 05:18:14
Points
  118
15th September, 2015 at 15/09/2015 05:07:00 -

Originally Posted by AndyUK
In your group called 'Collision' you're telling the animation to change to stopped when the player is standing on the ground. That's why the idle animation changes back to stopped after one frame.

It's specifically event 15.
Putting another line in there 'when animation idle blinking is not playing. Should let it play.

Image

That does the trick.

However, I notice that he will only do it once when the counter reaches 0. If he doesn't move, every subsequent time the counter hits 0 he won't do the blink animation. I wonder why...

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
22nd September, 2015 at 22/09/2015 05:55:46 -

Oh, um.
I just reopened my fixed MFA. It seems to work fine for me.

 
.
   

Post Reply



 



Advertisement

Worth A Click