Im trying to make a roguelike game in Construct 3 and I want the bullet to shoot in the direction of the mouse cursor but I can't figure out how. Can somebody help me?
Develop games in your browser. Powerful, performant & highly capable.
on click:
Spawn bullet
Bullet - set angle of motion to angle(gun.x,gun.y,mouse.x,mouse.y)
or if your gun is already always pointing towards the mouse just use the spawn bullet action and the angle of motion is inherited from the gun object.
thanks i figured it out myself though