ScanuNicco / Boat-Race

A boat racing game
0 stars 0 forks source link

Track system #15

Open zorbulator opened 5 years ago

zorbulator commented 5 years ago

Currently, the tracks are distinguished by their name, which has a few problems:

To fix this and make the code simpler, there should be an array of objects for the locations, each containing at least a name and array of track objects, which each would have checkpoints, ONE model, textures, maybe a name, etc. This way we could more easily edit and add tracks, and the track selection system could use it in order to make the track selector automatically add new tracks.

zorbulator commented 5 years ago

This is important because we are adding tracks now and it will be easier to make a track system before we set up the tracks with a bad system

zorbulator commented 5 years ago

The way we have it now works fine, this is still something we could do but it's not super important. We could at least have the name of the track be for example San_Francisco and then have it get the file sanfrancisco.obj and display San Francisco by changing the string a little