GithubHelp home page GithubHelp logo

defensemania / defense-mania Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 2.0 7.31 MB

๐Ÿน crossplatform tower defense game built with processing.

License: MIT License

Processing 98.56% HTML 0.81% JavaScript 0.31% Shell 0.32%
processing android game cross-platform tower-defense linux mac-osx windows

defense-mania's Introduction

defense mania

A crossplatform tower defense game built with processing.

Donations

If you like Defense Mania and want to support further development of software like this, buy me a beer by donating via PayPal. <3

Installation

Windows, Linux, Mac OSX: Download the latest release for your platform from here.

Android: Download the latest release from here or install it from the Google PlayStore.

Web/Browser: Just start the game here.

Prerequisites

  • Java (JRE) is required to run the native Windows, Linux and Mac OSX versions.
  • Android 2.3.3 Gingerbread is required to run DefenseMania and at least 256-512 MB of RAM.
  • Your Browser should support the canvas element.

How to play the game

  1. Click on "Start", choose a map, a difficulty and start the game.
  2. Click anywhere on the map to build a tower. The hammer icon on the bottom left shows green areas where you can build towers.
  3. When you build the first tower, the game will start.
  4. Build towers to prevent the "enemies" from reaching the end of the path.
  5. Click on a tower to upgrade, sell or repair it. Selling a tower gives you about 80% of the money you paid for it in the first place.

Windows, Linux, MacOSX: Navigation on the map holding your right mouse button. Zoom in with your mouse wheel.

Android: Drag to navigation the map, pinch to zoom in.

Web/Browser: Navigation on the map holding your right mouse button. Zooming is disabled.

Contribute

Game

prerequisites
getting started
  • Download and install everything above
  • Install Android SDK API Level 10 Platform & Build-tools Rev. 19.1
  • The game was built on Processing 2.03b and won't run on the current version of Processing. We will hopefully fix that soon.
  • Get the source: git clone https://github.com/kriskbx/defensemania.git
directory structure

DefenseMania is splitted into 3 parts: desktop application and android application, browser/web application. They share most of the code. The shared code is located in src/shared as well as all the assets. Everything is symlinked (relatively) into the 3 parts of DefenseMania. If you want to recreate the symlinks, run ./src/symlinks.sh.

build it
  1. Desktop: open the desktop project in processing and export the application.
  2. Android: open processing, export the android project from the file menu, run cd src/android && ant, this will create the file src/android/application.android/DefenseMania-unsigned.apk.
  3. Browser: run cd src/browser && ant, this will create the compiled and minified project in src/browser/application.web.

Maps & Map Editor

  1. Download the DM Map Editor from here and read how to use it.
  2. You can submit new maps via pull-requests in this repository.

Graphics

Take a look here.

defense-mania's People

Contributors

kriskbx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.