I was looking for how to do something like the gun movement in this game youtube.com/watch ( here is the vid ) and I was wondering how to do it. any help would be greatly appreciated
Develop games in your browser. Powerful, performant & highly capable.
It's very easy. Set the origin image point in the Gun sprite:
Add Mouse object and this event:
On Every Tick: Gun set position to Player Gun Set angle toward position (Mouse.X, Mouse.Y)