Hi everyone!
I'm trying to make a cannon (that is fixed at the bottom of the screen) to shoot an object towards a surrounding sight, without using the MoveTo behavior, just by using Construct 2 commands.
What better way to do this?
Thank you!
You can set Angle of Motion in your bullet is angle(cannon.X, cannon.Y, crosshair.X, crosshair.Y)
When you create the bullet.
Develop games in your browser. Powerful, performant & highly capable.
You can set Angle of Motion in your bullet is angle(cannon.X, cannon.Y, crosshair.X, crosshair.Y) When you create the bullet.
Which of the two commands should I use: Move at Angle or Move forward?
Thanks!
You are using Bullet behavior, right?
If you are not using Bullet behavior, you can use move at Angle but you should put it in every tick.
With Bullet behavior you only do once right after you created it.