The Daily Click ::. Forums ::. Klik Coding Help ::. Slick N Slide stylish game in TGF...
 

Post Reply  Post Oekaki 
 

Posted By Message

EleXor



Registered
  21/01/2003
Points
  269
7th June, 2004 at 15:40:22 -

Ok, I have started to do game like this for my brother because he enjoys games like that and I have done now accelerating and deceleration, also turning. It would be nice if someone would tell these things:

1. How you do like that it would count when you count one lap and you couldn't cheat like just going it again and again the finish line.

2. How you make the cars to "slide" when you turn...

3. How about skitching marks (when decelerating??)



 
n/a

Arf :: FPP Games



Registered
  15/05/2002
Points
  1364
7th June, 2004 at 16:18:36 -

1. One way to do this is to work out the distance the player has gone, by adding the car's current speed to a counter every 1/50th of a second. Then make sure that when they collide with the start/finish line that the distance they have travelled is greater than a minimum value which you set, and then set their distance back to zero.

2. This is more complicated, and will depend on your engine. Tigerworks has a good example on his website:
http://www.tigerworks.co.uk/mmffiles.asp

3. This is also shown in Tigs' example. Basically you just need to paste an active object into the background when decelerating.

 
n/a

Tina Petersen



Registered
  19/09/2003
Points
  350
7th June, 2004 at 16:28:37 -

u post checkpoints! simple as that
can be done using hidden actives or using grid!
make sure player touches the active in right order to get to goal!

 
- Eternal Life, Or Your Money Back -
http://www.befun.dk/
Currently looking for a home (team)

Kramy



Registered
  08/06/2002
Points
  1888
8th June, 2004 at 14:05:52 -

Yes, all the professional games have multiple checkpoints on every lap. It seems like that's the way to go.

 
Kramy

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
8th June, 2004 at 19:48:08 -

Arf's way can still be buggy if the player decides to drive around in a circle.
But on another note, Arf's way saves you objects and memory.

Image Edited by the Author.

 
http://www.klik-me.com

EleXor



Registered
  21/01/2003
Points
  269
11th June, 2004 at 09:22:01 -

Didn't I say TGF?

 
n/a

Rhys D

Please enter a custom rating

Registered
  02/01/2002
Points
  162

Has Donated, Thank You!VIP MemberIt's-a me, Mario!Wii OwnerMushroomStrawberrySweetieCardboard BoxOrangeAttention Getter
I am an April Fool
12th June, 2004 at 02:00:47 -

Use checkpoints, as two people have already stated.

 
http://www.rhysd.com

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
12th June, 2004 at 06:17:40 -

I dunno, maybe try using checkpoints?

 

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
12th June, 2004 at 08:49:44 -

0mg Buster joo 1337 h4xx0rring Know-It-all! Where did you get that idea?

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
12th June, 2004 at 10:51:05 -

I dunno, but adding checkpoints is a great idea, you should try it

 
n/a
   

Post Reply



 



Advertisement

Worth A Click