Page 1 of 1

how do you make the actor rotate with with the mouse

PostPosted: Mon Sep 04, 2006 12:22 am
by totalnoob
an actor, "Bob" can move up down left right and diagonaly but only faces one direction and shoots one direction i would like to know how i could make him rotate following the mouse and shoot in the direction he is facing at all times.
Thanks -total noob :D

PostPosted: Mon Sep 04, 2006 12:57 pm
by makslane
You need to have prerotated images.

Look the Asteroids demo:
http://game-editor.com/games/asteroids.zip