I'm trying to get my head round doing the following set of actions using Construct 2. Could anyone lend me a hand :)
I have a global var moveID.
I increment this every time a move command is issued (like press right etc).
I also add this value to a one dimensional array using [moveID] as the index and then the move value.
What I want to be able to do, is take any moveID (let's say 100) and the array has values for example to 150. Loop from 100 to the end, extracting the values and adding them to another variable.
Then delete all the indexed values we just looped through.
You can use the Array.Delete call. This deletes as you go.
Develop games in your browser. Powerful, performant & highly capable.
Thanks but I couldn't download the capx - free hosting 404 page.