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

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

1111. 官方案例里摄像机绕物体旋转脚本的问题 [ 25%]

...ya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpdate(): void { if (Laya.Browser.onMobile) { this.AroundByMobileInput(); } else { this.AroundByMouseInput(); } if (!this.canRotation_X) this.targetAngles.y = 0; if (!this.canRotation_Y) this.targetAngles.x = 0; //Lerp. this.CurrentAngles = this.LerpV...

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

1112. 安卓端概率性崩溃 [ 24%]

...java.lang.Thread.run(Thread.java:818)   #830 GLThread 830 1 layaair.game.browser.ConchJNI.onDrawFrame(Native Method) 2 layaair.game.browser.e.onDrawFrame(Unknown Source) 3 android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1590) 4 android.opengl.GLSurfaceView$GLThread.run(GLSur...

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

1113. [LayaAirIDE3]xcode切入切出声音不播放 [ 22%]

.../ 添加延迟补偿(解决iOS后台冻结问题)         if (Laya.Browser.onIOS) {             Laya.timer.once(100, this, () => {                 this.lastKnownPositions.clear();                 this.effectChannels.clear();             });         } else {...

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

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

...is, this.animate);                 this._preFrameTime = Laya.ILaya.Browser.now();                 this._frameIndex = 0;                 this._time = 0;                 this._interval = 0;             }             this._spriteNum++;             this....

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

1115. WebSocket通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 19%]

...a.Image(); img.size(110, 145); // 设置图片显示大小 img.skin = Laya.Browser.window.URL.createObjectURL(new Blob([uint8Array], { type: 'image/png' })); img.centerX = 0; // 设置图片居中显示 // 将图片添加到舞台显示 Laya.stage.addChild(img); } else { console.log("收到数据:",...

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

1116. 打包安卓Android studio黑屏 [ 19%]

...ator with package name = com.google.android.webview, sandboxed = true I/cr_BrowserStartup: Initializing chromium process, singleProcess=false D/ConnectivityManager: requestNetwork and the calling app is: com.layabox.test W/om.layabox.tes: Accessing hidden method Landroid/view/textclassifier/logging/...

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

1117. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 18%]

...      if (this.x + t.width / 2 < 0 || this.x - t.width / 2 > Laya.Browser.width || this.y < 0 || this.y - t.height > Laya.Browser.height) {                 this.visible = false;             } else {                 this.visible = true;                 thi...

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

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

...ooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0 I/BrowserProcessMain: Initializing chromium process, renderers=0 W/chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation D/libEGL: loaded /system/lib/egl/libEGL_adreno.so   ...

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

1119. 网络通信 · LayaAir3文档 · LAYABOX [ 15%]

...时通信,并且允许跨域通信。在建立连接后,服务器和 Browser/Client Agent 都能主动的向对方发送或接收文本和二进制数据。我们先来了解下 Socket 的用法 3.1.1 Connect 服务器 Socket 连接服务器有三种方式: 方式 说明 构造函数传参 立...

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

1120. 运行配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 14%]

...自定义一个全局错误 let err = new Error("自定义的Error"); Laya.Browser.window.onerror(err.message, "", "", "", err); 运行时,就会弹窗抛出异常,效果如图5-4所示。 (图5-4) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-12...

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