• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,286 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0091 秒)

3251. LayaAir3D 坐标系统与矩阵变换 [ 26%]

...法创建,这个环节不做过多介绍。 //初始化3d画布 Laya3D.init(0, 0, true); //设置全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); //给舞台添加laya3d场景 var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; //初始化照相机 var cam...

来源: Laya_社区 发布时间: 20161223

3252. 微信小游戏中不能加载proto文件 [ 26%]

...____________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoBuf.load("res/protobuf/Login.proto", onAssetsLoaded);  function onAssetsLoaded(err, root) { console.log("____________________________________") if (err) throw err;  // Obtain a message type var Awesom...

来源: Laya_社区 发布时间: 20180704

3253. laya 2.3 native 打包apk后,monkey测试crash [ 24%]

...a/app/com.iogame.wipeout3d-1/lib/arm64/liblayaair.so (_ZN4laya10Javascript4initEi+88)     #03 pc 000000000021cc98  /data/app/com.iogame.wipeout3d-1/lib/arm64/liblayaair.so (_ZN4laya15JCScriptRuntime5startEPKc+148)     #04 pc 00000000002188ac  /data/app/com.iogame.wipeout3d-1/lib/arm64/liblayaa...

来源: Laya_社区 发布时间: 20191206

3254. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 24%]

...ic _to_remove: number;   constructor(){ super(GunRoleType.LIVE_DOLL); }  init( box: GunBox, doll_item: DollItem, doll_area: Area ):void { // if(!this._body_ani) // { // this._body_ani = new Laya.Animation(); // this.addChild(this._body_ani); // } // this._body_ani.play(0, true, doll_item.animation...

来源: Laya_社区 发布时间: 20180515

3255. 构建app闪退,测试app扫码可以运行 [ 22%]

...服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 项目分包后, 运行出错 在编辑器里面运行是没有问题的,但是发布打包之后存在资源加载不了 LayaAir不支持3D...

来源: Laya_社区 发布时间: 20190315

3256. laya.display.Sprite_API3.0 [ 22%]

...e:Sprite; private var shape:Sprite public function Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类的实例...

来源: Laya3.0_api 发布时间: 20231115

3257. laya.display.Text_API3.0 [ 20%]

...ay.Text; public class Text_Example { public function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实...

来源: Laya3.0_api 发布时间: 20231115

3258. laya.ui.HScrollBar_API3.0 [ 20%]

...ate var hScrollBar:HScrollBar; public function HScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resourc...

来源: Laya3.0_api 发布时间: 20231115

3259. laya.ui.VScrollBar_API3.0 [ 20%]

...ate var vScrollBar:VScrollBar; public function VScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down...

来源: Laya3.0_api 发布时间: 20231115

3260. laya.ui.ColorPicker_API3.0 [ 20%]

...c class ColorPicker_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function ...

来源: Laya3.0_api 发布时间: 20231115