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

大约有 392 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0043 秒)

301. 打包native报错 [ 49%]

...8 13:34:09.378561+0800 test1[6479:65523]  require(/sdcard/layabox/scripts/config.js) 2019-06-18 13:34:09.379107+0800 test1[6479:65523] found the file in the package:scripts/config.js   2019-06-18 13:34:09.380089+0800 test1[6479:65523]  JSBridge bgColor: ["#000000"] 2019-06-18 13:34:09.380371+0800...

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

302. npm install layacmd -g之错 [ 49%]

...否开户,如果开启需要关掉。或者删除代理试下:  npm config delete proxy 2、确定是安装源是从官网下载。如果不是删除去官网下一份。 3、如果npm安装成功,但是layacmd安装不成功,则需要先去安装别的模块能不能正常安装,如果...

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

303. 请问一下图集打包有命令行模式吗? [ 49%]

...DE_版本号\resources\app\out\vs\layaEditor\libs\TP\AtlasGenerator.exe" --config atlasConfig就会按照配置生成图集。如果有必要,可以重命名atlasConfig,就能使用多个配置生成图集了。     以下为配置文件的详细说明 { //散图的根目录。 "inputDir": "re...

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

304. Laya2.0 的3d截图 [ 49%]

...就没必要提供方案了。 在这之前还不能生效,还需要将Config的preserveDrawingBuffers设置为false,不然读取像素的时候rgb的通道值,别的论坛里有说这样会影响性能,实际用的时候没有看出有啥差别 还有一种思路是在每次清理buff前进...

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

305. 关于LayaBox启动的问题。 [ 49%]

...alstorage/logo/logo.png I/LayaBox (12689): require(/sdcard/layabox/scripts/config.js) I/LayaBox (12689): found the file in the package:scripts/config.js I/LayaBox (12689): Download [ ]:http://192.168.137.1/public/sh ... 2.471 E/LayaBox (12689): download image file error! file:////data/data/com.klzz....

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

306. 引用游戏的JS变得很卡 [ 49%]

...不到你说的那个显存的方法.谢谢 vincent • 2017-03-22 14:47 Config.WebGLTextCacheCount=500; Config.atlasEnable=false; Config.showCanvasMark=false; Config.CPUMemoryLimit=120 *1024 *1024; Config.GPUMemoryLimit=160 *1024 *1024; Config.animationInterval=50; Config.isAntialias=false; Config....

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

307. laya教程 [ 49%]

...启用微信bin目录调试   安装后运行vscode,按Ctrl + Shift + P Configure Display Language 安装中文语言包 Extensions 搜索 debug for Chrome  安装 修改 compile.js中的sourcemap属性修改为true 或者搜索sourcemap:修改false为true 修改config.json中sourceMap属性为t...

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

308. [LayaAir1]安卓启动获取IMEI、IMSI、Mac地址的问题(layaair 1.8 + native 1.0) [ 48%]

...ndroidArtifact$IncrementalSplitterRunnable > Entry name 'assets/scripts/config.js' collided demo 我补充回复在帖子里了,不清楚是不是因为 1.0.9 文件替换我有什么遗漏的地方,辛苦帮忙看下~ 谢谢! satoxi • 2024-09-02 18:22 没问题了!谢谢!

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

309. Android实现原生截屏做不到layaair.game.conch.*(Laya一个在Android的View)的内容 [ 48%]

...map bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(bitmap); view.draw(canvas);但并不能截到Window下的layaView(出laya外的其他部分可以截到,另外注意我写了个Android项目自测,放上Android的原生组...

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

310. 横竖屏设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

... n = nameToVal[name]; return n || 0; } catch (e) { return 0; } })(s); conchConfig.setScreenOrientation(nOri); ; } 开发者可以在开发工具中,通过代码更改横竖屏的设置: 如果是直接打包的项目,则需要重新在LayaAir-IDE中构建发布一次。 2.1 iOS iOS项目构建...

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