Java game development framework LGame-0.2.8 version released (including javase and Android version, existing documents)

Source: Internet
Author: User
Tags android games

Lgame is part of the loonframework framework and can also be referred to as "lf" or "loon ".

The original intention of the lgame framework is to build an efficient and complete Java game development system. It is the simplest and most convenient way to build the most brilliant and market-ready game. It can be said that if you have some java2d experience and want to devote yourself to Android or j2se Game Development
Or, if you want to quickly port a ready-made j2se or j2s game to the android environment, lgame will be the perfect gaming framework for you.


 

----------------------------------

, Today's Internet usersSharyu mentioned the problem of fuzzy font display in qvga mode. Currently, the cause of this problem is unknown (for personal reasons, this phenomenon may only exist in the simulator ), the younger brother HTC wildfire uses the qvga screen, and the test shows that the text display effect is still satisfactory (at least Personal Aesthetic View ).

 

I used HTC wildfire, which was shot by HTC hero. The font is clear except that the qvga screen size is less than x320 and cannot display all the game images and the display effect is slightly poor? (ER, because the mobile phone is taken by a mobile phone, it will be slightly blurrier than the physical phone. In addition, the younger brother will not take photos. | )......

 

 

 

I hope that a friend of qvga screen real machine can help the younger brother to test the problem to determine the cause of the problem.

 

--------------------------

 

, The author improved the inter-loop music latency problem proposed by the netizen sharyu, and improved the original playback method to multi-threaded playback, to completely solve the pause phenomenon of the original audio loop and eliminate the impact on the speed of the main game thread during multi-music loading (although it will consume a little more resources ), if you have requirements on music quality, you can download this Ultimate Edition:

(Jar and source code)
: Http://loon-simple.googlecode.com/files/LGame-Android-

0.2.8-update.7z

Of course, if you have any questions, please report them to your younger brother. I will fix them as soon as possible.

 

--------------------------

Version:




 

Release Date Version Number
2010-09-15 0.2.8
2010-08-19 0.2.7
2010-07-31 0.2.6
9-12-29 0.2.5
2009-10-10 0.2.0
2009-09-13 0.1.5
2009-08-11 0.1.0

 

Project address:

Http://loon-simple.googlecode.com

Update (contains version 0.2.8 jar, source code, sample project, and the latest Documentation)

: Http://loon-simple.googlecode.com/files/LGame-0.2.8.7z

 

LGame-0.2.8 updates:

1. A built-in avgscreen form is added. This form can be used to quickly develop AVG games and make game matches, you can also use this form to create game businesses (such as stores) that require complex interactions ).

2. modified some outdated algorithms, added functions related to free rotation and Image Filtering for the standard genie, and added some special effects.

3. related documents have been created for version 0.2.8. (currently, there are only 66 pages of documents, which are not complete yet and will be expanded with version updates ).

4. corrected all exceptions reported by netizens.

5. Modify the j2se package name and change the original simple tag to javase.

 

The LGame-0.2.8 download package structure is as follows:

 

 

About lgame-Android:

 

Lgame-Android version is LGame-J2SE (PC version) of the mobile phone (Android) streamlined version, but in addition to the auxiliary functions less than the LGame-J2SE version, the main classes and functions are exactly the same as the LGame-J2SE version.

By the end of the LGame-Android-0.2.8 version, the lgame-android game engine has completed a total of 192 categories, with more than 50000 lines of code, the main functions are from the underlying graphic interface to game control, resource storage, resource encryption, map drawing, Sprite drawing, component drawing, script control, AVG mode support, touch screen analog button support, audio operations, network Resource reading, character, number, password, and other auxiliary operation functions are also fully covered.

It can be said that as long as you use the lgame-Android engine to build a game, you can complete any android2d game development you want without any third-party components (and, it can also be easily transplanted to the PC environment, and it is also a good choice to attract users with its release trial version ).

 

The idea of creating the AVG module is as follows:

 

As we all know, although AVG (Adv) games are well known for their ease of development, some types of AVG games have always been sought after by the world. Famous AVG such as Yuexi and the holy cup war have even been adapted into cartoons and cartoons. However, even if AVG games are both easy to develop and popular, AVG games on Android (or derivative systems) are still very rare and have to be pity. However, this also leaves a huge opportunity for original or transplanted AVG games.

 

In fact, the AVG module provided by the lgame framework is very convenient for operation and use. As long as the existing components and genie support of lgame are reasonably combined, a complete AVG game is created, even if you want to create a legend-level AVG masterpiece, It is not unimaginable (of course, the premise is that there is support from the artist ).

 

Furthermore, even if we don't use the corresponding modules for AVG development, we can make some gorgeous passing pictures in Android games, at least not to attract the user's attention.

 

PS: For more information about the AVG module, you can refer to the attached documentation or see this article: http://blog.csdn.net/cping1982/archive/2010/08/22/5829604.aspx

 

The internal structure of the LGame-0.2.8 version (Android) is as follows:

 

 

Sample project:

Along with this update, lgame introduces the newly released built-in AVG module and its usage, and adds two complete eclipse demo projects, corresponding to Android and javase, respectively. The example runtime diagram is as follows:

 

Javase version:

 

 

Android:

 

 

 

Through the example project, you will find that the lgame-javase and lgame-android are so unified that the so-called code porting actually only consumes the copy file and changes the package name to "useless ".


As lgame has provided relevant documents since version 0.2.8 (currently only for Android, j2se, but most functions are interconnected), the details are not described in detail, you can refer to the documentation for specific development methods and usage of class libraries.

 

You can leave a message on this blog or submit it to the http://code.google.com/p/loon-simple/issues/list for any questions (regardless of Version) about lgame usage
All the progress and improvements of lgame depend on your support and help.

 

Project address:

Http://loon-simple.googlecode.com

Update (contains version 0.2.8 jar, source code, sample project, and the latest Documentation)

: Http://loon-simple.googlecode.com/files/LGame-0.2.8.7z

 

--------------------

 



The following figure shows some sample programs that have been released earlier. (download the lgame release earlier. In addition, the javase and Android code can be basically used ):

 

 

With Analog buttons, you can easily create a fight or game that requires complex operations.

 

 

-------------------------------------

 

In addition, box2d support and necessary encapsulation will be provided starting from version 0.2.9, while OpenGL ES support will be provided in version 0.3.

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.