Modern Day Applications of Defending High-Priority Structures in a Fantasy Environment: A Tower Defense
We built this application in our Processes of Object-Oriented Development class in fall 2013. Our task only required that we create a tower defense game with no other specifics. So how far could we go? The project fuses some role-playing and real time strategy elements into the tower defense without trying to overwhelm the player.
- These operating systems are known to work: Windows or OS X 10.8
- The preferred installation method Eclipse
- Java Development Kit 6 or 7
- Download the zip file for the source code and extract it in an empty directory.
- Building with Eclipse is the preferred method. Open TiledMapGame, TiledMapGame-desktop, and TiledMapGame-android as projects in Eclipse.
- With Eclipse open, select the File dropdown in the menu bar and click Export…
- In this frame, expand the Java directive, select “Runnable JAR File”, and press Next
- At the top of this dialogue, click the Launch configuration dropdown and ensure “Main - TiledMapGame-desktop” is selected.
- Next, select the location you would like to create the JAR. Note: This program creates files. It’s advisable to create a new folder to put the built project.
- Make sure to select the “Extract required libraries into generated JAR” option.
- Press finish. Eclipse will export a runnable JAR at your specified location.
- Take a look at the User’s Manual and enjoy the game.