LayaAir是Layabox旗下第二代HTML5开源引擎,是全球性能最高的HTML5引擎之一。
支持Canvas和WebGL模式自适应。支持ActionScript3、TypeScript、JavaScript三种开发语言,适用2D、3D、VR产品研发。
官方网站:https://www.layabox.com
It provides Canvas and WebGL for rendering, if WebGL is not supported, it switch automatically into Canvas mode. LayaAir Engine is designed for high performance games and support ActionScript 3.0, TypeScript, JavaScript programming language. Develop once, publish for 3 target platform (flash, HTML5, mobile)
Display render is set priority to WebGL mode. However, renderer fallback using Canvas for systems with missing/incompatible graphics cards. LayaAir is design to be run without Plugin and on embedded system.
LayaAir API architecture aim to be simple, easy to handle, concepted to require small size installation. It can run basic and complete need for HTML5 engine.
Build your HTML5 application from ActionScript 3.0、TypeScript、JavaScript project.
functionality for 2D, 3D, VR, Timeline animation controls, slow motion, UI system, particle animation, skeletal animation, physical systems, etc.
LayaAirIDE offer code development tools and visual editor. Clear workflow make, ergonomic, designed development efficiency.
our official Layabox Github with complete engine source version, free of charge, including commercial usage.
Laya.init(550, 400);
Laya.stage.scaleMode = "showall";
var ape = new Laya.Sprite();
//Loading our monkey
ape.loadImage("res/apes/monkey2.png");
Laya.stage.addChild(ape);
package
{
import laya.display.Sprite;
import laya.display.Stage;
public class Sprite_DisplayImage
{
public function Sprite_DisplayImage()
{
Laya.init(550, 400);
Laya.stage.scaleMode = "showall";
var ape:Sprite = new Sprite();
//Loading our monkey
ape.loadImage("res/apes/monkey2.png");
Laya.stage.addChild(ape);
}
}
}
/// <reference path="../../libs/LayaAir.d.ts" />
class Sprite_DisplayImage{
constructor(){
Laya.init(550, 400);
Laya.stage.scaleMode = "showall";
var ape = new Laya.Sprite();
//Loading our monkey
ape.loadImage("res/apes/monkey2.png");
Laya.stage.addChild(ape);
}
}
new Sprite_DisplayImage();
http://layaair.ldc.layabox.com/api/
http://ldc.layabox.com/
##Community
http://ask.layabox.com/
##QQ Group 104144216
提供Canvas和Webgl同时渲染,如果Webgl不可用,则可自动切换到Canvas模式。引擎为高性能游戏设计,支持AS,TS,JS三种语言开发,一套代码三端齐发(Flash,HTML5,APP)。
LayaAir优先使用webgl渲染,如果webgl不可用,自动无缝转为canvas渲染,引擎设计过程中处处以性能为优先原则,LayaAir是为裸跑而设计的HTML5引擎。
LayaAir API设计上追求精简,简单易用,上手容易,引擎本身非常注意自身大小,是目前同等功能最小的HTML5引擎。
LayaAir同时支持ActionScript3、TypeScript、JavaScript三种语言开发HTML5
同时支持2D,3D,VR、时间轴动画,缓动、UI系统、粒子动画、骨骼动画、物理系统等
LayaAirIDE提供代码开发工具及可视化编辑器,清晰的工作流,让美术,策划,程序紧密配合,提高开发效率
引擎全部开源并托管到github,并且全部免费使用,包括商用
Laya.init(550, 400);
Laya.stage.scaleMode = "showall";
var ape = new laya.Sprite();
//加载猩猩图片
ape.loadImage("res/apes/monkey2.png");
Laya.stage.addChild(ape);
package
{
import laya.display.Sprite;
import laya.display.Stage;
public class Sprite_DisplayImage
{
public function Sprite_DisplayImage()
{
Laya.init(550, 400);
Laya.stage.scaleMode = "showall";
var ape:Sprite = new Sprite();
//加载猩猩图片
ape.loadImage("res/apes/monkey2.png");
Laya.stage.addChild(ape);
}
}
}
/// <reference path="../../libs/LayaAir.d.ts" />
class Sprite_DisplayImage{
constructor(){
Laya.init(550, 400);
Laya.stage.scaleMode = "showall";
var ape = new Laya.Sprite();
//加载猩猩图片
ape.loadImage("res/apes/monkey2.png");
Laya.stage.addChild(ape);
}
}
new Sprite_DisplayImage();
http://game.layabox.com/265
http://layaair.ldc.layabox.com/api/
##文档教程 http://ldc.layabox.com/index.php?m=content&c=index&a=show&catid=8&id=10
http://ldc.layabox.com/
http://ask.layabox.com/
104144216