LayaBox#LayaAir

{{grammar|date=March 2025}}

{{Infobox software

| name = LayaAir

| author = Xie ChengHong(CEO)

| developer = Souyou Network Technology Beijing Co., Ltd.

| released = {{Start date and age|2016|05|20}}:.{{cite web|title=Layabox—Flash最新日志|url=http://www.layabox.com/index.php?m=content&c=index&a=lists&catid=22|website=LayaBox release history|language=zh}}

| ver layout = simple

| latest release version = {{Multiple releases

|branch1 = LayaAir

|version1 = 3.1

|date1 = {{Start date and age|2023|06|30}}{{cite web|title=LayaAir Release History|url=http://ldc.layabox.com/index.php?m=content&c=index&a=lists&catid=28|website=LayaAir Release History|language=zh}}

|branch2 = LayaAir

|version2 = 3.1.0

|date2 = {{Start date and age|2023|11|29}}

}}

| programming language = English

| operating_system = Windows

| language = English, Chinese

| genre = Game engine

| license = Freeware

| website = {{URL|layaair.com}}

}}

LayaBox (Souyou Network Technology Beijing Co., Ltd.), also named Laya, is a Chinese-developed freeware framework which includes a web-based game engine named LayaAir which targets mobile and web platforms,[http://www.layabox.com/en LayaBox official website] as well as online publishing and digital distribution services. It was first announced on the Global Mobile Game Confederation in March 2015.{{cite web|url=http://games.sina.com.cn/y/n/2015-04-24/1858862861.shtml|title=Layabox联合GMGC共同揭幕HTML5行业首部白皮书|publisher=Sina Games|date=2015-04-24|language=zh}}{{cite web|title=Layabox—Flash拥抱H5|url=http://sy.pcgames.com.cn/494/4945560.html|website=pcgames|date=March 2015|language=zh}} It offers a feature set for developing multi-platform games.

Currently a hundred games officially use Laya engine solutions. The LayaPublish module is available to publish games made with it to various platforms.{{cite web|title=Layabox引擎用HTML5还原3D端游|url=http://hlj.china.com/estate/zhuanti/11156145/20151203/20868554.html|website=china.com|url-status=dead|archiveurl=https://archive.today/20160107041023/http://hlj.china.com/estate/zhuanti/11156145/20151203/20868554.html|archivedate=2016-01-07|language=zh}}

History

Founded in 2014 by Xie ChengHong, LayaBox was initially mainly focused on high-performance transcompiling of Flash-based games coded in ActionScript 3.0 to web-based games via JavaScript and WebGL.{{cite web|title=E3 exhibitor|url=http://static.e3insider.com/e3insider/2015/e3showdaily/E3ShowDaily_Day2.pdf}}

LayaAir 1.0

During the International Game Developers Conference held in November 2015, Xie ChengHong announced that a new 3D engine is currently being developed.{{cite web|title=Layabox引擎用HTML5还原3D端游|url=http://www.18touch.com/yejiezixunlayabo.html|website=18Touch|date=2015-11-22}} On 30 June 2016, LayaAir 1.0 was published on its official website, with 3D and VR support features.{{cite web|title=LayaAir1.0:不仅仅是H5,更是一场游戏变革|url=http://www.sootoo.com/content/664584.shtml|website=sootoo|date=2016-06-30}}{{cite web|url=http://www.chinadaily.com.cn/life/2016-07/07/content_25999044.htm|title=Layabox unveils new game engine|publisher=China Daily|author1= Xu Lin|date=2016-07-07}} It comes equipped with UI editor functionality and supports one-time development for full platform release.

LayaAir 3.0(2023)

LayaAir 3.0 was released in June 2023.

Technology and features

The "Layabox Product Family" is a components suite solution designed to implement web/mobile game publishing, translating contents, profit monetization, 3rd party API and online distribution.

File:LayaBoxDiagram.svg features overview]]

= LayaFlash =

LayaFlash is source-to-source compiler that runs as a back end to the LLVM compiler, making it the most suitable for ActionScript 3.0 programmers{{cite web|title=LayaBox旗下重磅产品Laya.Flash今开放|url=http://games.sina.com.cn/yjdt/cyxw/2015-05-26/doc-icczmvup2334150.shtml|website=Sina Games|date=May 2015|language=zh}} to release on web platform.{{cite web|title=LayaBox产品Laya.Flash今日开放|url=http://games.qq.com/a/20150526/047310.htm|website=QQGames|date=May 2015|language=zh}} It is also fully compatible with Flash IDE{{cite web|title=TFC采访LayaBox谢成鸿|url=http://games.qq.com/a/20150918/022871.htm|website=QQGames|date=September 2015|language=zh}}{{cite web|title=直接用Flash AS3语言开发HTML5的引擎|url=http://blog.csdn.net/xiaoya_88/article/details/50537399|website=CSDN blog|date=January 2016|language=zh}} such as FlashBuilder, FDT, FlashDevelop

{{cite web|title=Html5 development with LayaFlash and Flash develop|url=http://www.9miao.com/thread-63395-1-1.html|website=9miao|date=June 2015|language=zh}} or LayaAir IDE.

= LayaAir =

LayaAir is a dedicated open-source API for games and multimedia routines modules. It can be integrated from different ECMAScript standard language (ActionScript 3.0, JavaScript and TypeScript).

LayaAir engine use its own 3D data format file. To handle importation of assets data from 3D graphics software, LayaBox provide a tools converter from FBX files. Also, Unity plugin is available to convert "GameObject" into LayaModel files (*.lm).

The last core libraries released support:{{cite web|title=HTML5行业首款3D游戏及VR DEMO曝出|url=http://www.lupaworld.com/article-258226-1.html|website=Lupa World|language=zh}}

  • UI library primitives with the most common GUI elements in game scene. (both canvas element and WebGL mode support)
  • 2D skeletal animation by interpolation with timeline, GPU skinning for 3D.
  • 2D/3D particle system.
  • VR view mode.{{cite web|title=LayaBox content tutorial|url=http://layaflash.ldc.layabox.com/index.php?m=content&c=index&a=show&catid=8&id=34|website=layabox official dev center|language=zh|access-date=2016-01-14|archive-url=https://web.archive.org/web/20160129230423/http://layaflash.ldc.layabox.com/index.php?m=content&c=index&a=show&catid=8&id=34|archive-date=2016-01-29|url-status=dead}}
  • Audio libraries and sound controller. (wrap OpenAL for mobile and HTML audio for web browser)
  • Composite, blend and basic filters operation canvas element/sprite.
  • Various event-driven programming with event Bubbling and Capturing.
  • Compatibility with some additional frameworks: Starling, MornUI

= LayaPlayer =

Written in C and C++, LayaPlayer (codenamed Conch) is a runtime accelerator for Android and iOS to execute web-based games with low memory footprint, low CPU consumption, logic render with dual core running, GPU acceleration, video memory intelligent management and extremely optimized rendering flow with high FPS result. Supports Canvas, WebGL and DOM-type engine.{{cite web|url=http://npm.taobao.org/package/hasdom|title=Check if a JavaScript environment has a real DOM|publisher=Taobao|author1=damngoto|date=2015-08-18}}{{cite web|url=http://www.chinadaily.com.cn/micro-reading/dzh/2016-01-07/content_14467504_5.html|title=2015年HTML5游戏完整产业链报告|publisher=China Daily|author1=XiaoWei|date=2016-07-01|language=zh}} Web-based applications, released with LayaPlayer, run on mobile at near-native speeds.

It is possible to call native library functions from web-based JavaScript code.

= LayaPublish =

Related to publication services, LayaPublish helps channels mainstream companies to acquire internet traffic. Available in rich web application form, it gives also an opportunity for developers to spread their game visibility in wide portal{{cite web|url=http://mt.sohu.com/20150713/n416701408.shtml|title=HTML5台风来袭|publisher=Sohu|author1=SyKong|date=2015-07-13|language=zh}}

= LayaStore =

LayaStore is an embedded program which can run directly into native applications, it gives access to a full list of web games from LayaBox store. Introduced as a lightweight (20 Kb){{cite web|url=http://games.ifeng.com/a/20151026/41496679_0.shtml|title=Interview with Xie ChengHong, Layabox CEO|publisher=Phoenix Game凤凰游戏|date=2015-10-26|language=zh}} add-on component to head into a monetization for developers. They can generate revenue on either a microtransaction or numbers of mobile installation basis service.

= LayaOpen =

LayaOpen is a platform exchange offers revenue management and leaderboard statistics activities for developers and channels distributors. Both can get product information and feedback on User data, Social sharing / analytics and monthly active users

Distribution

Developers Account lets users connect all of their game product across all distribution channels platform. Mobile marketing technology is the main target audiences.

{{hidden begin|border=solid 1px #aaa|title={{center|non-exhaustive list of Layabox channels distribution}}}}

;2015

{{refbegin|2}}

{{refend}}

{{hidden end}}

Reception

= Games using the Laya solutions =

{{hidden begin|border=solid 1px #aaa|title={{center|non-exhaustive list of game using Laya engine [http://layabox.com/en/index.php?m=content&c=index&a=lists&catid=23 Showcase] {{Webarchive|url=https://web.archive.org/web/20160304121617/http://layabox.com/en/index.php?m=content&c=index&a=lists&catid=23 |date=2016-03-04 }}, Games{{cite web|title=Layabox本月将上线四款大型HTML5游戏|url=http://www.h5god.com/html/news/201512/00000711.html|website=h5god.com|date=2015-12-24|language=zh}} }}}}

;2015

{{refbegin|2}}

  • Go Your Majesty (上吧主公)
  • Hunter Blade 2 (猎刃2)
  • Sword master (傲剑) (by [http://www.aojian.net/ aojian趣游])
  • Westward Journey Online (醉西游) (MMORPG by [http://4399.com/ 4399游戏])
  • Dragon Shout (龙吟三国) (2.5D RPG by [https://web.archive.org/web/20130406012351/http://ly.kingnet.com/ KINGNET])
  • TiānTiān LièRén (天天猎人) (by Hagoot){{in lang|zh}}[http://www.hagoot.com/?p=150 Layabox独代《天天猎人》《三国志乱挂》] {{webarchive|url=https://web.archive.org/web/20160304094137/http://www.hagoot.com/?p=150 |date=2016-03-04 }}, Hagoot Games
  • SānGuó Zhì Luàn Guà (三国志乱挂) (by Hagoot)
  • Three Kingdoms: Hong (轰三国)
  • The Heroes Conquest (英雄争霸)
  • Gate of Warfare (战争之门)
  • The Magic Card Fantacy (魔卡幻想)
  • Cute Three Kingdoms (萌挂三国)
  • The Three Kingdoms: Take the Tower (夺塔三国)
  • I Love My Family (我爱我家)
  • Bear on Way (熊来啦)
  • Journey to the West Rush (西游快跑)
  • Hey Vixen! (哟狐狸精)
  • Mini Hunters (迷你猎人)

{{refend}}

{{hidden end}}

= Awards and recognition =

{{confusing|date=October 2016}}

  • 2015 Industry Contribution Award HTML5 game (2015年HTML5游戏产业贡献奖){{cite web|title=2015年HTML5游戏面临的机遇和挑战|url=http://games.qq.com/a/20160108/042683.htm|website=QQGames|date=2015-12-07|language=zh}}
  • Best promising engine H5 prize (Layabox荣膺“2015年度最佳引擎奖”){{cite web|script-title=zh:2015年度最佳引擎奖|url=http://www.layabox.com/news/169.html|archive-url=https://archive.today/20160114164210/http://www.layabox.com/news/169.html|url-status=dead|archive-date=2016-01-14|website=LayaBox News|date=2016-01-07|language=zh}}{{cite web|title=Layabox荣膺"2015年度最佳引擎奖"|url=http://game.91.com/chanye/news/21910123.html|website=91手游网|date=2016-01-08|language=zh}}

See also

References

{{refbegin|2}}

{{Reflist}}

{{refend}}