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

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

351. [0]Clip播放丢帧以及停止动画过前的问题 [ 59%]

...播放时多调用一次_index++导致跳过第二帧。 2.已经调用过this.stop()后,又更新了this.index。导致用户在监听停止的地方修改索引会不生效。 附件 : --> 附件.docx 2021-10-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

352. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 59%]

...ngel.level; // 构造 function IsLand() { // 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = ...

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

353. 为什么说没有​ playByFrame方法 [ 59%]

...){ anifish.player.playByFrame(0,1.0,0,40,72,30); anifish.on(Event.COMPLETE,this,complete) function complete(){ alert(1) } Monica • 2017-09-27 14:22 @haiboannacom:Event前边加个Laya.看看 haiboannacom • 2017-09-27 14:25 @Monica:第三条鱼我加了这个了。也不行。anifish2那个。那...

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

354. 打开一个view界面报错 [ 59%]

打开一个view界面报错 super.createChildren(); this.createView() 2018-09-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复   赞同来自: 我不知道你要问什么 2018-09-10 0 0 分享 微博 QZONE ...

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

355. 粒子特效怎样重复使用? [ 59%]

...到粒子效果。断点看到 __proto._advanceTime办法中有进行调用this.emit()   2019-07-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

356. 解析sk资源报错 [ 59%]

..._templet = new Templet();             _templet.on(Event.COMPLETE,this,parseComplete);             _templet.on(Event.ERROR,this,onError);             _templet.loadAni("res/role/1/left/left.sk");         }                  private function parseComplete():v...

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

357. 怎么打开第二个工程 [ 59%]

...{ public function Main() { Laya.init(500,500); Laya.stage.once(Event.CLICK,this,this.clickHandler); } private function clickHandler():void { var iframe:Object = Browser.document.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex =...

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

358. Animation的createFrames为何加载不了有的图集资源 [ 59%]

...{url: "res/atlas/char_wudang01.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); this.onLoaded(); } private function onLoaded():void { //Animation.createFrames(["res/atlas/monsterbeattack/0.png","res/atlas/monsterbeattack/1.png","res/atlas/monsterbeattack/2.png"], "aa") Animation.createF...

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

359. 2.0怎样播放音效? [ 59%]

...); SoundManager.playSound("../../../../res/sounds/btn.mp3", 1, new Handler(this, onComplete)); 2018-10-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 binhuawei 相关问题 IOS系统内嵌H5游戏,退到后台,等几秒返回音...

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

360. 范例里。已经预加载资源,但是调试里面无法显示出资源。 [ 59%]

...rl: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); q8196901 • 2017-10-25 17:07 可以了 ,谢谢

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