Need help with LGame?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

460 Stars 158 Forks Apache License 2.0 865 Commits 28 Opened issues


A cross-platform Java game Engine (Framework) , support JavaFX / Android / IOS / HTML5 / Linux / MAC / Windows

Services available


Need anything else?

Contributors list

Loon Game Engine (Java Game Framework)




Free Game Resources Links

Download Loon Game Engine

Only Android-studio Template : androidstudio-template

All Java code Run Template : loon-gradle-template

('task run' call main methond , 'task dist' packager game to jar)


  • 2019 year resurrection continues to update - 2019-03-08.

International Entertainment Machines


formal name : Loon

A fast, simple & powerful game framework, powered by Java (also supports C# and C++).

LGame Project Restart,The game's just started.


LGame(LoonGame) is a very cool and small game library designed to simplify the complex and shorten the tedious for beginners and veterans alike. With it, you can use the best aspects of OpenGL/OpenGLES in an easy and organized way optimized for game programming. It is built around the concept that beginners should be able to start with the basics and then move up into a more complex plane of development with the veterans, all on the same platform.

LGame puts all of its effort into keeping things short and simple. The initial setup of a game consists only of making a single class; then you are done. The interface is entirely documented for easy and fast learning, so once you are started, there is nothing between you and your killer game but coding and creativity.

LGame is built around the users wishes, so do not hesitate to suggest and critique!

Games Code Samples




Game Run the Example(JavaSE)

package org.test;

import loon.LSetting; import loon.LazyLoading; import loon.Screen; import loon.javase.Loon;

public class Main {

public static void main(String[] args) {
    LSetting setting = new LSetting();
        // Whether to display the basic debug data (memory, sprite, desktop components, etc.)
    setting.isDebug = true;
    // Whether to display log data to the form
    setting.isDisplayLog = false;
    // Whether to display the initial logo
    setting.isLogo = false;
    // The initial page logo
    setting.logoPath = "loon_logo.png";
    // Original size
    setting.width = 480;
    setting.height = 320;
    // Zoom to
    setting.width_zoom = 640;
    setting.height_zoom = 480;
    // Set FPS
    setting.fps = 60;
    // Game Font
    setting.fontName = "Dialog";
    // App Name
    setting.appName = "test";
    // Whether to simulate touch screen events (only desktop is valid)
    setting.emulateTouch = false;
    /* Set the global font to BMFont */
    Loon.register(setting, new LazyLoading.Data() {

        public Screen onScreen() {
            return new YourScreen();


Create a LGame project

LGame comes with a file called LGameProjectMake.jar which is an executable UI and command line tool. You can simply execute the JAR file which will open the setup UI.


Built-in over 30 game example(Part screenshots):







PS : If there is a dependency problem such as a Loon-method NoSuchMethodError, the best way is of course to reset the environment yourself to ensure that the relevant jars are recognized by the compiler. But if not, then there is a simple and feasible solution, which is to delete all loon related jars, and then directly copy the relevant source code to your running environment src directory, so no matter what environment, as long as you can run, They Never have a dependency problem...


*LGame目前版本虽然基于标准OpenGLES API开发,但项目0.1版最早脱胎于AWT Java2D时代,所以采用了AWT Graphics2D的坐标系(画布左上角为原点(x=0,y=0),Y轴向下为正值,与JavaFx或Android,JavaScript的Canvas渲染坐标一致),渲染接口也都被保存下来,Graphics2D以及Android Canvas的大部分API可以在GLEx这一全局渲染类中直接使用,甚至连J2ME时代的游戏你都能无缝移植过来(有完整API支持)。

*LGame在设计上追求一切从简,能自己实现的,绝不依赖第三方类库(One jar),所以无论是XML或Json解析,TMX地图构建,物理引擎,游戏脚本,抑或二维码构建,都有自己的完整实现(当然,肯定也允许使用第三方的),并且能自然和游戏组件绑定。所以学习难度低(很多事情后台都自动做了),上手容易,堪称学习难度最低的Java游戏引擎,没有之一。




License :

This Java implemented game framework(but will provide a cross-compiler contain C#,C/C++,Go,JavaScript or other programming language implemented),Support IOS\Android\WP7\PSM\Mac\Windows\Linux.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.