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

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

1. 针对2.0.0 beta5 setLoadingPage 做增强 [ 100%]

...eturn let scene = await this._getLoadingScene(url) this._loadScene = scene Laya.Scene.setLoadingPage(scene) } /** * 打开场景 * otherHandler 执行时间小于 loadScene 使用此方法 * otherHandler 不会阻塞 loadScene * @param {String} url 要打开的场景 * @param {Promise} otherHandler ...

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

2. playSound和playMusic结束时候有异常抛出 [ 79%]

...候有异常抛出 1. loader加载了{url:"res/music/Music_start.mp3",type:Laya.Loader.SOUND}资源 2. 加载结束后,调用Laya.SoundManager.playSound("res/music/Music_start.mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceNode){ try {sourceNode.buffer=We...

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

3. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 70%]

...peError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing an...

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

4. socket大型项目回调 [ 55%]

LayaAir引擎 socket大型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = ...

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