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

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

211. mac laya 2.5beta ts示例工程 tsconfig.json tartget 改成es5 编译报错 [ 47%]

...laya11/Tank/src/script/Bullet.ts(4,29): semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. at error (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/rollup/dist/rollup.js:9402:30) at Object.error (/Applications/LayaAirIDE_beta.app...

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

212. LAYAIDE运行VSCODE插件失败问题(VSCODE正常) [ 47%]

...ect.defineProperty(exports, "__esModule", { value: true }); const vscode = require("vscode"); function activate(context) { let disposable = vscode.commands.registerCommand('extension.buildTemplate', () => { vscode.window.showInformationMessage('build template complete.'); }); context.subscription...

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

213. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 47%]

...的报错Uncaught ReferenceError: loadLib is not defined at index.js:11 at require (WAGameSubContext.js:3) at subcontext.html:11 开放域代码到底怎么发布到主域呢 Max.魚魚魚鱼魚魚 • 2019-02-16 10:11 楼主问题解决了吗?方便的话,能分享一下2.0制作排行榜的dem...

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

214. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 45%]

...方库,报错找不到文件  Laya2.0 在Main.ts里:import protoAll = require("../libs/protoAll"); var pCls = protoAll.com.bee.protobuf.ClimbingTowerInfoProto; var p: protoAll.com.bee.protobuf.ClimbingTowerInfoProto = pCls.create(); p.curId = 10; p.isSecondPass = true;   用了第三方库prot...

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

215. LayaAirIDE 2.0 laya.wxmini.js 第3行报错! 创建3D项目(TypeScript),导出微信小游戏,选择了JS混淆,崩溃在 laya.wxmini.js 第3行,错误如下 [ 45%]

...----------------------------------- define("libs/laya.wxmini.js", function(require, module, exports, process){ "use strict"; window = window || global, window.layalib || (window.layalib = function (i, e) {   (window._layalibs || (window._layalibs = )).push({ f: i, i: e }); }), window.layalib(functi...

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

216. iOS 接入微信登录,配置了"Other Linker Flags"中加入"-Objc -all_load"后编译不通过 [ 44%]

...啊 ld: warning: ignoring file ../LayaRuntime-iOS/libs/libcurl.a, missing required architecture i386 in file ../LayaRuntime-iOS/libs/libcurl.a (2 slices) Undefined symbols for architecture i386: "_zip_file_set_external_attributes", referenced from: _zip_dir_add in libconch.a(zip_dir_add.o)...

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

217. 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

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

...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

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

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

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

220. IDE1.7.19.1beta打包apk后后,播放spine动画出现图片缺失 [ 41%]

..."></script> </script> <script type="text/javascript"> require('boot'); </script> <script src="js/Main.js"></script>......   附件 : --> codeAndResource.rar errorSpineScreenShot.png 2018-11-20 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有...

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