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
It's a bit more complicated than that. My game is where you press a button to go to the next layout, but I can't get the animation to play where the button changes to a sprite that looks pressed.
I've set it so that:
On var = 11, Make Button visible Set text to "(Doesn't matter) Set animation frame to 0 [/code:2hww4w56] And after that, the thing that should actually make the button press: [code:2hww4w56] On button left clicked Set animation frame to 1 Wait 0.5 seconds Go to layout 2 [/code:2hww4w56]
If var is still 11 wouldn't it just be instantly changing it back to frame 0?
You might want to use a different test such as sprite visible then set to frame 0 or use a separate variable.
Develop games in your browser. Powerful, performant & highly capable.
If var is still 11 wouldn't it just be instantly changing it back to frame 0? You might want to use a different test such as sprite visible then set to frame 0 or use a separate variable.
I never thought about that, thanks