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

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

91. Layabox 2.0构建Android版本在4.2上面报错崩溃 [ 49%]

...       at com.game.usdk.xutils.http.SDKTask.onPostExecute(SDKTask.java:70)         at com.game.usdk.xutils.http.SDKTask.onPostExecute(SDKTask.java:11)         at android.os.AsyncTask.finish(AsyncTask.java:631)         at android.os.AsyncTask.access$600(AsyncTask.java:177)         ...

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

92. 通过AnimatorState为Animator添加多个播放状态islooping属性会被覆盖 [ 49%]

....Animator); let all = 486; let arr = ["3,21,run,true", "29,59,wolk,true", "70,120,cheer,true", "125,380,dance,true", "393,440,forerake,false", "443,485,backward,true"]; let state: Laya.AnimatorState; console.log("getANi"); for (let i = 0; i < arr.length; i++) { let arrString = arr[i].split(","); ...

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

93. 分享一个自己做的游戏公告功能,跑马灯效果 [ 48%]

....hornBox.scrollRect = _rectangle this.hornBox.height = 55 this.hornBox.pos(70,0) this.hornBox.zOrder = 3 this.html = new HTMLDivElement() this.html.x = this.defaultX this.html.contextHeight = 55 this.html.contextWidth = 1180 this.html.style.fontSize = 34 this.html.style.wordWrap = false this.html.st...

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

94. layaAir3.0适配导致应用重启的重大bug,急急急! [ 48%]

...     3、fixedauto模式在切换的时候,会自动申请内存,40-70mb不等,目前不同场景测试出来的,感觉像是自动填充部分的一些处理,所以需要申请一定内存,不知道有没有关联;           4、出现的时候比较诡异,有的时候上来...

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

95. linux系统运行layaair-cmd报错 [ 48%]

...jectCompiler.compile (/usr/lib/node_modules/layaair-cmd/compile_project.js:70:14)     at new LayaProjectCompiler (/usr/lib/node_modules/layaair-cmd/compile_project.js:27:9)     at Object.<anonymous> (/usr/lib/node_modules/layaair-cmd/layaair-cmd-compile.js:14:1)     at Module._compile (i...

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

96. laya.d3.core.light.AreaLightCom_API3.0 [ 47%]

...mber Inherited from Light.intensity Defined in laya/d3/core/light/Light.ts:70 灯光强度。 Parameters value: number Returns void lightWorldMatrix get lightWorldMatrix(): Matrix4x4 Inherited from Light.lightWorldMatrix Defined in laya/d3/core/light/Light.ts:172 Returns Matrix4x4 lightmapBakedType ...

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

97. 多行输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...e; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; this.owner.addChild(ta); } } (代码中的图片资源来自“引擎API使用示例”项目,开发者可以自行创建下载) 运行结果: (图2-1) Copyright ©Layabox 2026 all right reserved,powe...

来源: Laya3.0_文档 发布时间: 20251010

98. 人物行走图动画 [ 47%]

...ceSize": {"w":32,"h":48} }, {  "filename": "walk_03.png",  "frame": {"x":70,"y":2,"w":32,"h":48},  "rotated": false,  "trimmed": false,  "spriteSourceSize": {"x":0,"y":0,"w":32,"h":48},  "sourceSize": {"w":32,"h":48} }, {  "filename": "walk_04.png",  "frame": {"x":104,"y":2,"w":32,"h":48}, ...

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

99. 屏幕方向:自动横屏与自动竖屏的设置详解(JavaScript-LayaAir基础篇(JS)-屏幕适配) [ 47%]

...n() { //图片 var img = new Laya.Image(); img.centerX = 0; img.centerY = -70; img.skin = "res/monkey2.png"; Laya.stage.addChild(img); //文字 var text = new Laya.Label(); text.text = "游戏的水平方向"; text.color = "gray"; text.fontSize = 100; text.centerX = 0; text.centerY = 50; Laya.stage....

来源: Laya2.0_文档 发布时间: 20210715

100. 屏幕方向:自动横屏与自动竖屏的设置详解(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 47%]

...片 var img:Laya.Image = new Laya.Image(); img.centerX = 0; img.centerY = -70; img.skin = "res/monkey2.png"; Laya.stage.addChild(img); //文字 var text:Laya.Label = new Laya.Label(); text.text = "游戏的水平方向"; text.color = "gray"; text.fontSize = 100; text.centerX = 0; text.centerY = 50; ...

来源: Laya2.0_文档 发布时间: 20210715