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
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
How can I make when I pass the Last Frame it will go back to the First frame?
And when I move back from the first frame it will go to the Last frame?
I tried to play with the Sprite.AnimationFrameCount +1 but had no luck
Frame 0 is empty just to make it easy for me to follow.
Up: set frame to (Obj.AnimationFrame+1)%Obj.AnimationFrameCount
Down: set frame to (Obj.AnimationFrameCount+Obj.AnimationFrame-1) %Obj.AnimationFrameCount
Develop games in your browser. Powerful, performant & highly capable.
Thank you so much dop2000 it works like MAGIC! :)