Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 2.52 KB

README.md

File metadata and controls

74 lines (53 loc) · 2.52 KB

Build Release Workflow

SLOTPUZZLE

SlotPuzzle is a puzzle game inspired by Fruit/Slot Machines.

SlotPuzzle-2d Build Instructions

Assumptions:

  • You have cloned the SlotPuzzle GitHub hosted repository
  • For example if you are me, ie to able to commit changes:
	git clone git://github.com/memellis/SlotPuzzle

or if you are not me!

	git clone https://github.com/memellis/SlotPuzzle.git

and to get the submodules:

	git submodule update --init
  • To use Android Studio which is what I use:

    Click on File -> Open Navigate to source/java/2d and click OK

  • In Andriod Studio to run SlotPuzzle desktop:

    1. In the project view in the left hand pane
    2. Navigate to desktop/src/com/ellzone/slotpuzzle2d/desktop
    3. Right click on DesktopLauncher
    4. Select Run DesktopLauncher.main
    5. The program will fail with a:
    • GdxRuntimeException caused by:

      "Couldn't load dependencies of asset: levels/mini slot machine level.tmx"

    1. Select Run -> Edit Configurations
    2. In the Run Configurations dialog in the left hand pane
    3. Select Application DesktopLauncher
    4. In the right hand pane for Working Directory click on the folder icon
  1. Navigate to desktop/assets
  2. Click on Apply and OK
  3. Now Click on the Run Icon in the Android Studio tool bar

Pre-requisites:

Using Gradle on the command line:

https://github.com/libgdx/libgdx/wiki/Gradle-on-the-Commandline