Hi everyone,
So I'm working on a project in Construct 2. Not a particular game at the moment, just working on building a solid sort of functioning engine to build a game on top of. I've been working on settings and in-game settings, including configurable keys and such.
Anyway, I have an enemy that upon being destroyed, plays an explosion sound effect. I put a "quit to menu" key in my pause menu that changes the layout to "Menu" upon being clicked. My issue is that upon quitting to the menu, the explosion sound effect plays. I suspect it is to do with all instances of those enemies being destroyed on quit, but I don't know what to do about it. Any help would be much appreciated.
Thanks <img src="smileys/smiley1.gif" border="0" align="middle" />
Edit: The other trouble I'm having is that currently when the player dies, it is set to go back to the main menu. When it does this it makes it so that when I press the new game button to go back to that layout, it kicks me straight back to the menu because it hasn't reset. How would I go about implementing a proper new game button?