Coder Social home page Coder Social logo

rustinvaders's Introduction

Build Status

Rustinvaders

This is a simple 3D game written in Rust, and inspired by the arcade classic Space Invaders. This was created purely for fun while taking my first steps in graphics and games programming. It uses the extremely handy Kiss3D engine.

Obligatory screenshot

Screenshot of the player's ship (grey cone) firing a bullet (red sphere) at waves of green aliens, which explode when hit, while avoiding the invaders' bombs (green spheres)

Building

I recommend building this in an official Debian-based Rust Docker container with the following extra packages installed: xorg-dev libglu1-mesa-dev

Make sure you have the above in place, checkout this project's code from GitHub, compile, and run using:

git clone https://github.com/diodesign/rustinvaders.git
cd rustinvaders
cargo run --release

Playing

Press z to move to the left, x to go right, Return to fire. You can only have one bullet on screen at a time: that's a deliberate restriction to keep the gameplay faithful to the original. The aliens also drop bombs, and speed up as you destroy more of them - again, like the original. If you're hit by an alien or one of their bombs, you'll lose a life. You have three lives until it's game over. If the aliens manage to get below your ship, it's immediately game over.

Feedback

This is a work in progress - there are many little things to add and improve. If you have any suggestions, patches, complaints, etc, then submit an issue or pull request, or try emailing me. Cheers for taking an interest.

rustinvaders's People

Contributors

diodesign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gitter-badger

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.