ripso's Forum Posts

  • 8 posts
  • Salut,

    Avec un mask tu peux faire ca je pense. sinon le plus simple c'est carrément de te faire une animation pré-rendue ^^

    [edit for english]

    Hi,

    you can do that with a mask i think. Easily but heavily you can do that with a prerendered animation... ^^

  • Hi,

    I have the same request

  • I used an animation to store playing cards.

    I set the frame to choose 1 of the 52 cards.

    my sprite "card" plays the animation "rotating" of the card rotating and changing perspective and with a tween to come on the screen. On finished it plays the animation "show" which turns the card. On finished it plays the animation "cards", stop it, and set the frame to the card i want to show.

    Since the actions don't seem to make sense I'm not going to investigate this.

    Since the animation doesn't stop while its name is "stop animation", personally i'd have investigate on it...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A good way to don't have this problem would be to have a "stop" option in the "set animation" action.

    [attachment=0:1yf5ws5p][/attachment:1yf5ws5p]

    [edit] i made an error in my screenshot, the event condition must be animation1

  • Ok, I see how to use it

    it stops any currently playing animation but it does not set a specific frame when it stops

    Not really true if you look at my capx.

    The "stop" method doesn't work in this case.

    Otherwise, thanks for your replies. I applied modifications to my project by your way.

  • Thanks, that works!

    But why "stop" method does exist if this logic is better?

  • Problem Description

    Hi,

    I think i found a bug.

    When we set an "on animation finished" condition, it is triggered.

    In actions, when we set a new animation for the sprite, it is set.

    but if we want to stop it, it doesn't stop.

    Thanks

    Steps to Reproduce Bug

    Just launch the capx

    Observed Result

    the animation2 doesn't stop at frame 2

    Expected Result

    the animation2 must stop at frame 2

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: doesn't support html5...

    Operating System and Service Pack

    Win 7 Pro SP1 64 bits

    Construct 2 Version ID

    Release 195 (64-bit)

    Build at 15:36:00 on Jan 19 2015

  • Hi,

    is there an xml file for this effect?

  • 8 posts