How do i get a cannon like object to fire its projectile at my character when he gets within range?
https://www.scirra.com/manual/152/turret
The cannon needs to remain stationary. And just fires the projectile at the character who has to jump over the projectile.
Develop games in your browser. Powerful, performant & highly capable.
The turret behavior can do that.
Alright. So what properties/behaviors am i suppose to give my projectile?
The projectile? Whatever you want to achieve? Collision events can trigger anything from a loss of life on a life bar to a game over - it would depend on your game.
Alright. I well i didn't know rather or not you needed to make your own projectile or not. I assumed so.