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
Hi, could we have a Toogle state for every boolean type of action/event?
Toogle Pause/Play for audio for example would be very helpful.
Thanks
Develop games in your browser. Powerful, performant & highly capable.
Hi. You could try to use a global variable as kind of switch maybe?
If the var is set to 0 (false) music stops, if it is set to 1 music plays. But I did not try this, yet. Just an idea that could work.
Bl4ckSh33p thank you for the answer fellow sheep ;D
I�ll try to use that for now! ;]
Try this:
var = 1 - var
it will toggle between 0 and 1
E.g:
Var = 0
var = 1 - 0 = 1
var = 1
var = 1 - 1 = 0
Hope that helps. :)