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

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

71. 打包native报错 [ 54%]

...he package:app.json   2019-06-18 13:34:09.276568+0800 test1[6479:65523]  require(/sdcard/layabox/scripts/index.js) 2019-06-18 13:34:09.277721+0800 test1[6479:65523] found the file in the package:scripts/index.js   2019-06-18 13:34:09.279091+0800 test1[6479:65523]  ===============================...

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

72. Oppo加载.ls资源错误 [ 52%]

... 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runtime_require, location: /home/game/jenkins/workspace/SafeBuild/XGame/instant-game-client/android/lib-rt-core/src/main/jni/../../../../../js-bindings/jsb_runtime.cpp:179 07-11 16:53:45.923 30921-30972/? E/jswrapper: ERROR: Uncaught...

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

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

...s脚本文件,脚本内容参照如下: ```json const {watch ,task } = require("gulp"); const {exec} = require("child_process"); function compile(cb) { //执行编译命令 layaair2-cmd compile let process = exec("layaair2-cmd compile"); process.stdout.on("data",(data)=>{ console.log(data); }); ...

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

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

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

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

75. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...js文件中,并在微信开发者工具中查看效果: const Layout = require("./engine.js").default; let sharedCanvas = wx.getSharedCanvas(); let sharedContext = sharedCanvas.getContext("2d"); // 使用XML格式的内容来描述开放数据域的界面,一般使用模板函数来构建 let ...

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

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

...的报错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

77. 微信小游戏IDE加载位图字体,提示错误 [ 47%]

...183*****291 赞同来自: 我解决了,在引入js后  window.Parser = require("./js/dom_parser"); 在core.js中   /**   *资源加载完成的处理函数。   *@param data 数据。   */   __proto.onLoaded=function(data){  在 var bFont=new BitmapFont(); bFont.parseFont(this._data,d...

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

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

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

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

...) 06-20 19:10:18.464 5371-5428/com.ReleaseTest.Four W/AudioManagerAndroid: Requires BLUETOOTH permission 06-20 19:10:18.475 5371-5431/com.ReleaseTest.Four E/ActivityThread: Failed to find provider info for com.google.settings 06-20 19:10:18.492 5371-5426/com.ReleaseTest.Four W/chromium: [WARNING:dat...

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

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

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