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

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

411. 节点的visible在初始化的时候生效,但是在Event的方法里面不生效 为什么呢? [ 71%]

...效 为什么呢? 2017-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 不清楚你的具体操作,请提供可运行的有问题的示例,我们看下? 2017-09-21 0 1 分享 ...

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

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

...le.js可以拆分吗 2019-04-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 bingqimao 赞同来自: 为什么一直没人回答这个问题 2019-06-05 0 2 分享 微博 QZONE 微信 xiaocai 赞同来自: 有同...

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

413. laya.resource.Texture2DArray_API3.0 [ 71%]

...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors co...

来源: Laya3.0_api 发布时间: 20231115

414. webaudio 在iframe中使用, android chrome中没声音 [ 71%]

...止iframe中的跨域webaudio自动播放。参考Block Web Audio autoplay on cross origin iframes https://bugs.chromium.org/p/ch ... 14115   为了解决这个问题,我又参考了https://github.com/photonstorm/phaser/issues/2913 在引擎WebAudioSound源码中添加了几行,解决了问题...

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

415. 分享一下自己的屏幕适配方案 [ 71%]

...标 this.ImgX=this.Img.x; this.ImgY =this.Img.y; this.layout(); Laya.stage.on(Laya.Event.RESIZE, this, this.layout); Laya.stage.on(Laya.Event.ADDED, this, this.layout);   layout(){ var bWidth:number = Browser.width; //浏览器的宽 var bHeight:number = Browser.height;//浏览器的高   var wRat...

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

416. list ,增加item ,我想在末尾增加,但是每次都给我翻倍的增加,如何解决 [ 71%]

...是每次都给我翻倍的增加,如何解决 _proto.room_xinxi=function(){ this.roombg=new Laya.Image($mj.Curr_Game_ImagePath + "hall/room_bg.png"); this.roombg.pos(50,150); this.addChild(this.roombg); var button = new Sprite(); button.loadImage($mj.Curr_Game_ImagePath + "hall/room_jiesan.png");...

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

417. 加上size设置后,精灵不能点击. [ 71%]

...点击,f不能点击.但是吧size那行代码注释掉就正常了. function createImg(){ var img = new Laya.Sprite(); var r = Math.random(); var s = r > 0.66 ? "img/flower1.jpg" : r > 0.33 ? "img/flower2.png" : "img/flower3.jpg" img.loadImage(s); img.on(Laya.Event.CLICK, this, () => { img...

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

418. tiledMap场景切换问题 [ 71%]

...什么的都变了 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 销毁场景,你把事件销了吗? 2018-06-05 0 2 分享 微博 QZONE 微信 网林 赞同来自: 同问...

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

419. TypeError: Cannot read property 'getSubShaderAt' of undefined [ 71%]

...。  附件 : --> 2020-04-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 139*****240 赞同来自: 大佬你的这个问题解决了吗? 2020-08-13 0 0 分享 微博 QZONE 微信 1603711424用户 赞同来...

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

420. timeline 类动作节点回调 [ 71%]

...点。   感谢! 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 callback 赞同来自: https://layaair.ldc.layabox.com/demo/?category=2d&group=Tween&name=TimeLine   function createTimerLine(...

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