Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Gaming and Game Development

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-17-2002, 09:15 PM   #1
b16a2
Registered User
 
Join Date: Apr 2002
Location: Nanaimo, BC
Posts: 7
Send a message via ICQ to b16a2 Send a message via AIM to b16a2 Send a message via Yahoo to b16a2
Default Racing game!

Hi guys! As you can see by my post count, I am new to the forums... i am working on a racing game for my IT class, and I am running into problems. I am about 75% completed the game, Everything up until the crashing works. Even then, I have it to detect collisions and if I go off the road, or hit a car, it'll play the appropriate MC.

I want it so that at the end of the crash clip, that it will send it to the next scene ("YouDied") so that the player will eventually have the option to re play the game.

I have attached a copy of the FLA. I am thinkinging that it's probably pretty messy, so I'll declare some of the variables, and instance names and placements for you!

- Mouse/Car Movement: Controller MC (Instance Name: controller)

- Collision Detection and Traffic Spawning: Randomizer layer

- Player's car: PlayerCar layer, (Instance Name: car)

- Car Crash movie: PlayerCrash MC

- Car hitting side of the road: CarDitch MC


Thank you VERY much in advance for your help!
Attached Files
File Type: zip race2.zip (27.4 KB, 220 views)
b16a2 is offline   Reply With Quote
Old 04-18-2002, 04:48 PM   #2
b16a2
Registered User
 
Join Date: Apr 2002
Location: Nanaimo, BC
Posts: 7
Send a message via ICQ to b16a2 Send a message via AIM to b16a2 Send a message via Yahoo to b16a2
Default

TTT,

C'mon guys, I know there are people who are VERY capable of helping me...

It's just a problem with my code somewhere...

I can't stop the mouse from tracking the car, because it is a loop that will not stop. I don't know the code that it takes to get a 'for loop' stopped.

There's that, and I just need to know why I can't get the scene to switch to scene two (YouDied) so that I don't have to worry about the problems that I had in Scene 1 where the movie keeps looping the black fade...

I've got the appropriate coding at the end of the crash movies.

gotoAndPlay ("YouDied",1);

but so far it hasn't done anything more than loop the movie again.

I tried making it so that it would do the same thing, but on scene 1 frame 5 (where I had a frame with a "You Died" screen), needless to say, it still didn't work.

I thought it might be because it wasn't reaching the end of the movie, but I am sure it does. Just to make sure, I tried that coding at the beginning of the frame. A "stop ();" function worked, but I couldn't get it to jump a scene.

Please help me out with this, it's due on Friday, and if it's still this buggy, I am not going to get the marks I want. This is something I don't think I can get out of a book, this is something that takes someone who knows what they're doing to look it over and debug it!

Thank you once again in advance for any help that anyone can offer me!

Thank you.
b16a2 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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Making A Racing Game TheGreatOne ActionScript 2.0 2 07-21-2005 02:49 PM
AI for a racing game TheGreatOne ActionScript 2.0 2 02-08-2005 03:57 PM
racing game dee19802000 Gaming and Game Development 1 10-13-2003 11:49 AM
::: making boundaries for racing game ::: Dysenterycal182 Gaming and Game Development 2 10-02-2003 09:01 PM
Racing Game! feel free to BURN SOME RUBBER.. Ivar Site Check 8 05-21-2002 08:54 AM


All times are GMT. The time now is 12:19 PM.


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.