Synth-Way is a retro-style 3D car game written in Raylib C++.
Your goal is to drive your car along a procedurally generated road, avoiding traffic to collect points.
This project was created only for learning purposes.
- Endless highway with real-time curves.
- Traffic generation and collision handling (
TrafficManager+TrafficCar). - Roadside objects: traffic lights, billboards (
AssetManager). - Number display, countdown timer, and GameOver animations.
- HighScore system in
.binfile (HighScoreMaker). - Fading, menu, and game states (
MenuState,PlayState). - Sound effects and music.
- Multi Platform (Windows, Linux).
To build and run Synth-Way, you'll need the following:
-
C++ Compiler
- Windows: Visual Studio 2022 (MSVC) or MinGW
- Linux:
g++orclang++
-
CMake (>= 3.16) – used to generate the build system.
-
Raylib – the game framework. Install depending on your OS (link).
- Clone the repository:
git clone https://github.com/BeagleBasset/Synth-Way.git
cd Synth-Way- Create a build directory and navigate into it:
mkdir -p out/build
cd out/build- Generate build files with CMake:
cmake -DCMAKE_BUILD_TYPE=Release ../..- Build the project:
cmake --build . --config Release- The executable will be located in:
-
Windows: out/build/Release/Synth-Way.exe
-
Linux: out/build/Synth-Way
- Run the game:
./Synth-Way # Linux
Synth-Way.exe # WindowsNote: High scores are automatically generated by HighScoreMaker during the build.
On Windows you can build using Visual Studio easily.
- Arrow Keys: Steer the car left/right.
- Up Arrow: Accelerate.
- Down Arrow: Brake.
- In the Menu, use Enter to select options.
-
Fonts
- Road Rage Font by Youssef Habchi – used for menus
- Games Font by Vladimir Nikolic – used for in-game
- Default Raylib font for other texts
-
Graphics, Sounds & Music
All sprites, textures, sound effects, and music tracks are original creations by the developer.
