You can create the array like any other object, using System:Create object. You can also place an array in a Container, for each spawning object.
You can use this plugin to help randomize the order, and prevent the same sequence playing even.
Develop games in your browser. Powerful, performant & highly capable.
The easiest way to deal with this kind of issue is to put Sprite into a Family. Now you have two distinct object types, and your events can deal with Sprite on one side, and Family on the other.
Look at the manual for expressions, for converting coordinates between the layers.
Do a New( 1,6,1 ), and get the value with Next.
Arrays exist outside of any layout. Just use it.
Local Storage replaces WebStorage.
Part of the problem is that you have duplicated all of the events. Now someone has to go through each to compare what might be different. This is the wrong way to do it. You don't want to do everything 3 times. Just do it once, with the differences isolated to each level.
The plugins are still there. Make a new dropbox entry.
C2 has a "Preload sounds" property for the project itself, so you shouldn't even need to do this manually anymore. Just turn that on and the problem should go away.
Various ways to do this. Here's one.
http://www.blackhornettechnologies.com/Construct2Stuff/TimedFire.capx
Start with an initial delay, that offsets the firing, then switch to the firing period.
Member since 28 May, 2012