Hi, I am trying to make a car game, but my car movement is
mucked up and I'm not sure why. It also needs brakes and
acceleration. I am really a noob to actionscript and any help would
be much appreciated.
Attach this code to a movieclip of some sort.
I would suggest changing your approach slightly - in
conjunction with what kglad has recommended here - and add a
velocity component and another conditional statement to apply the
friction reduction - I would also add a heading component as well,
as for further control, but using the rotation value will work.
more like this:
xaxaxax! yea, i guess soo... but he's probably given up by now... or maybe he made it, there are a lot of usefull tuturials on youtube, and a lot of sites with flash tutorials like flash kit, and those can come in handy...