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

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

341. 2D角色动画 [ 58%]

...关的链接 提交 2 个回复 laya21126 赞同来自: bodyAni.loadAtlas(this.bodyPath).loadAtlas(weaponPath).loadAtlas(wingPath).play(0, true, bodyPath);  这种显示不完整,只有一个部件显示了 还用这种方法没看明白,是这样用的吗? 2017-09-09 0 0 分享 微博 QZONE ...

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

342. worker的问题 [ 58%]

...接报错了 "Failed to construct 'Worker': Please use the 'new' operator, this DOM object constructor cannot be called as a function." 2018-01-08 0 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 还要在index.html中写啊,我以为在as3脚本里写就行了? 2018-01-08 0 1 分享 微...

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

343. Animator如何监听播放完毕 [ 58%]

... =... 2019-02-13 0 0 分享 微博 QZONE 微信 姜波 赞同来自: 通过this.animator.getCurrentAnimatorPlayState(0).normalizedTime>=1去判断当前动画是否播放完成 2019-02-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人...

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

344. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 58%]

...function init():void { Laya.loader.load("../res/zy/zy.json",Handler.create(this,onLoadedSource),null,Loader.ATLAS); } private function onLoadedSource():void { roleAni = new Animation(); playActions(); }   2、你打包图集的时候,.json文件的prefix键是没有值的,这个是因为你直...

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

345. Animation 播放完成回调有参数吗 [ 58%]

Animation 播放完成回调有参数吗 Animation.on(Event.COMPLETE, this, bfwc); function bfwc(e){         console.log(e.target.name); }    是错误的 2017-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

346. 这是为什么啊?list.push()报错? [ 58%]

...的链接 提交 1 个回复 Dr.钟 赞同来自: push前面加一行: this.aiList = []; 2019-03-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Daze 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使...

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

347. 绑定播放完毕事件后的音频,如何暂停 [ 58%]

... Laya.SoundManager.playSound("res/audio/CoreState.mp3",1,new Laya.Handler(this,function(){ ..}) 如代码所示该音频绑定了事件, 然后调用Laya.SoundManager.stopSound("res/audio/CoreState.mp3")就直接报错 bundle.js:512 Uncaught RangeError: Maximum call stack size exceeded 多的也...

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

348. 如何检测Animation动画播放完毕后去执行方法? [ 58%]

...接 提交 1 个回复 qian 赞同来自: a372853273 ani.on(Event.COMPLETE,this,onComplete); 2018-03-20 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 a372853273 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 ...

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

349. 发微信小游戏音乐不播放,报警告 [ 58%]

...的是   Laya.SoundManager.playSound("res/sounds/bgm.mp3", 1, new Handler(this, function(){                 console.log("播放完成");             })); 2018-08-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

350. video在安卓手机上,怎么设置同层播放,还有怎么设置隐藏控制播放按钮 [ 57%]

...deoElement.style.zIndex = Render.canvas.style.zIndex+1; videoElement.src = this.url; videoElement.controls = false;//不现实控制播放按钮 // videoElement.autoplay = "autoplay";//自动播放 // videoElement.poster = GoldConsts.imgUrl; //设置在视频播放之前所显示的图片的 URL。 ...

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