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
Yeah well, this isn't working. Can someone please explain to me why it's not working?
The bool is getting toggled, but the rain isn't stopping. I tried the same with a global boolean "Raining", works even less.
From what I see, it looks like you create a raindrop every tick (that's a lot of raindrops) but I don't see where you either destroy them, or set them invisible.
Do you want to hide them or remove them?
The problem here the Raindrop is the object you want to spawn and destroy.
When you press K, the construct won't know which one is toggle or not.
The boolean variable should exist on the object that not relates to the Raindrop.
Thank you! It Worked with a different object called Weather, didn't think that would work since it didn't want to work with a global variable, so I guess that's why I didn't try that at all before.
Develop games in your browser. Powerful, performant & highly capable.
It is destroying it via a new event after it, but I didn't see any significance in including that in this question.