0 Favourites

[105] Animations not playing

  • I backed up my project before opening my project in 105. I was using 104 prior to using 105.

    I haven't done any changes to my game, I just ran one of the layouts and my character moves around but the animations that are supposed to play stop at the first frame. The animations are triggered properly (knows when it should be in walking animation, running, jumping) but only plays the very first frame.

    Afterwards I uninstalled 105 and reinstalled 104 and the animations are working properly (just to make sure it wasn't my pc causing problems).

    ASUS

    Windows 7

    8 gigs ram

    Nvidia GeForce GT 530

  • I'm confirmed this bug

  • Have you seen this from r105's log :

    Bug Fix

    Sprite: 'set animation' in an 'on animation finished' event did not always have the intended effect

    Do you happen to use such setup ? Perhaps your code war running whereas it shouldn't have.

    I've opened projects made with r105 and/or r104 (I'm sure tbh) and with animations working on preview.

    It sounds more like some changes/reorganisation to your code might fix this.

    Can you confirm if it happens also in a new project ?

  • <img src="http://i.imgur.com/qIbfp.png" border="0" />

    this event from r104 which it worked, but it didn't work on r105 when i press down to move down while play animation

  • Can anyone provide a .capx? As per how to report bugs, we usually cannot do anything about a problem without an example project.

  • My animations weren't playing right and jittering (I uninstalled straight away after noticing that,) I have a few animations that were being set to playing from the 'animation finished' trigger but most of them are just like Joannesalfa's (random conditions.)

  • This isn't a bug (most likely). You guys are probably setting the animation continuously and having it start the animation over each time. If you do this it will never get the chance to actually animate. The previous versions did not reset the animation, so when you encounter this problem you should instead start the animation from its current frame, or find a more efficient way of handling animations.

  • This isn't a bug (most likely). You guys are probably setting the animation continuously and having it start the animation over each time. If you do this it will never get the chance to actually animate. The previous versions did not reset the animation, so when you encounter this problem you should instead start the animation from its current frame, or find a more efficient way of handling animations.

    Let's compare my .capx which is a bug cannot play animation while press down arrow.

    @Ashley here is, just pressing down arrow.

    dl.dropbox.com/u/76227787/AnimationBug.capx

  • Could someone show an example on how to properly set animations?

    this is how i've been doing it:

    <img src="http://i47.tinypic.com/2v0bx47.jpg" border="0" />

    i50.tinypic.com/iwoxm9.jpg

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Let's compare my .capx which is a bug cannot play animation while press down arrow.

    Mine works perfectly fine. I have full-blown animations for each arrow key that is pressed. I am using the latest beta version, too.

    Could someone show an example on how to properly set animations?

    You need to change play from beginning in the set animation to play from current frame. I said that above. If you don't like the result of that, you need to put in checks to prevent it from continuously changing the animation, because it will never get the chance to play the animation.

  • > Let's compare my .capx which is a bug cannot play animation while press down arrow.

    Mine works perfectly fine. I have full-blown animations for each arrow key that is pressed. I am using the latest beta version, too.

    > Could someone show an example on how to properly set animations?

    You need to change play from beginning in the set animation to play from current frame. I said that above. If you don't like the result of that, you need to put in checks to prevent it from continuously changing the animation, because it will never get the chance to play the animation.

    Ok it's working just fine now. Thanks for the tip

  • > Let's compare my .capx which is a bug cannot play animation while press down arrow.

    > Mine works perfectly fine. I have full-blown animations for each arrow key that is pressed. I am using the latest beta version, too.

    >

    >

    3 questions...

    Did you change "From Beginning" to "From Current Frame" ?

    C2 32 or 64 bits?

    Does animate when goes to up, left and right? it shouldn't animate except the down way

  • I just changed everything 'from beginning' to 'current frame'

    I thought from beginning meant that whenever you do play the run animation (or whatever animation) that you want it to start from the first frame. I guess technically I'm still a bit confused on the difference between the two now that i'm thinking about it again but it works so... *Shrug*

  • From beginning will restart the animation frame to 0 every time it is called. If you have it call every tick, it means that it will never get past the first frame. Before this, it did nothing, and behaved the same as the other one. So, basically you have to be more careful how you change animations now. You should check if that is the current animation already if you still want to use the old way.

  • ^oh ok I see. thanks for the explanation. makes more sense now.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
1,941 263,281
FlyingRam's avatar
FlyingRam
Unread sticky
763 305,663
asikanddestroy's avatar
asikanddestroy
Unread hot topic
378 33,261
part12studios's avatar
part12studios