# How do I Race position

Get help using Construct 2

### » Mon Mar 09, 2015 9:59 pm

I'm making a racing game, and I need to put on the cars the positions of the race and if possible the difference between two cars. Someone has a help for me?

example:
P1 - Car Name
P2 - Car Name
P3 - Car Name
P4 - Car Name
P5 - Car Name
B
6
Posts: 20
Reputation: 314

### » Mon Mar 09, 2015 10:04 pm

Playable games:
http://jamesxxxyz.newgrounds.com/
Latest update: Blue and red arrows

What you want in C3?
viewtopic.php?f=146&t=122050

B
11
S
4
Posts: 281
Reputation: 1,543

### » Mon Mar 09, 2015 11:18 pm

Not this! It is the creation of the table with the placement of the race.
B
6
Posts: 20
Reputation: 314

### » Tue Mar 10, 2015 12:24 am

viewtopic.php?f=178&t=118091&p=848938&hilit=race#p848938

On a granular level you could just count laps. A little less granular would be to count checkpoints. In the above it also incorporates the distance to the next checkpoint on top of the number of checkpoints passed.

The only major math used finds the distance to a line instead of a point.
B
82
S
26
G
62
Posts: 4,830
Reputation: 45,200