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

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

91. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 [ 76%]

...子切换不了卡槽的图片,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplay...

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

92. Native下http请求,Error事件中的error对象错误码全都是404 [ 76%]

...西在原生不应该会有这个问题才是的 比如说这个代码: this.hr.once(Event.COMPLETE, this, onHrCompleteHandler); this.hr.once(Event.ERROR , this ,onHrErrorHandler); this.hr.send($url, $data, $method, $responseType, $headers); private function onHrCompleteHandler():void { if(this.co...

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

93. [LayaAir3]Laya3.2.2版Spine 3.8,Spine2DRenderNode动画播放完毕后,playState返回不正确 [ 75%]

...enderNode.PAUSED   简单分析一下,_update 里调用了 stop(),将this._currentPlayTime = 0; 但是紧接着后面又将 this._currentPlayTime = state.getCurrentPlayTime(this.trackIndex); 此时 this._currentPlayTime 为非零,结果就是 if (this._currentPlayTime) return Spine2DRende...

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

94. 在浏览器里打开游戏退出时游戏会执行什么? [ 75%]

在浏览器里打开游戏退出时游戏会执行什么? this.on(Laya.Event.REMOVED,this,this.releaseUp); 我之前执行过这个方法。。但是这个方法必须是当前界面销毁或者移除的时候才执行。。如果在浏览器里,我点关闭或者手机上点返回。。那这...

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

95. 发布成微信小游戏,设置音乐startTime无效 [ 75%]

... 提交 1 个回复 Laya_Fred 赞同来自: 您好,通过您代码内的this.Music.startTime在浏览器web端上调用时可以的,this.Music在创建时候会返回一个webAudioSoundChannel时有这个属性的,在微信小游戏内,要对接微信原生的InnerAudioContext,如下图一...

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

96. [LayaNative2]Laya2.0 更新最新的2.13.9.3 16kb库会时不时的断网,导致游戏直接卡主 [ 75%]

...                 ***        I  JSWebSocketDelegate::onClose()this={public}x ws={public}x 2025-11-14 10:03:41.989  9605-10051 LayaBox                 ***          I  WebSocket onSocketCallback connection closing 30 reason 2025-11-14 10:03:41.995  9605-9751  LayaBox  ...

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

97. 苹果上架直接导致账号被调查。。。 [ 75%]

...甲包了吗?   苹果回复原文: Hello, We are unable to continue this app’s review because your Apple Developer Program account is currently under investigation for not following the App Store Review Guidelines’ Developer Code of Conduct. Common practices that may lead to an investigati...

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

98. Skeleton 类播放完成一遍后有没事件或者回调 [ 75%]

...play的第二个参数是true,监听mArmature.player.on(Event.COMPLETE,this,onComplete);即可 如果play的第二个参数是false,监听mArmature.on(Event.STOPPED, this, completeHandler);即可!   2017-08-07 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: sketon.player.on(Event.COMP...

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

99. qq小游戏网络音效无法重复播放(有复现demo) [ 75%]

...。 代码很简单,附件为复现工程,具体代码在GameUiTest.js this.imaAudioLocal.on(Laya.Event.CLICK, this, ()=>{ let resUrl = "res/audio/sound_click.wav"; Laya.SoundManager.playSound(resUrl, 1); });  this.imaAudioNet.on(Laya.Event.CLICK, this, ()=>{ let resUrl = "https://具体...

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

100. 背景音乐播放问题 [ 75%]

...ic("res/audio/Music/angelaTheme1-1_SFX_OGGSTREAM.mp3", 1, new Laya.Handler(this, this.onComplete)); 2018-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 你没有说版本,哪个系...

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