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

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

71. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 48%]

...Loading, null, false)); // 侦听加载失败     Laya.loader.on(Event.ERROR, this, onError);     this.moveover =true;     function onAssetLoaded(texture)     {         console.log("加载结束");         pic="res/castlebeyond.jpg";         this.bgimg = new L...

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

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

示例打地鼠发布打包后提示TypeError: 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 Conn...

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

73. dcc下载超时 [ 43%]

...enGLRenderer(7884): Failed to set EGL_SWAP_BEHAVIOR on surface 0x9bafc7a0, error=EGL_SUCCESS 07-04 20:55:27.710: D/(7884): HostConnection::get() New Host Connection established 0x9cc2aab0, tid 7900 07-04 20:55:27.713: I/0(7884): >>>>>>>>>>>>>The network has cha...

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

74. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 43%]

...sionCode:1 PreInstalled:No Foreground:No Pid:19883 Uid:20010080 Reason:TypeError Error name:TypeError Error message:Cannot read property getContext of undefined Stacktrace: Cannot get SourceMap info, dump raw stack: at func_main_0 (entry|entry|1.0.0|src/main/ets/MainAbility/MainAbility.ts:9:47) hdc ...

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

75. app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 [ 43%]

...failed 2018-01-09 20:50:15.646 ZhuaWawa[2531:1863829] JCFileRes::onDownloadError file error[1]:file:///var/mobile/Containers/Data/Application/1BB9B6D6-4FF0-4A51-9504-EDDD8FD5E2C3/Library/Caches/localstorage/logo/logo.png 2018-01-09 20:50:15.650 ZhuaWawa[2531:1863829]  require(/sdcard/layabox/script...

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

76. 预制体模块 · LayaAir3文档 · LAYABOX [ 42%]

...Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): void { //...

来源: Laya3.0_文档 发布时间: 20241014

77. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): void { //...

来源: Laya3.0_文档 发布时间: 20251105

78. 引擎 TiledMap 居然不支持图块翻转 [ 36%]

...          if (tSrcNum < 0) {                 console.log("[error]path does not exist", this._pathArray, tImageArray, resPath, relativePath);             }             for (i = 0; i < tSrcNum; i++) {                 if (i == 0) {                     tR...

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

79. laya.device.media.Video [ 33%]

... : Boolean[read-only] 返回音频/视频的播放是否已结束 Video  error : Boolean[read-only] 返回表示音频/视频错误状态的 MediaError(JS)对象。 Video filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于sta...

来源: laya_api 发布时间: 20170929

80. laya.device.media.Video [ 32%]

... : Boolean[read-only] 返回音频/视频的播放是否已结束 Video  error : Boolean[read-only] 返回表示音频/视频错误状态的 MediaError(JS)对象。 Video filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于s...

来源: Laya2.0_api 发布时间: 20190513