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

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

211. [分享]微信小游戏声音资源批量加载卡住,临时解决方案 [ 69%]

...考修改。     关于问题的分析和推测:        我使用console.log一步步调试,最终发现是MiniSound的onCanPlay没有被调用,也就没有complete事件触发,同样的error事件也没有触发,于是就卡住了,触发不了批量加载全部完成的回调。 ...

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

212. 使用/*[COMPILER OPTIONS:normal]*/来编译分包无法生成Dictionary类的定义 [ 68%]

...(){ TestAA; Laya.stage; Stage; var a=new Dictionary(); a.set('test','aa'); console.log(a.get('test')); } __class(AAA,'test.AAA'); return AAA; })() })(window,document,Laya);  分包的文件的js执行会报错,Dictionary没有定义,因为laya.utils.Dictionary才是定义。   我上传了项...

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

213. 物理Bodies绑定Laya.Sprite [ 68%]

...ite, 不能用render.sprite render: { visible: true, // 开启渲染 } }); console.log("增加刚体..."); World.add(world, gun); 点击运行之后,屏幕都是黑色,不显示图片信息。这个感觉是有问题,还请官方来回答,非常感谢!! 2018-05-22 添加评论 免费帖 ...

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

214. [LayaAir3]laya3.3.0_beta2 list的item设置图片宽高比实际不一样,刷新会出现闪烁 [ 68%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 请问layaair2.0-js 怎么用程序在list中添加多元素的item 问题状态 最新活动: 2025-03-28 17:23 浏览: 7511 关注: 3 人

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

215. 解析sk资源报错 [ 68%]

...   private function onError():void         {             console.log("parse error");                      }     } } 附件 : --> left.rar 2017-02-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

216. 一个panel有多种渲染选项,如何将这个数据分发给各个渲染选项类? [ 68%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新活动: 2017-03-30 10:36 浏览: 1763 关注: 2 人 cry_11858 • 2017-03-30 10:47 panel怎么实现 cry_11858 • 2017-03-30 11:10 。 cuix...

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

217. 渠道对接接收不到回调 [ 68%]

... __JS__("window").conchMarket.login(JSON.stringify(sData),function(data){ console.log(data); });   java代码 // MarketTest.java文件中根据自己需求添加相关代码到LP_Login方法中, JavaScript中调用conchMarket.login就会执行LP_Login方法.public void LP_Login(final String jsonPar...

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

218. 自定义控件能否放在任意目录 [ 68%]

...了 var uiConfigPath; uiConfigPath=FileManager.getWorkPath("laya/custom"); console.log("customUI:",uiConfigPath); this.initCustomUIConfig(uiConfigPath,false); 也就是把教程的里的东西搬到 自己的项目路径/laya/custom 下 2018-05-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0...

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

219. Laya.Tween.to 有没有监听值的变化的方法? [ 68%]

...10 }, 1000, Laya.Ease.linearNone, Laya.Handler.create(this, function (p) { console.log(1) }), Laya.Handler.create(this, function (p) { console.log(p) })); 阿琴 • 2018-06-21 17:36 这样写吗?不对呀连console.log(1)都不输出了 阿琴 • 2018-06-21 11:31 static to(target: any, props: an...

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

220. 我看到这段话后,我 [ 68%]

...public get XValue(): number { return 100; } public set XValue(v: number) { console.log(v); } } var x = new XClass(); x["XValue"] = 100; 你运行一下看看呢、这能覆盖函数吗? ageazrael • 2019-08-05 15:22 dataSource你们代码写错了呀,限制属性不是function,那...

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