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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I need to change the sprite position to another position that has a specific variable value. I built a simple example.
*** I would like something as I coded.
Thanks in advance for any help.
https://www.dropbox.com/s/e739plthcxues ... .capx?dl=0
I'm not really sure what you want to do, but because event 7 is a subevent of event 6, it can never be true..
A the variable turn can't be 1 and 2 at the same time..
I need to move the sprite2, when it collide with the sprite with the turn variable = 1, to the same position of sprite that has the turn variable =2. In the event 6 I thought that I'm checking if the sprite has a variable with value 1.
Develop games in your browser. Powerful, performant & highly capable.
Then you should first pick all sprite instances before trying to pick one with a different variable..
As you should know, a subevent continues with the sprites picked in the event above..
I understood now. Thank you.