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
I have a fireball being shot from another part of the level and the sound of it is still being played no matter where I am in the level. So my question is: how do I keep the sound from playing when I'm not near the source.
did you stop the audio when go to another level ?
The fireballs are only in the second level so far. I only stop some music at te end of the level. Are you understanding what i need help with. I don't know how to explain this problem any further. LOL. Sorrry.
then maybe you can compare the distance between the fireball and it's source, using "distance()" expression
It's like, I'm at the start of the level, and the fireball is being shot from a small cannon from the very bottom of the level and the sound of the lava being shot is being played whether or not i'm Near the cannon or the fireball.
Develop games in your browser. Powerful, performant & highly capable.