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

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

231. 微信开发者工具问题 [ 70%]

...CallBack (http://127.0.0.1:15089/game/code.js:14608:25)     at Handler.__proto.runWith (http://127.0.0.1:15089/game/code.js:1151:41)     at Function.success (http://127.0.0.1:15089/game/code.js:10979:33)     at Object.success (http://127.0.0.1:15089/game/__ ... :20858)     at c (http://127.0...

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

232. Oppo加载.ls资源错误 [ 70%]

...orm/app_game/app/com.qire.SplashOppo/1/code.js:0:0     STACK:     [0]__proto._create@/data/user/0/com.nearme.instant.platform/app_game/app/com.qire.SplashOppo/1/code.js:13260     [1]__proto.create@/data/user/0/com.nearme.instant.platform/app_game/app/com.qire.SplashOppo/1/code.js:13248     [...

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

233. sprite3d 调用destroy报错 [ 70%]

.../E:/myWork/BallBlast/BallBlast/bin/libs/laya.physics3D.js:472:294)   at __proto._simulate (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.d3.js:9167:37)   at __proto._update (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.d3.js:30220:14) 附件 : --> 2018-10-29 添加评论 免费帖 -->...

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

234. 1.7.8版本Sprite3D.load问题 [ 70%]

...* *加载层级文件,并作为该节点的子节点。 *@param url */ __proto.loadHierarchy=function(url){ this.addChild(laya.d3.core.Sprite3D.load(url)); } 这个函数也是会出问题的 2017-08-09 0 0 分享 微博 QZONE 微信 183*****755 赞同来自: 请使用最新版引擎,如果还...

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

235. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 70%]

...I.__super.call(this); } CLASS$(MainSceneUI,'ui.MainSceneUI',_super); var __proto__=MainSceneUI.prototype; __proto__.createChildren=function(){ _super.prototype.createChildren.call(this); this.loadScene("MainScene"); } return MainSceneUI; })(Scene); 自动生成了这一段代码

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

236. ja语言怎么样创建一个工具类在其他地方调用 [ 69%]

... Load_.super(this); } //注册类 Laya.class(Load_, "Load_", _super); var _proto = Load_.prototype; _proto.run_Fast = function () { console.log("逻辑处理"); } return Load_; })(Laya.Sprite);我的代码,但是下面的继承位置Laya.Sprite这里不写会报错,我想请教下,我这个类...

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

237. 加载时间轴动画报错 [ 69%]

...报 TypeError:Cannot read property '_create' of null     at Animation._proto.timerLoop(file:///f:/........./bin/libs/laya.core.js:9493:14)     at Animation._proto.play(file:///f:/....../bin/libs/laya.core.js:16351:10)   请问各位大神这是怎么回事呢? 附件 : --> happyFarm.rar 2017-...

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

238. QQ玩一玩,在加载 骨骼动画 后的资源映射出问题了 [ 69%]

...得到 Laya.Loader.loaderMap 中的映射是有问题的,就是  res/protobuf/client_message.proto 和 res/uieffect/skeleton/jingyu.sk 的值都是同一个 ArrayBuffer 对象, 也就是比较后面加载的 .proto 文件资源被映射到了 jingyu.sk 文件了。   可以看到正常...

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

239. 飞机大战出现的问题注册了类New的时候报错未定义 [ 69%]

...onLoop); } //注册类 Laya.regClass(BackGround,"BackGround",_super); var _proto = BackGround.prototype; _proto.onLoop = function(){ //背景容器每帧向下移动一像素 this.y +=1; //如果背景图到了下面不可见的位置,立即调整位置到最上边 if(this.bg1.y+this.y>=852){ t...

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

240. 分离模式下使用自定义场景类 [ 69%]

...目录%\resources\app\out\vs\layaEditor\h5\layabuilder.max.js,搜索“__proto.parseTsImport”,修改该函数体内容:__proto.parseTsImport=function(str){ var tStr = str.replace("import",""); str = 'from'; str = tStr.indexOf(str) > -1 ? str : '='; tStr = StringTool$1.trimSide(tStr.split(...

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