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

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

11. 骨骼动画-Spine事件 [ 95%]

...let(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArm...

来源: Laya_示例 发布时间: 20240930

12. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 83%]

...let.on(Event.COMPLETE, this, this.parseComplete); // this.templet.on(Event.ERROR, this, this.onError); this.templet.loadAni(this.aniUrl); this.maskBox.graphics.drawRect(0,0,this.width,this.height,'#ffffff'); this.mask = this.maskBox; this.maskBox.alpha=0; // this.show(); } private parseComplete():vo...

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

13. config.jsh中无法使用confirm [ 82%]

...as-7-2-2 浪货界扛把子 • 2018-01-16 12:04 @Monica: window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); // alert("加载游戏失败,可能由于您的网络不稳定,请退出重进"); var Test=Laya.PlatformClass.createClass("com.ygames...

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

14. 【初学者】导入模型进行旋转结果出现问题 [ 79%]

...存大的问题是如何解决的? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 加载到舞台的3D模型不显示贴图 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ ...

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

15. [BUG]大量调用 graphics.drawCircle 导致错误 [ 78%]

...为什么? 已上传 Demo 附件 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 请问在layaIDE里,怎么调用微信小程序API 版本不匹配! 全局 tsc (2.2.2) ...

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

16. Maximum call stack size exceeded [ 77%]

Maximum call stack size exceeded Uncaught RangeError: Maximum call stack size exceeded     at new EventDispatcher (laya.core.js:1027)     at new Node (laya.core.js:13292)     at new Sprite (laya.core.js:13871)     at new Scene (laya.core.js:23721)     at new GameMain (bundle.js:6)     a...

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

17. 关于as版的Animation.createFrames()不能工作? [ 76%]

...reate(this, this.onLoaded), null, Laya.Loader.ATLAS); Laya.loader.on(Event.ERROR, this, onError); } protected function onError(error:String):void { trace(error); } protected function onLoaded():void { Animation.createFrames(["war/hero_fly1.png", "war/hero_fly2.png"], "hero_fly"); var animation:Anima...

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

18. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 74%]

[0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. 我使用spine3.8.75导出的文件无法使用。代码是使用的2.12.2beta1引擎示例的源码。   var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = La...

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

19. 3D网格添加刚体后设置欧拉角出现位置错误 [ 73%]

...素始终保持在最底部显示? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 如何设置Sprite的宽高和点击区域? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 版本不匹配! 全局 tsc (2.2.2) != VS Code 的...

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

20. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 72%]

...); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失败后返回 //post数据的写法 console.log(JSON.stringify(request)); this.http.send(url,JSON.stringify(request), 'post', 'text',["content-type","application/json"]); } function o...

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