{"id":13338263,"url":"https://github.com/DefenseMania/defense-mania","last_synced_at":"2025-03-11T09:30:27.805Z","repository":{"id":98548695,"uuid":"38935928","full_name":"DefenseMania/defense-mania","owner":"DefenseMania","description":"🏹 crossplatform tower defense game built with processing.","archived":false,"fork":false,"pushed_at":"2023-03-23T21:26:04.000Z","size":7485,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T16:49:29.670Z","etag":null,"topics":["android","cross-platform","game","linux","mac-osx","processing","tower-defense","windows"],"latest_commit_sha":null,"homepage":"","language":"Processing","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DefenseMania.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-11T18:21:49.000Z","updated_at":"2024-05-02T11:57:33.000Z","dependencies_parsed_at":"2023-05-29T14:15:27.047Z","dependency_job_id":null,"html_url":"https://github.com/DefenseMania/defense-mania","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefenseMania%2Fdefense-mania","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefenseMania%2Fdefense-mania/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefenseMania%2Fdefense-mania/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefenseMania%2Fdefense-mania/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DefenseMania","download_url":"https://codeload.github.com/DefenseMania/defense-mania/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243006969,"owners_count":20220751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cross-platform","game","linux","mac-osx","processing","tower-defense","windows"],"created_at":"2024-07-29T19:16:11.662Z","updated_at":"2025-03-11T09:30:27.793Z","avatar_url":"https://github.com/DefenseMania.png","language":"Processing","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FC3GNGS5XD792"],"categories":[],"sub_categories":[],"readme":"# defense mania\n\n\u003e A crossplatform tower defense game built with processing.\n\n## Donations\n\nIf you like Defense Mania and want to support further development of software like this, buy me a beer by [donating via PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FC3GNGS5XD792). \u003c3\n\n## Installation\n\n**Windows, Linux, Mac OSX**: Download the latest release for your platform from [here](https://github.com/DefenseMania/defense-mania/releases).\n\n**Android**: Download the latest release from [here](https://github.com/DefenseMania/defense-mania/releases) or install it from the [Google PlayStore](https://play.google.com/store/apps/details?id=processing.test.android).\n\n**Web/Browser**: Just start the game [here](https://defensemania.github.io/).\n\n## Prerequisites\n\n* [Java](http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html) (JRE) is required to run the native **Windows, Linux and Mac OSX** versions.\n* **Android** 2.3.3 Gingerbread is required to run DefenseMania and at least 256-512 MB of RAM.\n* Your Browser should support the [canvas](http://caniuse.com/#feat=canvas) element.\n\n## How to play the game\n\n1. Click on \"Start\", choose a map, a difficulty and start the game.\n2. Click anywhere on the map to build a tower. The hammer icon on the bottom left shows green areas where you can build towers.\n3. When you build the first tower, the game will start.\n4. Build towers to prevent the \"enemies\" from reaching the end of the path.\n5. 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.\n\n**Windows, Linux, MacOSX**: Navigation on the map holding your right mouse button. Zoom in with your mouse wheel.\n\n**Android**: Drag to navigation the map, pinch to zoom in.\n\n**Web/Browser**: Navigation on the map holding your right mouse button. Zooming is disabled.\n\n## Contribute\n\n### Game\n\n##### prerequisites\n\n* [Processing 2.03b](https://github.com/processing/processing/releases/tag/processing-2.0b3)\n* [Android SDK](https://developer.android.com/sdk/index.html#Other)\n* [Apache Ant](https://ant.apache.org/manual/install.html)\n* [GIT](https://git-scm.com/downloads)\n* [UglifyJs](https://github.com/mishoo/UglifyJS#install-npm)\n* [PhantomJs](http://phantomjs.org/download.html)\n\n##### getting started\n\n* Download and install everything above\n* Install Android SDK **API Level 10** Platform \u0026 Build-tools **Rev. 19.1**\n* **The game was built on Processing 2.03b and won't run on the current version of Processing. We will hopefully fix that soon.**\n* Get the source: `git clone https://github.com/kriskbx/defensemania.git`\n\n##### directory structure\n\nDefenseMania 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`.\n\n##### build it\n\n1. Desktop: open the desktop project in processing and export the application.\n2. Android: open processing, export the android project from the file menu, run `cd src/android \u0026\u0026 ant`, this will create the file `src/android/application.android/DefenseMania-unsigned.apk`.\n3. Browser: run `cd src/browser \u0026\u0026 ant`, this will create the compiled and minified project in `src/browser/application.web`.\n\n### Maps \u0026 Map Editor\n\n1. Download the DM Map Editor from [here](https://github.com/DefenseMania/defense-mania-map-editor/releases) and read [how to use it](https://github.com/DefenseMania/defense-mania-map-editor#how-to-use-the-editor).\n2. You can submit new maps via pull-requests in **this** repository.\n\n### Graphics\n\nTake a look [here](https://github.com/DefenseMania/defense-mania-graphics).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDefenseMania%2Fdefense-mania","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDefenseMania%2Fdefense-mania","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDefenseMania%2Fdefense-mania/lists"}