Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Object on tounch
object.AnimationFrameCount +1 loop
basically, when it hits the end frame it goes back to the first frame
Develop games in your browser. Powerful, performant & highly capable.
There is an option in animation editor for Loop, set it to Yes.
Hi, thx for your answer but i tried this and this doesnt work
im trying to change the animationframe only when touch. every touch the frame goes up +1
how can I loop it to back to the first frame after it reaches the last frame
Im trying to do something like this
i63.tinypic.com/35i182r.png
but it wont change to animation 0
or rather something like this gyazo.com/46a1d07f9dbbfe50cd7dbb1ff3304523
I read this on a old post but it doesnt work, am i doing something wrong
I'm not sure what the attempted shortform is but I would do it with a second event and condition, if bag clicked and bag.animationframe=bag.animationframecount-1 set frame to 0.