Racing Game: How to implement the track

Hello,

I’m thinking of making a racing game. At the moment I have no proper idea how to implement the track(s).

However, is there a method which could be recommended? I’ve got a few ideas (but don’t know which one would be best).

  • saving the complete track as graphical file e.g. JPG
  • saving the track in several parts (jpg)
  • constructing the track from tiles (also jpg)
  • creating the track at random with graphical classes from Java2D

I’m curious how you would solve this proble (or had solved this problem in a project).

Thx.

Ralf

I forgot to mention: The track should scroll from top to bottom. :slight_smile:

Impirtant detail there :slight_smile:

For a top down scroller, to get the nciest looking result, Id do the tack as tiles. It coudl either by traditional tiny-tiles or
big hunks of track, but one of those woudl be my preference.

One of the ncie thing about smal ltiles is you can make your tile map and you blocking map the same data. It also
means you cna put little road hazards and such on the road.

Good Luck!

JK