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 wish to dynamically generate sprites at either left or right side of the screen. I know this can be done by putting an expression.
Question is, based on where it was created I need to set certain values to that instance's variable. How can I do this ?
Every time I create an instance, I wish to set values to that instance. Like speed/direction etc.
So, how I can reference the newly created item to set these values ?
Develop games in your browser. Powerful, performant & highly capable.
You just need to set these values in the same event right after creating the object. Construct picks that object automatically
Every 2 seconds >