Hi! I just got started with Constructor 2 and I've run into a little problem.
I have a character that I move with A and D. When I press one of those buttons my character will start moving along with an animation (named 'Walking'). This works fine, however:
What I want to do is that when you release the move buttons, the character will finish it's move animation and then stop rather than stopping mid-animation. My problem though is that the character continues to move forever even though I've (I think) told it to stop moving after finishing it's animation. It's much easier to show what I mean by posting the event sheet, please see attachment.
EDIT: Sorry, I meant the character continues to ANIMATE forever, not move. My mistake!
EDIT SOLUTION: It seems that I got it to work, but not by using 'onFinish'.
Here's what I did:
At the keyboard A&D != check, I added 'isAnimationPlaying'
And then I replaced 'onAnimationFinished' with 'compareFrame' to check if it's the last frame. If it is, then I stop the animation.
Maybe I should've tried that before posting here, didn't think about it then though. Now we know at least!
Help is greatly appreciated.