docsReading time: 4 minutes

Installation and Setup

Setup Eclipse

It is recommended to use an IDE for LITIENGINE development. Eclipse IDE and IntelliJ IDEA are available, and Eclipse has been used for the development of the engine for the most part. So, we will discuss how to install and start Eclipse here.

Install JDK

First of all, you should download the JDK.

jdk-install

Select the version you need and click Latest release. If you want to change the options, there is a description on Help Me Choose.

jdk-install-2

When the download is complete, run the file. On the Custom Setup page you can change the installation directory. By default, it is c:\Program Files\AdoptOpenJDK\<package>. If you want to change it, click Browse... and update the path. Then click Install to begin the installation.
When all processes over, click Finish to close the installer.

Install Eclipse

You can download Eclipse Here.

eclipse-download

Click Download and choose the package which you need. In normal cases, you may choose Eclipse IDE for Java Developers or Eclipse IDE for Enterprise Java Developers.

eclipse-download-2

After the download is complete, unzip the file and run the eclipse.exe file inside the ecilpse folder.

eclipse-download-3

Browse the workspace path and click Launch.
Then close the welcome tab and click the Window at the upper left corner. Click Preferences.

eclipse-download-4

Find Java in the left menu and unfold it. Double click the Installed JREs, and click Add. Select Standard VM and go next. Click the Directory... button and find the JDK folder that you installed. Click Finish and Apply and Close.

eclipse-download-5

Now you are ready to use Eclipse.

Setup Gradle

LITIENGNINE supports Gradle and Maven. You can just download the .jar file and import it to use the library, but it is not recommended. Thus, here we will discuss how to install Gradle in Windows.

You can download Gradle Here.

gradle-download

In the first step for Installing manually, click the Download and find latest version. If you need docs and sources, choose complete or binary-only.

gradle-download-2

Then create a new directory C:\Gradle and unzip the downloaded file in this folder.
Search the Advanced system setting on windows search and click Environment Variables. Under System Variables selet Path, then double click it.
Add C:\Gradle\[your-gradle-version]\bin and click OK to save.

Now you can use Gradle. If you need more detail how to use Gradle, look Get LITIENGINE in docs.

Setup SDK in Windows

LITIENGINE provides an editor to create game environments and manage resources. Here we will introduce how to use LITIENGINE SDK in Windows.
First, you should download SDK Here. Click this link and download the file for Windows.

sdk-download

sdk-download-2

Now you have a .zip file. Unzip it and execute utiliti-v0.5.0-beta.exe file under utiliti-win folder.
Then you can see the following screen.

sdk-download-3

Click File on upper left corner, and click New... to make new .litidata file. Then select your game project folder and click open. We used the tutorial game for explanation.

sdk-download-4

The basic step is over.

Let me introduce the useful functions of this SDK.

sdk-download-5sdk-download-6

On upper right corner, you can find the Objects and Layers tabs. They manage the basic elements of game, such as Creature, Collision, and Spawn Point.
The functions of each icon in the Layers tab are as follows: Add, Delete, Copy, Change Color, Rename, Show selected layer only, Send selected layer up, Send selected layer down.

sdk-download-7

On bottom left corner, you can find the Resources and Console tabs. You can manage your game resources, such as .png file for creature and sound file.

sdk-download-8

You can edit your objects in botton right corner. If you select an object in Objects tab, then the Properties of the object will appear. You can easily set up the objects' collision or movement through this.

Now you can use LITIENGINE SDK.


steffen-wilkeLast updated 3 weeks ago
On this page