Hi! I just started up a new project. A platform shooter game. I created a player with a weapon but,
right now i can only aim at the same place while shooting. So now i wonder if it's possible to create a sprite who follows the mouse pointer?
Sry for bad english.
Spelling mistakes for free!
Example of game: http://www.totaljerkface.com/divine_intervention.php
Always: set angle of sprite to mousex
set angle of sprite to mousey
You can make the arm a seperate sprite. Sprite=set position to player at image point 1 (where the arm should be duh) and say its angle to mouseX and mouseY. On click make BULLET
Develop games in your browser. Powerful, performant & highly capable.
Here. I made a cap for you just incase.
(Now this is just basic you must add animations etc. . .)
HOPE IT HELPS!
http://dl.dropbox.com/u/7605789/LikeThis.cap