Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akimgacem authored Mar 20, 2017
1 parent f683abb commit 3f722d8
Showing 1 changed file with 29 additions and 28 deletions.
57 changes: 29 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#LayaAir is an open-source HTML5 engine
# LayaAir is an open-source HTML5 engine

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)

##LayaAir features
## LayaAir features

- High performance

Expand All @@ -30,7 +31,7 @@ functionality for 2D, 3D, VR, Timeline animation controls, slow motion, UI syste

our official Layabox Github with complete engine source version, free of charge, including commercial usage.

##general features overview
## general features overview
- WebGL rendering
- Canvas rendering
- Vector renderer
Expand All @@ -49,8 +50,8 @@ our official Layabox Github with complete engine source version, free of charge,
- 3D (FBX Autodesk and Unity3D assets are supported)
- VR

##Beginner usage
####JS version
## Beginner usage
#### JS version
```js
Laya.init(550, 400);
Laya.stage.scaleMode = "showall";
Expand All @@ -62,7 +63,7 @@ our official Layabox Github with complete engine source version, free of charge,
Laya.stage.addChild(ape);
```

####AS version
#### AS version
```as3
package
{
Expand All @@ -86,7 +87,7 @@ our official Layabox Github with complete engine source version, free of charge,
}
```

####TS version
#### TS version
```ts
/// <reference path="../../libs/LayaAir.d.ts" />
class Sprite_DisplayImage{
Expand All @@ -105,26 +106,26 @@ our official Layabox Github with complete engine source version, free of charge,
new Sprite_DisplayImage();
```

##Samples Demo
## Samples Demo

- http://layaair.ldc.layabox.com/demo/
- http://layabox.github.io/layaair-examples/

##Games Demo
## Games Demo

- http://game.layabox.com/265 (2D)
- http://layaair.ldc.layabox.com/test/ZhanPaiKeJi/ (3D)

##API Help
## API Help

http://layaair.ldc.layabox.com/api/

##Documentation Tutorial
## Documentation Tutorial

- http://ldc.layabox.com/index.php?m=content&c=index&a=show&catid=8&id=10
- https://github.com/layabox/layaair/wiki

##Developer Center
## Developer Center

http://ldc.layabox.com/

Expand All @@ -135,16 +136,16 @@ http://ask.layabox.com/
##QQ Group
104144216

##Folder structure
## Folder structure
- bin [Compiled librairy,divided for as,js,ts]
- samples [Example project]
- src [Source Code Library]
- utils [Automated compilation and other tools]

#LayaAir是HTML5开源引擎
# LayaAir是HTML5开源引擎
提供Canvas和Webgl同时渲染,如果Webgl不可用,则可自动切换到Canvas模式。引擎为高性能游戏设计,支持AS,TS,JS三种语言开发,一套代码三端齐发(Flash,HTML5,APP)。

##LayaAir特点
## LayaAir特点

- 极致性能

Expand All @@ -170,7 +171,7 @@ LayaAirIDE提供代码开发工具及可视化编辑器,清晰的工作流,

引擎全部开源并托管到github,并且全部免费使用,包括商用

##当前功能
## 当前功能
- Webgl渲染
- Canvas渲染
- 矢量图
Expand All @@ -189,8 +190,8 @@ LayaAirIDE提供代码开发工具及可视化编辑器,清晰的工作流,
- 3D
- VR

##开始使用
####JS版本
## 开始使用
#### JS版本
Laya.init(550, 400);
Laya.stage.scaleMode = "showall";

Expand All @@ -200,7 +201,7 @@ LayaAirIDE提供代码开发工具及可视化编辑器,清晰的工作流,

Laya.stage.addChild(ape);

####AS版本
#### AS版本
package
{
import laya.display.Sprite;
Expand All @@ -221,7 +222,7 @@ LayaAirIDE提供代码开发工具及可视化编辑器,清晰的工作流,
}
}
}
####TS版本
#### TS版本
/// <reference path="../../libs/LayaAir.d.ts" />
class Sprite_DisplayImage{

Expand All @@ -238,34 +239,34 @@ LayaAirIDE提供代码开发工具及可视化编辑器,清晰的工作流,
}
new Sprite_DisplayImage();

##演示Demo
## 演示Demo

- http://layaair.ldc.layabox.com/demo/
- http://layabox.github.io/layaair-examples/

##游戏展示
## 游戏展示
http://game.layabox.com/265

##API帮助
## API帮助

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/

##QQ群
## QQ群
104144216

##目录结构
## 目录结构
- bin 编译好的类库,里面分为as,js,ts三种
- samples 示例项目
- src 类库源代码
- utils 自动化编译及其他工具
- utils 自动化编译及其他工具

0 comments on commit 3f722d8

Please sign in to comment.