Skip to content

Projet secondaire ISN Lycée Pape Clément 2019-2020

Notifications You must be signed in to change notification settings

GallonEmilien/LpcAdventure

Repository files navigation

LpcAdventure

Projet secondaire ISN Lycée Pape Clément 2019-2020

SETUP

git clone https://github.com/BookeeM/LpcAdventure.git

Create a "local.properties" file and enter your path to android SDK like this: sdk.dir=C:/Users/xxx/AppData/Local/Android/Sdk

Open a CMD in the project root and type "gradlew build"

Then you just have to import with gradle the project into your IDE

LAUNCH

Find the DesktopLauncher class in desktop, right click on it and run as Java Application

If this is not working right click on DesktopLauncher > Run as ... > Run Configurations. In the "Main" tab, search for project and select desktop project. Then, in Main Class, select DesktopLauncher. It should be working

BUILD

./gradlew desktop:dist -> Generate an executable jar in desktop/build/libs

You need to use InteliJ or Android studio to export it as APK, see:https://libgdx.badlogicgames.com/documentation/gettingstarted/Packaging.html#packaging-for-android