Opened 16 years ago

Closed 16 years ago

#122 closed enhancement (fixed)

Make race starting points definable

Reported by: Henrik Heimbuerger Owned by: Henrik Heimbuerger
Priority: major Milestone: MS1: First release (1.0.0)
Component: track Version: pre-1.0
Keywords: Cc:

Description

Currently, all cars start on track section 0, step 0, placed on separate lanes.

The starting positions of all cars should be defined on the finishing straight tile (or in the track?) and the TilesetRepository has to parse that data. Then, CarPosition.reset() can be updated to use that information.

Change History (8)

comment:1 Changed 16 years ago by Henrik Heimbuerger

Owner: changed from nobody to Henrik Heimbuerger
Status: newassigned

comment:2 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [385]):
[Partial fix for ticket #122] Added support for definable starting points.

So far, the starting points can only be defined on the initial tile, using <startingPoint> and specifying a lane index and a step count.

comment:3 Changed 16 years ago by Henrik Heimbuerger

To do: collect the starting points from *all* tiles in Track.getStartingPoints() and use them in the right order.

comment:4 Changed 16 years ago by SVN

New commit by spapadopoulos (revision [387]):
[Fix for ticket #122] added the starting points for the digital and analogue tiles

comment:5 Changed 16 years ago by SVN

New commit by froth (revision [388]):
[Related to ticket #122] Added validation count players against starting points on track

comment:6 Changed 16 years ago by SVN

New commit by spapadopoulos (revision [400]):
[Fix for ticket #122 #133] changed the starting points for the digital tile. i calculated the coordinates for the visualization for the checkpoints.

not referenced to a ticket: i deleted needless tile pictures. i customized the analogue track. i deleted the needless digital track.

comment:7 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [496]):
[Partial fix for ticket #122] A track can now contain multiple tiles with starting points.

All starting points will be combined by Track.getStartingPoints(). The initial tile will have the last starting points. (It would be more natural to have the additional starting points behind the finishing straight, but that would raise a lot of problems with counting laps, as right now laps are counted right behind the finishing straight.)

So far, only the debug tileset contains a tile with additional starting points.

comment:8 Changed 16 years ago by Henrik Heimbuerger

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.