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

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

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

...                    /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */     "module": "commonjs",                     /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ES...

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

2. prop 识别不到 [ 93%]

...但vscode报未定义,IDE F8编译时也不通过   代码: export default class Index extends Laya.Script {     /* @prop {name: speed, tips: "速度", type: Number, default: 10} */      constructor() {         super();     }      onAwake() {     ...

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

3. ios苹果手机,同时播放声音出现巨大杂音 [ 92%]

...就是ios有问题。代码如下:附件是两个音频文件   export default class GameMain extends Laya.Scene {     constructor() {          super();          //设置单例的引用方式,方便其他类引用         GameMain.instance = this;     ...

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

4. chrome里运行游戏 游戏声音听不见 [ 89%]

...中输入chrome://flags/#autoplay-policy 然后在高亮的选项中,将Default 换成No user gesture is required   操作步骤参照截图       2018-05-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 ...

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

5. 找不到对应的资源 [error]Failed to load: res/atlas/standUp/aa.json [ 86%]

...有调对 2.用自带的图集打包,会在傍边多出一个文件夹“DEFAULT_RESOURCE”(默认_重复资源),不知道傍边多出来的这个文件夹里面放有什么文件用来做什么的?   附件 : --> T02.zip 2017-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

6. 游戏运行在chrome里面 听不见声音 [ 85%]

...中输入chrome://flags/#autoplay-policy 然后在高亮的选项中,将Default 换成No user gesture is required   操作步骤参照截图       2018-05-15 2 0 分享 微博 QZONE 微信 w1114367261 赞同来自: 你缺少手势安全确定!就是浏览器的安全限制,必须有用户...

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

7. Native 在iOS上支付失败的问题,及临时解决方法 [ 85%]

...果官方文档(链接)中有明确提示 requestData参数:  The default value is nil. If requestData is not nil, your payment request will be rejected. --默认值为nil,如果requestData不是nil,您的支付请求将被拒绝。 目前我的解决方法是注释掉payment.requestData ...

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

8. 昨天一开始运行好好的,没动别的,运行就开始报错 [ 84%]

...nts a variable, not a function Warning: D3D shader compilation failed with default flags. (ps_5_0)  Retrying with skip validation C:\fakepath(596,34-81): error X3005: '_webgl_42c649225184485b': identifier represents a variable, not a function Warning: D3D shader compilation failed with skip validat...

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

9. native 1.0.2 连不上wss [ 82%]

...ith OpenSSL support NOTICE: Doing SSL library init NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 on NOTICE: lws_context_init_client_ssl: doing cert filepath NOTICE: Loaded client cert /var/mobile/Containers/Data/Application/191B3AE2-4606-48EF-932D-E1D1A59B5773/Library/Caches/ssl.crt NO...

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

10. laya2.0调试时候Error: "abort Cannot enlarge memory arrays.这个问题定位到了Physics3D,要怎么解决呀 [ 81%]

... 修改初始化内存 window['Config3D'] && (window['Config3D']['_defaultConfig']['_defaultPhysicsMemory']=100);   2018-11-01 0 6 分享 微博 QZONE 微信 dss 赞同来自: 请问这个问题具体是哪里引起的,有方案了吗? 2018-11-28 0 0 分享 微博 QZONE 微信 永林 ...

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