Giter Club home page Giter Club logo

tank_island's Introduction

Tank Island

Tank Island is an open source 2D top down shooter game that was created with Ruby using Gosu game development library while writing this book.

Are you a game developer?

I am building an online community portal for indie game developers.

You can list your own projects in there, for free: Game Hero

Screenshots

Tank Island Game

Tank Island Game

Gameplay video on YouTube

Book: Developing Games With Ruby

Complete process of building this game is described step by step in this free to read book:

Developing Games With Ruby

Installation

Before installing, make sure you have:

  • Ruby installed, preferably through rbenv, not rvm.
  • ImageMagick (gem install rmagick should work).
  • Gosu prerequisites for Mac, Linux or Windows

To install it, run

$ gem install tank_island

Starting the game

There are several ways to start the game.

Running in 800x600 window mode

$ tank_island

Running with custom resolution

$ w=1600 h=1200 tank_island

Running full screen with custom resolution

$ fs=1 w=1200 h=800 tank_island

Controls

Gameplay

  • W A S D moves your tank.
  • Mouse left click shoots.
  • ESC goes into menu and away from it.

Debugging

  • R respawns your tank.
  • T spawns an enemy tank under mouse cursor.
  • F1 enters debug mode.
  • F2 toggles profiling

tank_island's People

Contributors

spajus avatar

Watchers

James Cloos 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.