Skip to content

SDL2 desktop game example - Simple, lightweight, multi-platform, GNU C, Make

License

Notifications You must be signed in to change notification settings

jakebesworth/SDL2-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

SDL2 desktop game example - Simple, lightweight, multi-platform, GNU C, Make

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published