-
Notifications
You must be signed in to change notification settings - Fork 3
Home
The readme in the 'master' branch gives an overview of this project. The wiki is intended as a help documentation for getting started just playing the game (without the whole checkout and setup project in Eclipse part), as well as eventually game play mechanics and level editor usage.
As the game is a work in progress, so is this wiki.
You must have Java 7 or higher installed.
A .jar is provided (monkey_shines-0.1-SNAPSHOT-jar-with-dependencies.jar) in the root folder of the project. This is only up to date in the master branch. This allows one to quickly run the game and level editor without downloading the code and compiling it or setting it up in Eclipse.
-
Download the monkey_shines-0.1-SNAPSHOT-jar-with-dependencies.jar file
-
Open a terminal/command window and navigate to the directory that you downloaded the .jar file to.
-
For the game, run
java -cp monkey_shines-0.1-SNAPSHOT-jar-with-dependencies.jar org.erikaredmark.monkeyshines.MonkeyShinesIf you are running the game, a file chooser will open and ask you to choose a file. Since the game lacks a main menu system at this time, it is asking you to choose your world. World files end in .world and are generated by the level editor. If you don't wish to use or download the debug world (see 'Optional'), then you will have to launch the level editor first to create one. -
For the level editor, run
java -cp monkey_shines-0.1-SNAPSHOT-jar-with-dependencies.jar org.erikaredmark.monkeyshines.editor.LevelEditor
Optional: You may want to also download the 'extra/debug_worlds' contents on the master branch. The debug world is an ongoing world that just contains some 'stuff' that is designed to test game mechanics, but it can be a good entry point to being able to play the game first before hitting the level editor.
You can compile the .jar yourself. You will need to download and set up Maven to do so
- Checkout the master branch
- Navigate to the folder containing the pom.xml (this should be in the "Monkey Shines" folder)
- run
mvn install. - Check for a generated folder called
targetin that directory. In it should contain two jar files. Choose the one that says 'with-dependencies' - Perform steps 2 - 4 from 'Getting Started: The immediate way' to run the program.