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
I'm just wondering how I can set the variable of a instance before it is created? I'm creating a bullet and I want to set its target destination before it runs its OnCreate script
Develop games in your browser. Powerful, performant & highly capable.
Just create the instance with the wanted number, text, etc, then, when creating the bullet, for example, set the bullet to meet the instance data.