A crossplatform tower defense game built with processing.
If you like Defense Mania and want to support further development of software like this, buy me a beer by donating via PayPal. <3
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.
- 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.
- Click on "Start", choose a map, a difficulty and start the game.
- Click anywhere on the map to build a tower. The hammer icon on the bottom left shows green areas where you can build towers.
- When you build the first tower, the game will start.
- Build towers to prevent the "enemies" from reaching the end of the path.
- 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.
- 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
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
.
- Desktop: open the desktop project in processing and export the application.
- Android: open processing, export the android project from the file menu, run
cd src/android && ant
, this will create the filesrc/android/application.android/DefenseMania-unsigned.apk
. - Browser: run
cd src/browser && ant
, this will create the compiled and minified project insrc/browser/application.web
.
- Download the DM Map Editor from here and read how to use it.
- You can submit new maps via pull-requests in this repository.
Take a look here.