LionEngine Core Android

Java 2D Game Engine Android implementation

Лицензия

Лицензия

Группа

Группа

com.b3dgs.lionengine
Идентификатор

Идентификатор

lionengine-core-android
Последняя версия

Последняя версия

9.0.5
Дата

Дата

Тип

Тип

aar
Описание

Описание

LionEngine Core Android
Java 2D Game Engine Android implementation
Ссылка на сайт

Ссылка на сайт

http://www.b3dgs.com
Система контроля версий

Система контроля версий

https://github.com/b3dgs/lionengine-core-android

Скачать lionengine-core-android

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.b3dgs.lionengine/lionengine-core-android/ -->
<dependency>
    <groupId>com.b3dgs.lionengine</groupId>
    <artifactId>lionengine-core-android</artifactId>
    <version>9.0.5</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.b3dgs.lionengine/lionengine-core-android/
implementation 'com.b3dgs.lionengine:lionengine-core-android:9.0.5'
// https://jarcasting.com/artifacts/com.b3dgs.lionengine/lionengine-core-android/
implementation ("com.b3dgs.lionengine:lionengine-core-android:9.0.5")
'com.b3dgs.lionengine:lionengine-core-android:aar:9.0.5'
<dependency org="com.b3dgs.lionengine" name="lionengine-core-android" rev="9.0.5">
  <artifact name="lionengine-core-android" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.b3dgs.lionengine', module='lionengine-core-android', version='9.0.5')
)
libraryDependencies += "com.b3dgs.lionengine" % "lionengine-core-android" % "9.0.5"
[com.b3dgs.lionengine/lionengine-core-android "9.0.5"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.b3dgs.lionengine : lionengine-core jar 9.0.5

Модули Проекта

Данный проект не имеет модулей.
Maven Central
License: GPL v3
Presentation
Download
Installation
Getting Started
Tutorials

Presentation

The LionEngine is a game engine especially developed during the project Lionheart Remake for an easy Java use. The engine is as a library, in Jar format (including its javadoc), which can be included in any project; for utility class uses, or to directly implement and inherit a game skeleton (including management of frame rate, extrapolation, input output...).

Using Java 8 internal libraries, it is specifically designed for 2D games (no support for 3D at the moment), and proposes a set of functions for 2D resources management (images, sprites, animations, tiles...).

It supports Android 8.0 (API 26). The only change to perform is the gameplay part, as the 'mouse' and 'keyboard' concepts are different on Android. Everything else is fully compatible and does not require any changes.

Download

Installation

Steps to include the LionEngine in your project:

  1. Download at least Android Studio 3
  2. Include all LionEngine libraries you need for your project, following the tree dependency:
  • lionengine-core (minimum requirement)
    • lionengine-core-android (uses Android 8.0 as graphic renderer, target for smartphones)
  1. You are now ready to use the LionEngine in your project

Getting Started

Once you installed the LionEngine in your project, you may would like to know how to prepare a quick sample as a first try.

Main class

  • Using lionengine-core-android
public class ActivitySample extends ActivityGame
{
    @Override
    protected void start(Bundle bundle)
    {
        EngineAndroid.start("Sample Project", Version.create(0, 1, 0), this);
        Loader.start(Config.fullscreen(Scene.NATIVE), Scene.class);
    }
}

Minimal sequence

public class Scene extends Sequence
{
    public static final Resolution NATIVE = new Resolution(320, 240, 60);

    public Scene(Context context)
    {
        super(context, NATIVE);
    }

    @Override
    public void load()
    {
        // Load resources
    }

    @Override
    public void update(double extrp)
    {
        // Update game
    }

    @Override
    public void render(Graphic g)
    {
        // Render game
    }
}

Tutorials

com.b3dgs.lionengine

Byron 3D Games Studio

Indie games development since 2006.

Версии библиотеки

Версия
9.0.5
9.0.3
9.0.2
9.0.1
9.0.0
8.4.1
8.4.0
8.3.6
8.3.5
8.3.4
8.3.3
8.3.2
8.3.1
8.3.0
8.2.4
8.2.3
8.2.2
8.2.1
8.2.0