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

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

191. 仿<蚂蚁森林>案例——含C/S端源码 [ 51%]

... 非常感谢 有品青年 • 2018-10-11 10:45 你好,我运行是提示require is not define,是咋回事

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

192. 导入微信小游戏报错 [ 51%]

... Laya_Aaron 赞同来自: 两个问题 1是 game.js 里面第二行 改  require("./code.js");    还有一个问题是你有读取什么本地文件 不是ascii 编码吗,小游戏本地文件要ascii编码   之前提到每个游戏有4M本地物理存储空间,这里需要特别注意的...

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

193. 苹果上架直接导致账号被调查。。。 [ 51%]

...eceive an expedited review until the investigation is completed. We do not require any additional information from you at this time, nor do we have any additional details to share. We appreciate your continued patience during our investigation. Best regards, App Store Review 2019-11-08 添加评论 ...

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

194. Laya2下ts继承报错! [ 51%]

...应的类,你才能调用它。(看js文件源码的类结构部分,require的顺序,也就是对应import form的顺序是优先于类的声明的)   大概解决方法,砍掉循环,1和2,2和3,3和4之间,随便断开一个关联,使循环不成立即可。。 2018-11-17 0 2 分...

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

195. layaair1.5.4测试版本ide下调试 报protobuf错误 [ 50%]

...oto: conf_game, _callBack: null, _proxy: Proxy, _data: null…} TypeError: require is not a function at Object.ProtoBuf.Util.Util.fetch (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:354:26) at Object.ProtoBuf.loadProtoFile (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:5150:...

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

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

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

197. ts 中能使用 装饰器吗 [ 50%]

...  目录下一直有tslib模块,但是编译还是会报 “This syntax requires an imported helper but module 'tslib' cannot be found”错误,不管noEmitHelpers是不是=false。(两天了,我实在找不到方法了,才@你,大佬) 2020-03-10 0 2 分享 微博 QZONE 微信 flys 赞同...

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

198. JSONP跨域读取数据(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 50%]

...创建一个简单的服务器。代码如下: ```javascript var http = require("http"); var sever = http.createServer(function(req,res){ res.end("LayaSample.onComplete()"); }); sever.listen(9090) ``` ```javascript res.end("LayaSample.onComplete()"); ``` 这句话的意思是服务器回传给客...

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

199. JSONP跨域读取数据(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 49%]

...创建一个简单的服务器。代码如下: ```javascript var http = require("http"); var sever = http.createServer(function(req,res){ res.end("LayaSample.onComplete()"); }); sever.listen(9090) ``` ```javascript res.end("LayaSample.onComplete()"); ``` 这句话的意思是服务器回传给客...

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

200. App Updates for HTML5 Apps 这意味着iOS端就废了? [ 49%]

...you to update your existing apps as soon as possible. If your existing app requires more time to implement the guidelines, we've provided an additional six months, until March 3, 2020, to bring it into compliance. 2019-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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