Skip to content

A clone of the classic Atari's Asteroids game, developed using C++ and the Raylib library.

License

Notifications You must be signed in to change notification settings

claitz/AsteroidsCPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

A clone of the classic Atari's Asteroids game, developed using C++ and the Raylib library.

Features

  • Menu
  • Settings
  • Endless Gameplay
  • Pause
  • Sound Effects
  • Music
  • High Score

Controls

  • W/A/S/D or Arrow Keys: Move
  • Space: Shoot
  • Esc: Exit/Pause
  • O: Options
  • R: Restart
  • Enter: Select

Building

Prerequisites

  • C++ Compiler with C++11 support
  • Raylib library (fetched automatically by CMake)
  • CMake (3.11 or higher)

Windows

  1. Clone the repository
  2. Install a C++ compiler, such as Visual Studio, MinGW, or Cygwin.
  3. Install CMake
  4. Open a terminal and navigate to the repository folder
  5. Run:
    mkdir build
    cd build
    cmake .. -G "Visual Studio 16 2019"  # Replace with your compiler
    cmake --build . --config Release
  6. The executable will be in build/Release/

Linux

  1. Clone the repository
  2. Install the required packages:
    sudo apt-get install build-essential cmake libraylib-dev
  3. Open a terminal and navigate to the repository folder
  4. Run:
    mkdir build
    cd build
    cmake ..
    make
  5. The executable will be in build/

Screenshots

AsteroidCPP Gameplay

AsteroidCPP Main Screen

AsteroidCPP Screenshot

License

MIT License

About

A clone of the classic Atari's Asteroids game, developed using C++ and the Raylib library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published