PDA

View Full Version : [AS3] Background scrolling help.


JonnyG
04-14-2009, 07:28 PM
Hi everyone, I need some help with a game I am trying to make. Basically I am making a top down view of a driving game (think GTA 1 or 2) and what I want to do is have the car move up to the centre of the stage and then have the background scroll down behind it with every arrow key press.

I get completely lost when it comes to action script so if someone can provide for me a tutorial on how to program it or some code for me to use I would appreciate it.

aaron_da_killa
04-15-2009, 01:32 AM
I suggest you read up about ActionScript 3.0 a bit first as what you want to do is very simple and other problems you will have are more complex.

But basically what you do is instead of moving the car, you move the rest of the world to make it look like the car is moving.