I am making my own platform engine and am having some trouble with the animation. Seems that all animations must loop. The jumping animation did not loop and when I landed all other animations played only frame 1. If all animations loop this is not a problem. Anyone know a workaround for this?
I've read and re-read your post and I'm afraid I still don't understand it. It's worded a little confusingly.
Are you saying that when you jump, your animations stop looping/playing?
The only thing I can think of off the top of my head without a better explanation is you might be setting your animations to frame 1 every cycle. Add a "Trigger once while true" condition to your set animation frame/play animation actions.
If that has nothing to do with your problem, could you explain what's happening in better detail?
To clarify. Whenever I use an animation that does not have looping and that animation has played through, all the other looping animations only play the 1st frame of their animation. I have tried to add a play current animation which only seems to repeatedly restart the animation playing to the 1st frame as well, thus creating the exact same problem.
The only real solution would indeed be to either have 2 animations for jumping. One that changes to the other one at a certain frame, and one with only 1 frame that loops.
Or as you said to have loads of identical frames after each other.
However, Ashley said the animation system is getting a fix soon so I guess I'll make an auxillary solution and then fix it when I can:)
[quote="maligna":1wy2icl5]To clarify. Whenever I use an animation that does not have looping and that animation has played through, all the other looping animations only play the 1st frame of their animation.[/quote:1wy2icl5]
Ah, I see. I myself am unable to recreate this problem so I suspect it's an issue with your code. If you'd like to post the .cap I can take a look at it.
Ok. I have recreated the problem in this file. Turning on looping in the animation jump fixes the stopping of the other animations.
Forgive the coding, it's the first time I use this program
And also another strange thing. When scrolling the platforms seem to separate at some times. There are small spaces between them, when the scrolling stops though it goes back to normal. Just noticed that now. I'd be glad if you'd take a look at it.