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 my turret to try to be at the same altitude as the plyer by moving up and down. It should after 2 seconds stop moving and shoot.
Here is my event sheets. The problem is that the the turret just moves to the ground and never shoot instead of moving up and down according to the player and shooting sometimes. Why does it do this?
Develop games in your browser. Powerful, performant & highly capable.
you are setting the vectorY of the movement to the y-position of the sprite..
so if the sprite is at y=205 the 8direction will move 205px down per second..
You are alos setting the timer 650 to restart every tick, so it will never end,