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

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

3161. 微信小程序里加载json文件 [ 54%]

...载json文件:   Laya.loader.load("json/dropData.json",Handler.create(this,readJsonFinish3) ,null,Loader.JSON );     然后报错:   排除法处理了下,发现是json里有中文的原因。这个微信小程序怎么读取有中文的配置的json啊? 附件 : --> 2018-05-19 1 条评...

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

3162. TiledMap通过名字获得MapLayer怎么都是Null [ 54%]

...,有两个层,想获得其中叫Map的层,代码如下 var layer = this.tilemap.getLayerByName('Map'); 获得的layer 对象为null 层的信息如图 附件 : --> 2018-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

3163. "Utils3D:unidentified class type in (.lh) file." [ 54%]

...rao 相关问题 2.0.0编译报错Cannot find global type 'Array' Warning!,this class[MiniAdpter] already exist: Object {init: } 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 Failed to load resource: net::ERR_FILE_NOT_FOUND Uncaught Can not find class laya....

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

3164. 背景音乐在微信小游戏中播放问题 [ 54%]

...接 提交 1 个回复 bpmf_d 赞同来自: Laya.stage.on(Laya.Event.FOCUS,this,()=>{}); 可以加一个获得焦点的监听 得到焦点的时候就开始播 2019-05-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 天蝎の尾巴 ...

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

3165. drawTexture的matrix参数是怎么用的 [ 54%]

...matrix = matrices[(tileRotates && tileRotates[idxOnTilemap]) || 0] this.graphics.drawTexture(tileTexture, position.x, position.y, tileSize, tileSize, matrix) })这段是应用代码 2018-07-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录...

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

3166. WASM function signature mismatch [ 54%]

...提示TypeError: xxx is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function ide导出ui时,UI代码显示不正常在小游戏中会报错:gameThirdScriptErrorn.sort is not a function Uncaught TypeError: tex.once is not a function 安卓手机 WASM很多报...

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

3167. laya3d 增加全局触控 [ 54%]

...精确到建模射线检测, 直接使用全局触控即可   var _self = this; document.addEventListener("mousedown",function(event){_self.onActDown(event);},false); document.addEventListener("mouseup",function(event){_self.onActUp(event);},false); document.addEventListener( 'touchstart', function...

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

3168. frameLoop定时器里面写的代码不生效? [ 54%]

...tion = 300; //这一行界面上能显示出旋转 Laya.timer.frameLoop(1, this, rotateWheel); function rotateWheel() { //这个方法里的在界面上不显示旋转     tItem.wheelLeft.rotation +=1; } 2017-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

3169. 你好,请问一下 [ 54%]

...一个list,现在是找红框里面的(这个是最外面那个list, this.countDetails.array),那countPlayers的这个呢 星竹 • 2018-05-23 10:25 我是说list里面的list,怎么赋值(list 列表嵌套另外一个列表),怎么找到里面的那个list并赋值 Laya_Aaron • 201...

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

3170. 类似于list下的按钮监听 !如何去做。 [ 54%]

...3:26 给 Sprite 中 按键设置name ,然后通过 Sprite.on(Event.CLICK,this,yfqian_GameUi); public function yfqian_GameUi(e:Event):void{ trace("Sprite:",e.target.name) }

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