/RaceTrack

Prototype for a random race track generator, using gridmaps

Primary LanguageGDScriptMIT LicenseMIT

Wavefunction Collapse, made in Godot Engine

IMAGE ALT TEXT HERE

Prototype for a random race track generator, using gridmaps

Check out our published games: https://pawn-games.itch.io/ #godotengine #indiegames #indiedev

What this project got so far:

  • The process is documented on the code comments, did the best i could to try and explain it.
  • Tile analysis and rule generation, considering y axis rotation
  • Generator using rules for seamless connections (still some problems but almost ok).

Future prospects:

  • Using the algorithm to generate seamless closed paths for a race track generator.

Theory and more information about the algorithm:

https://robertheaton.com/2018/12/17/wavefunction-collapse-algorithm/

https://www.procjam.com/tutorials/wfc/

https://www.boristhebrave.com/2020/04/13/wave-function-collapse-explained/