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

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

321. [0]laya-zip让你的游戏加载速度提升350%!! [ 36%]

...载指定文件资源。[size=14][code]// Loads the file at the specified path and uses it Laya.loader.create([{ url: "xx.zip", type:"ZIP",constructParams:["xx/xxx1.lh","xx/xxx2.lh"]}], Laya.Handler.create(this, () => { let player1 = Laya.loader.getRes("xx/xxx1.lh").clone(); let player2 = Laya.lo...

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

322. 运行器在手机上一打开就崩溃 [ 36%]

...tion: Didn't find class "org.apache.http.impl.client.DefaultHttpClient" on path: DexPathList[[zip file "/data/app/com.layabox.conch5-WmvUfm1cYXmz3ehb96As4g==/base.apk"],nativeLibraryDirectories=[/data/app/com.layabox.conch5-WmvUfm1cYXmz3ehb96As4g==/lib/arm64, /data/app/com.layabox.conch5-WmvUfm1cYXm...

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

323. laya.display.Node_API3.0 [ 36%]

...splay/Node.ts:1009 获取timer Returns Timer url get url(): string set url(path: string): void Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void Method...

来源: Laya3.0_api 发布时间: 20231115

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

...5 I C02c11/APPSPAWN: [appspawn_service.c:569]bundleName com.layabox.game soPath 01-06 17:34:41.531 335 335 I C02c11/APPSPAWN: [appspawn_service.c:569]Access token apl normal renderCmd invalidparam ownerId 6918687785288995859 01-06 17:34:41.531 335 335 I C02c11/APPSPAWN: [appspawn_service.c:569]uid 2...

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

325. 用模块器报错,真机不会有这个问题,具体看补充 [ 35%]

...sing code cache capacity to 256KB W/System: ClassLoader referenced unknown path: /data/app/com.layademo-1/lib/x86           [ 02-16 02:37:06.759  1874: 1874 D/         ]           >>>>>>>>>>>>>>>>>>>>>>>> E/LayaGa...

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

326. laya.ui.AutoBitmap_API3.0 [ 35%]

...destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructo...

来源: Laya3.0_api 发布时间: 20231115

327. 安装layaair2-cmd一直失败 [ 34%]

...ecycle true 31918 verbose lifecycle jpeg-recompress-bin@4.0.0~postinstall: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\jpeg-recompress-bin\node_modules\.bin;C:\Users\Administr...

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

328. 如何使用vscode编译laya项目 [ 33%]

...ire.single.../lib/taskTree: 0.718ms gulp.js:8 laya_ide_time.require.single.path: 0.0239ms gulp.js:8 laya_ide_time.gulp.all.require: 82.6ms gulp.js:27 laya_ide_time.require.single.../package: 0.696ms gulp.js:8 laya_ide_time.gulp.exec: 5.33ms gulp.js:251 env.modulePackage:3.9.1 gulp.js:119 Working dir...

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

329. VSCode高效开发工作流配置指南(TypeScript-IDE篇(TS)-代码模式基础) [ 32%]

...workspaceRoot}", "userDataDir": "${workspaceRoot}/.laya/chrome", "sourceMapPathOverrides": { "src/*": "${workspaceRoot}/src/*" } } ] } ``` > 需要重点注意的是, > > 在runtimeArgs里,之前LayaAirIDE创建项目的时候," --disable-web-security"这里,--前有个空格,在之前很...

来源: Laya2.0_文档 发布时间: 20210715

330. 打包安卓Android studio黑屏 [ 32%]

...ctivityThread: Attach thread to application I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.layabox.test#10205#256 I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.layabox.test#10205#0 W/om.layabox.tes: JIT profile information will not be re...

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