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

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

221. 【LayaAirIDE 1.8.2】使用Rollup打包js ,报错 ui is not defined,附带 必现问题 DEMO [ 40%]

...重新传了一次,DEMO目录我把 bin目录去掉了,还有node_modules 模块也去掉了,麻烦你们查看DEEMO的时候,使用 npm install 安装下 node_modules    我这边想做的就是,目前的想法就是 利用 LayaIDE 编译ts为js ,然后用 rollup来打包 bin目录下...

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

222. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 39%]

... var ProtoBuf = Browser.window.protobuf;     ProtoBuf.load("protobuf/awesome.proto", onAssetsLoaded);   本地预览,h5环境下都运行得好好的,但在微信小游戏(编辑器)环境下会报这个错误: WAGame.js:4 request:fail invalid url "protobuf/awesome.proto" 附件图片...

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

223. APP二次开发传字符串过长问题 [ 38%]

...串。但是native打包安卓APP后, ExportJavaFunction.CallBackToJS(Test.class,"test",str); 二次开发中 APP调用JS方法的时候str字符串过长有丢失,请问是否有这个问题呢?请帮忙查看下? (字符串大概只收到1000个字符左右) 原字符串(在JAVA端打...

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

224. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 32%]

...------------------- [16:39:18] Working directory changed to D:\laya\2.2.0\resources\app [16:39:18] Using gulpfile D:\Users\Administrator\Personal\myLaya2.2\Client\.laya\compile.js [16:39:18] Starting 'tsc'... [16:39:18] Starting 'CopyNoneTSFile'... [16:39:18] Finished 'CopyNoneTSFile' after 169 ms e...

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

225. Laya构建App后AndroidStudio中用真机调试模式下运行,App打开了,但是不能打开游戏的问题。 [ 32%]

...是不能打开游戏的问题。 06-20 19:10:18.120 5371-5371/com.ReleaseTest.Four E/LayaGameEngine: game_plugin_set_option key=localize value=false 06-20 19:10:18.120 5371-5371/com.ReleaseTest.Four E/LayaGameEngine: game_plugin_set_option key=gameUrl value=http://192.168.0.145/Release/l ... .html ...

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

226. ts加密md5码封装 [ 32%]

...装 tsconfig.json { "compilerOptions": { "module": "commonjs", "target": "es6", "sourceMap": true }, "exclude": [ "node_modules" ] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static ...

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

227. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 32%]

...在LayaAir IDE下进行调试和开发的。通常情况不会接触到typescript的“编译”和bundle过程。这节我们要深入了解其中的过程,并剥离出来,能够在VsCode中直接运行项目,实时编译调试。   2.LayaAir的编译流程 打开LayaAirIDE的文件夹 LayaA...

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

228. 显存优化:纹理压缩的使用(TypeScript-2D进阶篇(TS)-性能优化) [ 29%]

...动端,Android平台的主流纹理格式是ETC(Ericsson Texture Compression),iOS平台的主流纹理格式是PVRTC(PowerVR Texture Compression)。 需要特别说明的是,ETC1是不支持透明通道的,PVRTC是支持透明通道的,尽管在ETC2的时候,补全了ETC1不支...

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

229. laya.display.Graphics [ 24%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合sav...

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

230. 安装layaair2-cmd一直失败 [ 21%]

...longer maintained and not recommended for usage  due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. C:\Users\Administrator\AppData\Roaming\npm\layaair2-cmd -> C:\Users\Administrator\AppData\Roaming\np m\node_modules\layaair2-cmd\layaair2-cmd.js &gt...

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