Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
can I make these events into one? to save on free usage?
Develop games in your browser. Powerful, performant & highly capable.
You could name the animations 1,2,3,4,5 etc.
Default = 0
Tux = 1
Then the code would read something like
Every tick - set body animation to body
Would save on having to copy that bit of code for each animation
Body between 0 and 3
Local Storage save "key_body" to body
Body set animation to (body=0 ? "default" : body=1 ? "tux" : body=2 ? "mick" : "king")
All those events into one?
On touched select_arrow
— set body to ((select_arrow.body arrow?-1:1)+body+4)%4
— local storage: save “key body” to body
— set animation to tokenat("default,tux,mick,king", body, ",")