can I make these events into one? to save on free usage?
You could name the animations 1,2,3,4,5 etc.
Default = 0
Tux = 1
etc.
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")
Develop games in your browser. Powerful, performant & highly capable.
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, ",")