Hey,
Where can I declare in runtime.js, a variable which will be incremented in order to be used for instance creation. I would like to be able to assign an incremented ID to each instance...
Thanks for helping
How about using the UID? inst.uid is exactly that, a number Construct 2 assigns to each instance on creation which increments by 1 each time.
Develop games in your browser. Powerful, performant & highly capable.
hey thanks ashley, I'll take a look