ive been making a car racing type game, and ive managed
designing the levels, made character, added if (Key.isDown(Key.
-x-)
statmentsd to move down and up and ive added rotation for
left and right…
it all works perfect ( no syntax errors)
but when using up and down keys it uses the default north and
south.. i want to know how to get it going forward and back but the
way the car is actually facing….. i need to make the car move
( up/down/rightrotate/left rotate) the way he is looking at that
moment... how do i set where the front and the back is... plz help

ac online wrote:
> ive been making a car racing type game, and ive managed
designing the levels,
> made character, added if (Key.isDown(Key. -x-)
> statmentsd to move down and up and ive added rotation
for left and right?
> it all works perfect ( no syntax errors)
> but when using up and down keys it uses the default
north and south.. i want
> to know how to get it going forward and back but the way
the car is actually
> facing?.. i need to make the car move (
up/down/rightrotate/left rotate) the
> way he is looking at that moment... how do i set where
the front and the back
> is... plz help

Start with the car facing right, this is 0 degrees in flash.
Now, when
the right or left arrow are pressed and you get the car to
rotate you
need to keep track of what angle it is facing.