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

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

1. Laya.URL.basePath加载不到网络资源 [ 100%]

...to load: res/atlas/images.atlas console.warn @ VM1768:1 __proto._endLoad @ code.js:13304 onLoaded @ code.js:13291 (anonymous) @ code.js:13283 __proto.runWith @ code.js:720 __proto.event @ code.js:494 __proto.onError @ code.js:12784 __proto.runWith @ code.js:720 __proto.event @ code.js:494 __proto.er...

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

2. 2.42.4bate代码编辑器自动打开 visual studio code [ 91%]

2.42.4bate代码编辑器自动打开 visual studio code 附件 : --> 2019-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 为了方便开发者更好的使用vscode,我们把vscod...

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

3. ts加密md5码封装 [ 90%]

...oncat(arr); return isArray ? result : result.join(""); } little_endian(charCode: number) { return this.split(this.padding(charCode.toString(16), 8, "0", false), 2).reverse().join(""); } range(...args: number[]) { const start: number = args.length === 1 ? 0 : args[0]; const end: number = args.length ...

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

4. 微信开发者工具问题 [ 86%]

...发者工具编译不过WAGame.js:14 Wechat Lib:2.0.8, 2018.5.17 17:08:32 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM698:1 gameThirdScriptError Unexpected token in JSON at position 134;at api readFile success callback function SyntaxError: Unexpected token in JSON at pos...

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

5. 今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined [ 86%]

...roperty 'USER_DATA_PATH' of undefined Wechat Lib:2.0.1, 2018.4.14 12:32:36 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} WAGame.js:3 gameThirdScriptError Cannot read property 'USER_DATA_PATH' of undefined TypeError: Cannot read property 'USER_DATA_PATH' of undefined     at ...

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

6. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 83%]

...细教程 RTX截图未命名1112.png Wechat Lib:1.9.98, 2018.4.4 17:39:27 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM163:1 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error @ VM163:1 Browser.__init__ @ code.js:7131...

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

7. 微信小游戏,请先初始化小游戏适配库 [ 82%]

...,请先初始化小游戏适配库 Wechat Lib:1.9.94, 2018.3.15 14:07:52 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} code.js:7132 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error Browser.__init__ @ code.js:7132 (an...

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

8. /clang:-1: linker command failed with exit code 1 (use -v to see invocation) [ 82%]

/clang:-1: linker command failed with exit code 1 (use -v to see invocation) 解了一天最后解到这里 /clang:-1: linker command failed with exit code 1 (use -v to see invocation) 相关的库都已经引入了,我的是Swift项目, 测试发现,关闭这里就不报错了     //conch...

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

9. 这个怎么解决 [ 81%]

...anonymous>) at Function.MiniAdpter.getJson (http://127.0.0.1:38746/game/code.js:34118:15) at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:38746/game/code.js:41764:25) at Handler.__proto.runWith (http://127.0.0.1:38746/game/code.js:709:28) at Function.success (http://127.0.0.1:38746/...

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

10. 真机调试 开启子域后 提示出现window is not defined [ 81%]

...代码最前面试试 试添加的位置是生成的微信项目里面的code.js 顶端   试了试 不行,添加后 微信开发工具 报错黑屏 提示 laya is not defined 真机上直接 小游戏自带默认加载100% 卡死 获得子域 sharedCanvas get_canvas_4_code(code,page) { var openD...

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