Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.
Develop games in your browser. Powerful, performant & highly capable.
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.
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?