Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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
I want to create a function that create/spawns a bullet at the location of a given UID. Being able to pass and use a reference to an object would be extremely useful.
Develop games in your browser. Powerful, performant & highly capable.
You can already do that by passing the UID as a parameter to the function, then using 'Pick by UID' to pick the instance again inside the function.
Thanks Ashley. I found that after I posted but wanted to try and use it with a family filled with all objects before I posted a solution. Still haven't had a chance to test it but I will post my capx if it works.