I have 2 rooms (2 layouts) with enemys in each, if I go between layouts everything
just resets and the enemys appear again, what should I be doing to remember the state of
which enemys have hit points and which are dead.
Any links etc would be great
Make the objects "Global" (on the Object type properties). See the following capx.
Develop games in your browser. Powerful, performant & highly capable.
Thanks, as I'm creating a random number of objects on start of the layout, would I need to set a global variable to check if they have already been created and if so not run through the loop
You only have to create your objects on the first layout. Use a separate event sheet on the second layout that won't have the creation event as the first one...