Home > Web Front-end > H5 Tutorial > body text

HTML5 open source game engine lufylegend1.8.0 released

黄舟
Release: 2017-03-01 15:47:35
Original
2005 people have browsed it

HTML5 open source engine lufylegend version 1.8.0 has been released, and the download package contains more than 30 development examples.


##lufylegend.js engine official website
http://lufylegend.com/lufylegend

lufylegend.js engine online API documentation link##http://lufylegend.com/lufylegend/api

github project addresshttps://github.com/lufylegend/lufylegend.js

一,1.8.0 Version update content
Engine part1 solves the bug that the loading page of Android 4.0 smartphones cannot be cleared
2. Added LAnimation subclass LAnimationTimeline, and provided setLabel, play, stop, gotoAndPlay, gotoAndStop functions 3, added LTweenLite deletion
4, added continuous easing
5, and improved full screen Effect: Added EXACT_FIT, SHOW_ALL and other full-screen scaling modes. For detailed usage, please see the API document
6. Added LGlobal.setStageSize to scale the canvas to the specified size
7. Added getChildIndex and setChildIndex to the LSprite object. Function
8, adds blendMode attribute to LSprite object and LBitmap object
9, adds 2 loading effects
The current loading effects of the engine are as follows







10, added LTransitionManager, including 9 screen switching effects
Effect connectionhttp://lufylegend.com/demo/examples/LTransitionManager.html
## 11. Improved the getWidth and getHeight functions of the LSprite class

12. Optimized LMedia Event

13, sorted out the engine structure between LObject and LSprite, added LEventDispatcher, LDisplayObject, LInteractiveObject and other classes, added the dispatchEvent function to the LEventDispatcher class, and used dispatchEvent to easily implement custom events 14, rewritten The core code of scaling, transparency, and rotation of the LSprite class and LTextField has been modified, and some bugs in the logic of the three effects have been modified to make the three effects more complete.
15, considering the canvas position, transform the touchmove object of the mobile phone into canvas, which was previously document
16, separate the non-core part of the code from the engine, and provide multiple versions


UI part
1, added draggable window2, added range
Currently, the engine’s built-in UI has the following types



Finally, the API documentation has been improved


##2, lufylegend.js engine development example

1, GemGem gem bump

http://lufylegend.com/demo/GemGem

2, Sudoku game

http://lufylegend.com/demo/sudoku

3. Sokoban Game
http://lufylegend.com/demo/box

4. Angry Birds
http://lufylegend.com/demo/AngryBirds/index.html

5, Get Fruit Game

http://lufylegend.com/demo/getFruit/index.html


##6, RPG

http://lufylegend.com/demo/rpg/index.html



##For more game demos, please see the link belowhttp://lufylegend.com/lufylegend/demo


Three, discussion and exchange

If you find problems when using the engine, or have any good suggestions for the engine, you are welcome to post in the official forum, or follow me through the blog Leave a message


The above is the content released by the HTML5 open source game engine lufylegend1.8.0. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template