Skip to content

An Asteroids clone, that I wrote a while ago, written in C++ using SDL and OpenGL

License

Notifications You must be signed in to change notification settings

MisanthropicBit/sdl_opengl_asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids clone in C++, SDL and OpenGL

A remake of the classic Asteroids game, but with a twist: Your plasma gun slices asteroids in halves!

An old project I made for learning SDL and OpenGL. Asteroids are sliced into two new asteroids instead of breaking into two smaller, similarly shaped asteroids as in the original Asteroids game.

This project is also hosted on Google code.

Controls

  • [UP] : Thrust forward in facing direction
  • [LEFT] : Rotate left
  • [RIGHT]: Rotate right
  • [x] : Shoot
  • [d] : Toggle debug lines
  • [w] : Toggle wire-frame mode
  • [ESC] : Return to main menu

Dependencies

This game requires SDL, SDL_image, SDL_mixer and OpenGL.

Media

Here's a short YouTube video of the game, and some screenshots:

image

Opaque game mode:

image

Wireframe game mode:

image

About

An Asteroids clone, that I wrote a while ago, written in C++ using SDL and OpenGL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages