Git Product home page Git Product logo

asteroidsplusplus's Introduction

AsteroidsPlusPlus

An Asteroids clone written in C++ and OpenGL.

Play the Emscripten build here.

Motivation

The motivation for this project came from this YouTube comment:

Asteroids is a simple enough game that many programmers would have worked as a programming exercise, similar to snake, or tetris. My clone wanted to do something different, at least on the graphical fidelity.

Gameplay

Use arrow keys / WASD to move the ship around (WS or Up/Down will thrust the ship forward and backward, A/D and Left/Right will change direction), space to shoot a projectile.

Build

It uses the following libraries:

  • SDL2
  • SDL2_GPU
  • SDL2_Mixer

The Windows version can be built with VS2022, for Linux and Emscripten, build scripts (build-linux.sh, build-em.sh) are provided.

Credits

  1. MB Music for "Game Over" Theme
  2. 8bitbrothers for "Moonlight Sonata, 3rd Movement"

asteroidsplusplus's People

Contributors

relativisticmechanic avatar

Stargazers

Soumen Pradhan avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.