Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-24-2005, 09:36 AM   #1
slee
Registered User
 
Join Date: Nov 2003
Posts: 20
Default making a car game

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?

slee is offline   Reply With Quote
Old 03-24-2005, 02:52 PM   #2
webguy
Registered User
 
webguy's Avatar
 
Join Date: May 2003
Location: west palm beach
Posts: 1,650
Send a message via ICQ to webguy Send a message via AIM to webguy
Default

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
webguy is offline   Reply With Quote
Old 03-24-2005, 05:23 PM   #3
emergency_pants
Today I smell of toast
 
Join Date: Dec 2002
Location: London, UK
Posts: 1,031
Default

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.
Attached Files
File Type: zip tankytankytank.zip (8.5 KB, 317 views)
__________________
Cheers,

Simon.
emergency_pants is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.