Hey guys,
I have a sprite at the bottom of the page pointing up and would like to have it rotate to where the mouse cursor is pointed at. i'm not sure i explained this correctly so i'm attaching the capx. Thanks
dl.dropbox.com/u/13810427/Shooter.capx
See the basic tutorial. There de player sprite is always directed to the position of de mausepointer.
Develop games in your browser. Powerful, performant & highly capable.
See the basic tutorial. There de player sprite is always directed to the position of de mausepointer. Demo Ghost Shooter on the site..
+System Every Tick - Sprite set angle toward position (X: Mouse.X and Y: Mouse.Y)
Yeah figured it out, had to rotate image before running construct.