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
How do i make the enemy shoot at player position in every angle, and use a animation, for example
Angle 1
Angle 2
Angle 3
Angle 4
I'm new in this engine, and i dont know how to do some things, is there any solution to this?
Develop games in your browser. Powerful, performant & highly capable.
On some condition > Tank>Spawn Bullet
____________________________>Bullet> angle(self.X, Self.Y,Target.ImagePointX(0),Target.ImagePointY(0))
The Target being the guy with the gun and the Bullet having the bullet behavior.
On some condition > Tank>Spawn Bullet ____________________________>Bullet> angle(self.X, Self.Y,Target.ImagePointX(0),Target.ImagePointY(0)) The Target being the guy with the gun and the Bullet having the bullet behavior.
But how i make the tank rotate to the player using different sprites/animations
You can define the animation of the turret ( or barrel and turret ; depends on your animations and yours sprite ) depending on the angle that there is between the tank and the target.