Skip to content

BeagleBasset/Synth-Way

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synth - Way

Synth-Way Gif

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.

Features

  • 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 .bin file (HighScoreMaker).
  • Fading, menu, and game states (MenuState, PlayState).
  • Sound effects and music.
  • Multi Platform (Windows, Linux).

Required Tools

To build and run Synth-Way, you'll need the following:

  • C++ Compiler

    • Windows: Visual Studio 2022 (MSVC) or MinGW
    • Linux: g++ or clang++
  • CMake (>= 3.16) – used to generate the build system.

  • Raylib – the game framework. Install depending on your OS (link).

Building and Running

  1. Clone the repository:
git clone https://github.com/BeagleBasset/Synth-Way.git
cd Synth-Way
  1. Create a build directory and navigate into it:
mkdir -p out/build
cd out/build
  1. Generate build files with CMake:
cmake -DCMAKE_BUILD_TYPE=Release ../..
  1. Build the project:
cmake --build . --config Release
  1. The executable will be located in:
  • Windows: out/build/Release/Synth-Way.exe

  • Linux: out/build/Synth-Way

  1. Run the game:
./Synth-Way      # Linux
Synth-Way.exe    # Windows

Note: High scores are automatically generated by HighScoreMaker during the build.

On Windows you can build using Visual Studio easily.

Controls

  • Arrow Keys: Steer the car left/right.
  • Up Arrow: Accelerate.
  • Down Arrow: Brake.
  • In the Menu, use Enter to select options.

Assets Used

About

Retro-style 3D car game written in Raylib C++.

Resources

Stars

Watchers

Forks

Packages

No packages published