Hi guys.
I want to create an array for every enemies i create on start of layout.
To be more correct: I want link the array to the sprite using the sprites UID as unique name.
Use an instance variable, put the UID in that.
Or put the sprite and array in a container so that when you pick (and create) the sprite the correct array is also picked.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for answering mate.
I did try using instance variables, but for what reason it does not work all the time.
I have not tried containers but can i use containers on runtime creation?