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

大约有 458 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)

351. 构建android开始的那个"打开游戏"的白色界面怎么去掉? [ 57%]

...的执行顺序 将上面一大块代码放到 mPlugin = new GameEngine(this);下方 步骤二:修改res/layout/hostdemo_main.xml文件   2016-09-18 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sonilics 相关问题 写个捕鱼游...

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

352. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 57%]

...LayaAir IDE 2.2.0beta2版本报错    Laya.stage.on(Laya.Event.CLICK, this, () => {             Laya.loader.load("HallAni/star.part", Laya.Handler.create(this, (settings) => {                 let Particle2D = Laya.Particle2D;                 // ...

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

353. 关于timeline结束的问题 [ 57%]

...00, Ease.linearIn) } } timeline.play(0, true); timeline.on(Event.COMPLETE, this, function () { count++; if (count === 2) { timeline.destroy(); count = 0; } });为什么在结束的时候,会报下面的错误呢? 附件 : --> 2017-04-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

354. 求GradientColor实现背景渐变Demo [ 57%]

...Color.createByConstant(new Laya.Vector4(0.324,0.231,0.341,1));         this.bg.graphics.drawRect(0,0,720,1280,gradient.gradient);   gradient打出来全是Null 附件 : --> 2019-09-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

355. dialog如果在close动画播放完毕后删除 [ 57%]

...调 private function onClick():void { dialog.closeHandler=Handler.create(this,onClosed); } private function onClosed():void { trace("close"); } 2017-07-03 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ethan 相关问题 骨骼动画播...

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

356. .ani文件能预加载吗? [ 57%]

...on("ani/TX001.ani"); //动画播放完的事件 ani.on(Laya.Event.COMPLETE,this,(ani:Animation)=>{ ani.removeSelf(); ani.destroy(); },[ani]); ani.play(0,false); 2018-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

357. GlowFilter和TimeLine/Tween一起用的问题 [ 57%]

..., {blur: 1}, 200, null, 0);         }         t.on(Event.COMPLETE, this, function(){             sp.filters = null;         });         t.play(0, true);     };   (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebG...

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

358. 骨骼动画如何响应点击事件? [ 57%]

...事件,求助   //响应点击事件 humanSkeleton.on(Laya.Event.CLICK,this,onclickHuman);   function onclickHuman(){ console.log("onclickHuman"); } https://www.cnblogs.com/Jackie-Snow/p/8487607.html 网上的这个方式试了,没用,按照网上说是没有设置width与height 但是这个...

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

359. laya.d3.js报错 [ 56%]

...flags is not a function             bt.RayResultCallback_set_m_flags(this._btAllHitsRayResultCallback, flag);     附件 : --> 2022-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Yan 赞同来...

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

360. 小白求助,关于时间轴动画如何设置播放一次后消失? [ 56%]

...后消失? Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { var tl = new Laya.Animation(); tl.loadAnimation("democesi.ani"); Laya.stage.addChild(tl); tl.play(); tl.pos(302,650); } 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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