Git Product home page Git Product logo

gardenhextd's Introduction

GardenHexTD

A Tower Defense Android game with a Hex grid and the ability to rotate towers that have different attack areas. A* and AIs that mimic ants in nature are used.

How to compile/run

Method 1: IntelliJ

  1. Download the free community edition of IntelliJ from http://www.jetbrains.com/idea/download/index.html
  2. Download the Android SDK for your platform from http://developer.android.com/sdk/index.html
  3. Run the command "android" (Linux) or "android.exe" (Windows) from the "tools" subdirectory -This will allow you to download an emulator and the needed SDK class files
  4. Run "android avd" or the equivalent command for Windows and click "New" to make a new virtual device
  5. Unpack the IntelliJ tar file and open IntelliJ (run "idea-IC-xxx/bin/idea.sh" in linux)
  6. Go to File-->Open Project and open the HexTD IntelliJ project included
  7. Right-click on the HexTD module in the project browser and go to "Open Module Settings"
  8. Click on the SDKs tab -Click the + sign to add your JDK, point it to the base directory for your JDK files -Click the + sign to add your Android SDK, point it to the base directory for the Android SDK you downloaded -(If these already exist then edit them rather than creating new ones)
  9. Go to Run-->Edit Configurations -Click the "+" and create a new Android run configuration -Check "Launch Default Activity" and under Emulator choose your android virtual device, which should show up if you created it in step 4)
  10. Select your run config and press the play button to run it!

Method 2: Linux command-line

  1. Download the Android SDK for your platform from http://developer.android.com/sdk/index.html
  2. Add the "xxx/android-sdk/tools" and "xxx/android-sdk/platform-tools" directories to your PATH variable
  3. Run the command "android" -This will allow you to download an emulator and the needed SDK class files
  4. Run "android avd" or the equivalent command for Windows and click "New" to make a new virtual device
  5. Make sure you have the Apache ant build tool, or run "sudo apt-get install ant"
  6. Make sure JAVA_HOME points to the location of your JDK

gardenhextd's People

Contributors

charlescapps avatar

Stargazers

 avatar  avatar

Watchers

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