Skip to content
SDL2 desktop game example - Simple, lightweight, multi-platform, GNU C, Make
C C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Library/Frameworks
assets
bin
depend
dist
include
logs
src
.gitignore
LICENCE
Makefile
README-SDL.txt
README.md
SDL2.dll

README.md

Basic SDL2 Game Example - Asteroids-like - 1.0

About

  • A simple, lightweight, multi-platform, GNU C, Make, and SDL2 desktop game
  • Official title Naquadah Asteroids is a simple 2d space ship game where the goal is to destroy as many asteroids as possible

Installing and Running the game

Build the software

make

Or download precompiled build

GNU/Linux

Windows

OS X

Run the game

./star

Note that Linux needs to package install the SDL2 library such as:

sudo apt-get install libsdl2-dev

Game Controls

Move

Up, Down, Left and Right arrows, or wasd keys

Shoot

Spacebar or 0

Pause

p key

Exit

Escape key

Screenshots

alt tag

You can’t perform that action at this time.