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

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

111. <分享>关于位图字体或者XML加载的微信小游戏无法显示的问题 [ 51%]

...析器 解决方案 下载xml解析库,引入方式: 1 window.Parser = require("./js/dom_parser"); 和此库相同的还有 xmldom库:https://github.com/jindw/xmldom 需要在相应的文件目录下面放置 需要配合的有 微信小游戏fnt 最后要远程加载laya官网介绍的位图...

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

112. dcc下载超时 [ 50%]

...lsParamSize: unknow param 0x00008256 07-04 20:55:27.510: W/cr_media(7884): Requires BLUETOOTH permission 07-04 20:55:27.542: I/cr_DRP(7884): No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp 07-04 20:55:27.587: W/cr_AwContents(7884): onDetachedFromWindow ...

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

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

...t;&gt;after I/LayaBox: found the file in the package:app.json I/LayaBox:  require(/sdcard/layabox/scripts/scripts/index.js) I/LayaBox:  require(/sdcard/layabox/scripts/index.js) I/LayaBox: found the file in the package:scripts/index.js I/LayaBox:  =================================================...

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

114. 借助AMD来解决HTML5游戏开发中的痛点 [ 49%]

...用LayaIDE来创建项目,因为要使用LayaAir引擎的库文件。 ## requirejs 从requirejs官方下载库文件,目前的最新版本是2.3.4,这是下载链接[http://requirejs.org/docs/rele ... re.js][lib]。把下载的库文件放入`./bin`目录,并且在index.html增加文件引...

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

115. 自定义场景继承导出,会在自定义类中加入Laya.前缀导致layaMaxUI文件报错 [ 49%]

...ya前缀"]; }else{     prevTasks = ["替换Laya前缀"] }  const fs = require("fs");  function readFile(path) {     if (fs.existsSync(path)) {         return fs.readFileSync(path, "utf-8");     }     return null; } gulp.task('替换Laya前缀', function(){          ...

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

116. 小游戏发布工具与小游戏目录介绍(TypeScript-小游戏适配文档-微信小游戏) [ 48%]

...index.html里引用,而是在项目中引用了,或者是AS项目里用require的方式引用了。那都不会合到code.js。这时候,还是要手动针对自己使用的库,尤其是第三方库,进行手工复制。 #### `res`资源目录 res是默认的资源目录,小游戏由于...

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

117. 微信小游戏提审后,提示说代码侵权 [ 46%]

...意义的代码 */ const LINENUM = 20; const LINENUM_RADOM = 13; var fs = require('fs'); var path = require('path'); var filterFils = ["Base64", "ThemeAdapter","AssetAdapter", "Platform", "wxgamesdk"];//忽略文件 var filterDirs = ["xxxx"];//忽略目录 var traceName = "xxxx";//添加的干扰代...

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

118. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 46%]

...ackage:app.json 05-16 15:59:50.206 7562-7605/com.dihong.testdcc I/LayaBox: require(/sdcard/layabox/scripts/scripts/index.js) 05-16 15:59:50.206 7562-7605/com.dihong.testdcc I/LayaBox: require(/sdcard/layabox/scripts/index.js) 05-16 15:59:50.207 7562-7605/com.dihong.testdcc I/LayaBox: found the file ...

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

119. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 44%]

...com.layabox.run.*//LayaCache//appCache/da25d557/filetable.txt I/LayaBox:  require(/sdcard/layabox/scripts/config.js) I/LayaBox: found the file in the package:scripts/config.js I/LayaBox: JSRuntime::callMethod {} demo.J*ridge bgColor     JSRuntime::callMethod {} demo.J*ridge setFontColor I/LayaBox...

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

120. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 43%]

...      /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */     /* Experimental Options */     // "experimentalDecorators": true,        /* Enables experimental support for ES7 decorators. */     // "emitDecoratorMe...

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