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

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

91. 在UI类里调用启动类的静态函数失败了 [ 65%]

...se.backIn, Laya.Handler.create(this, this.startGame)); } birdFly(): void { console.log("我飞!"); } startGame(): void { console.log("开始游戏!"); GameMain.aaa(); } } } 2018-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

92. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 65%]

... constructor(){ super();  this.btnLogin.on(Laya.Event.CLICK,this,()=>{ console.log('btnLogin click') }) }  createChildren(){ super.createChildren(); this.loadScene('LoginScene'); }   }     import LoginScene from "./script/LoginScene" /* * 游戏初始化配置; */ export default class GameCo...

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

93. 龙骨换肤出现问题,这个问题论坛有人问过,然后说处理没有下文了?已上传demo,求解决 [ 64%]

...8-11-16 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: onGreen(){ console.log("换成绿锤子") this.greenPitchUp.visible=true; this.bluePitchUp.visible=false; let player=Player.instance; // player.anSk.showSlotSkinByIndex("HarmGreen",1); player.anSk.replaceSlotSkinByIndex("HarmGreen",1,0)...

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

94. windows10操作系统createProcess错误 [ 64%]

...特定角度下显示错误 提示错误在laya.core.js里 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 ui分离模式首次加载布局错误问题 spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什...

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

95. destroy 报错 [ 64%]

...        floor1.destroy();                     console.log("destroy~~~~~");                 }             } 附件 : --> 2018-05-14 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

96. destroy 报错 [ 64%]

...        floor1.destroy();                     console.log("destroy~~~~~");                 }             } 2018-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

97. Laya.Handler.create 加载图片回调参数问题 [ 64%]

...mg/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]);   为什么不能把Laya.Hander.create后面带的这个参数传到Function里面?       附件 : --> 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

98. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 64%]

...ar Stage=Laya.Stage; var WebGL=Laya.WebGL; var config=Config; (function(){ console.log("运行程序。"); Laya.init(1280,720,WebGL); //设置适配模式 Laya.stage.alignH=Stage.ALIGN_CENTER; Laya.stage.alignV=Stage.ALIGN_MIDDLE; Laya.stage.scaleMode="showall"; Laya.Stat.show(); //设置屏幕为...

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

99. 裁切图片后,该用什么方式去重绘出裁切后的图片 [ 63%]

...ctx.clear()         const len = points.length;         console.log("ppppppppppppppp ", points)         ctx.drawPoly(0, 0, points, "#FFFFFF", "#FF00FF", 1)     } 附件 : --> 2020-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

100. index.html修改后错误 [ 63%]

...模型无法修改scale? 不知道改如何找到错误= = laya如何重写console.log 打印错误跟信息到自己写的日志面板上 new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor 问题状态 最新活动: 2018-05-24 11:35 浏览: 1549 关注: 2 人

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