大约有 1,013 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0063 秒)
...:GameCpActivity 10-13 17:31:16.691 6514-6514/com.vivo.vs I/chromium: [INFO:CONSOLE(107)] "Warning!,this class[MiniAdpter] already exist:", source: file:///data/data/com.vivo.vs/files/.game/854584523/1.0.10/libs/laya.core.js (107) 10-13 17:31:17.631 6514-6514/com.vivo.vs I/chromium: [INFO:CONSOLE(25)...
来源: Laya_社区 发布时间: 20181013
...里正常运行 aFun(){ return i.__awaiter(this,void 0,void 0,function*(){ console.log("111"), yield xxxx, }) } 类似于这种,在微信开发者工具里运行正常,但是在真机上却无法执行。 求问各位大佬指点一二。 2020-04-21 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20200421
...Main extends Laya.Script { private aStarInstance: AStarFinder; onStart() { console.log("Game start"); // 0表示通路,1表示障碍 let myMatrix = [ [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 1, 1, 0, 1, 1, 0], [0, 0, 1, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 1, 0], [1, 1, 1, 0, 1, 0,...
来源: Laya3.0_文档 发布时间: 20251010
...adOver():void{ let res = Laya.loader.getRes("game/texture.png"); console.log("res 加载成功?",res!=null) } 这样写,始终加载不出来,获取的res 始终为空,Layaair2.0
来源: Laya_社区 发布时间: 20170220
Laya2.3的promise有问题 连一个简单的 async test() { console.log('连打印都无法'); } 在微信小程序(真机)环境里面的打印都执行不下去,都报错, 模拟器和浏览器都是正常的, 我试过IOS和android都会报错,真机会报错,执行不进去 附件 : --> ...
来源: Laya_社区 发布时间: 20190929
...屏幕以外100像素 就算游戏结束 if( this.y > (480 + 100)){ // console.log('gameOver'); return; } } //开始跳 _proto.gotoJump = function(){ this.playAction(Player.JUMP); } //开始跑 _proto.gotoRun = function(){ this.playAction(Player.RUN); } //开始飞 _proto.gotoFly = function(){ th...
来源: Laya_社区 发布时间: 20160801
...ss: function (res) { wxd.shareUrl = res.tempFilePath wxd.ShareAppMessage() console.log(res.tempFilePath) } }) 一直报错[ts] The 'this' context of type 'typeof wx' is not assignable to method's 'this' of type 'string'. canvasId也是我乱写的 如果才能正确获取小游戏当前画布的canv...
来源: Laya_社区 发布时间: 20181128
...t1 = -1; } console.log(count1); count1++; }); 上面的sp.graphics.clear()不起作用 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170817
...de 2.4 layaair2-cmd 编译报错 web端打包发布后能不能自动删除console.log new Laya.Sprite();绘制图形以后,怎么删除释放资源? 问题状态 最新活动: 2023-09-19 10:05 浏览: 5218 关注: 2 人 zyy • 2023-09-19 09:26 都讲了 操作失误 发现的一个bug zyy • ...
来源: Laya_社区 发布时间: 20230918
...e if (this.sOS == "Conch-android") { this.bridge.call("loading", value); } console.log("loadingView.prototype.loading=" + value); } }; 这个方法就没有调用,是需要在哪调用吗? 怎么调用? 2019-07-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20190724