PDA

View Full Version : making a car game


slee
03-24-2005, 09:36 AM
how do make a car game so if i makea track which is much much bigger than the screen when the car moves around the track teh window moves around the track?

ive buily myself a simple game with teh track being the size of the screen but i want to have a bigger track how do i go about this?

:)

webguy
03-24-2005, 02:52 PM
well, since the screen can't move - your going to have to move the track itself. Personally I would not build an entire track, I would build a set of tiles that have peices of road on them. Then you can control the location of the car on the tile to make sure it stays in the road. I am picturing an old 80's game called SpyHunter, and the car never really moves (side to side and back and forth a little) but what is actually moving is the street beneath the car.

webg

emergency_pants
03-24-2005, 05:23 PM
I posted this on a thread a little while ago, maybe it will help.

it shows a tank movement (tweak the numbers to make it more like a car!) and you can toggle either moving car or moving road by pressing the control key.