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

大约有 87 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0030 秒)

61. 微信小游戏开放域(ActionScript-小游戏适配文档-微信小游戏) [ 48%]

...las/test.atlas", "json/reward.json"],Handler.create(this,onComplete)); } }.bind(this)); ``` onComplete方法,注意与原版有部分修改。 ```typescript private function onComplete():void() { //获取资源 var testJosn:* = Laya.loader.getRes("json/reward.json"); //输出透传过来的json co...

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

62. 打包出现问题 [ 48%]

...样了, 这不是长久解决办法   提示的错误: fs.js:558 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/Developer/xcode/projects/game_dev/180106JumpAJump/code.git/JumpLaya/release/layaweb/0.9/js/core/UIInterfac...

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

63. 微信小游戏开放域(JavaScript-小游戏适配文档-微信小游戏) [ 48%]

...tlas", "json/reward.json"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); ``` onComplete方法,注意与原版有部分修改。 ```typescript onComplete() { //获取资源 var testJosn = Laya.loader.getRes("json/reward.json"); //输出透传过来的json console.log('透传的json...

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

64. laya.d3.graphics.VertexBuffer3D [ 47%]

...d Public Properties Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer : *[static] Buffer bufferUsage : int[read-only] Buffer _byteLength : int = 0Buffer  canRead : Boolean[read-only] 获取是否可读。 VertexBuffer3D  create : Funct...

来源: laya_api 发布时间: 20170929

65. 模拟石头下落过程不明抖动 [ 46%]

...息:" + message); // }; // Game.inst.start(); setInterval( this.addball.bind( this ),500); } public addball(){ for( let i:number = 0 ; i < 6; i++){ let ball = this.getObj(); ball.x = (i%6) *150 ball.y = -200 Laya.Tween.to( ball,{y: 1500 } ,5000,Laya.Ease.linearOut,Laya.Handler.create(this,this....

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

66. linux系统运行layaair-cmd报错 [ 46%]

...d compile 后报下面的错误。   sp.stdout.on("data", this.emitStdout.bind(this));           ^   TypeError: Cannot read property 'on' of undefined     at LayaProjectCompiler.compile (/usr/lib/node_modules/layaair-cmd/compile_project.js:70:14)     at new LayaProjectCompiler (/usr/lib/n...

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

67. laya.d3.graphics.IndexBuffer3D [ 46%]

...d Public Properties Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer : *[static] Buffer bufferUsage : int[read-only] Buffer _byteLength : int = 0Buffer  canRead : Boolean[read-only] 获取是否可读。 IndexBuffer3D  create : Functi...

来源: laya_api 发布时间: 20170929

68. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 46%]

...test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); }else { Laya.loader.load("res/atlas/test.atlas",Laya.Handler.create(this,this.onComplete)); } ​ } ​ onComplete(): void { //初始化rank排行榜 var rank = new BigRank(); //初始化 rank.init(); }  然后...

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

69. 使用百度地图显示当前位置(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 44%]

...s, onError)); // 绑定作用域 convertToBaiduCoord = convertToBaiduCoord.bind(this); ``` ​ 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1。百度地图界面的初始化放在init()中。然后是监听设备位置的变化。最后需要注意,函数convertT...

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

70. Cannot read property 'toDefault' of undefined报错是什么原因 [ 44%]

...rrorHandler); // 绑定作用域 convertToBaiduCoord = convertToBaiduCoord.bind(this); })(); 2017-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 你这个问题是打包APP遇到的...

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