大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0088 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
... 请问如何知道 下面全部被加载完成???? this.sk_51.loadAni("bis_51.sk"); this.sk_71.loadAni("bis_71.sk"); this.sk_81.loadAni("bis_81.sk"); 2017-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20170912
app打包后黑屏 检查后找到原因是因为这一句:this.graphics.alpha(0.7); 请问是什么原因,项目在下面 附件 : --> layer.rar 2017-02-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuix...
来源: Laya_社区 发布时间: 20170207
...ideContainer.addChild(interactionArea); gameContainer.on(Event.MOUSE_DOWN, this, downHandler); gameContainer.on(Event.MOUSE_UP, this, upHandler); } private function moveHandler():void { interactionArea.graphics.drawCircle(Laya.stage.mouseX, Laya.stage.mouseY, 30, "#ff0000"); } private function upHan...
来源: Laya_社区 发布时间: 20170315
...ar CommonDlg = (function (_super) { function CommonDlg() { CommonDlg.super(this); } Laya.class(CommonDlg, "CommonDlg", _super); var _proto_ = CommonDlg.prototype; _proto_.closeEffect = Laya.Handler.create(null, this.onCloseEffect, null, true); _proto_.onCloseEffect = function () { console.log("in on...
来源: Laya_社区 发布时间: 20171107
...ction(gridX,gridY){ var tSprite=new GridSprite(); tSprite.relativeX=gridX *this._map.gridWidth; tSprite.relativeY=gridY *this._map.gridHeight; tSprite.initData(this._map); this._gridSpriteArray.push(tSprite); return tSprite; }这个根本是新建一个GridSprite,而不是返回现有的吧,这...
来源: Laya_社区 发布时间: 20161228
粒子图片错误 Laya.loader.load("res/yan.part", Laya.Handler.create(this, this.onAssetsLoaded), null, Laya.Loader.JSON); var yan = new Laya.Particle2D(settings); yan.emitter.start(); yan.play(); this.particlesPos.addChild(yan); 编辑器里面设置是对的 但是在网页上运行,图片...
来源: Laya_社区 发布时间: 20181220
...一句: let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("dropBox", this.dropBox.create, this.dropBox);天啊,this.dropBox都没有初始化,怎么知道是dropbox那个呢??? 2019-09-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20190907
...样的。你这样调整下就行了: function showui() { showui.super(this); var arr2 = new Array(); arr2.push(this.dimg); this.dimg.on(Laya.Event.CLICK, this,apeclick2, arr2); } function apeclick2(that) { console.log("apeclick sucess"); that.skin = "../img/5.jpg"; console.log(that); that.zOrder ...
来源: Laya_社区 发布时间: 20170217
...元件(iamge)可以单击,但是mouseThrough 为 true 就不行, this._imgHome.mouseThrough = true; this._sprHome.mouseThrough = true; this.panel.mouseThrough = true; 附件 : --> T29_cityTest2048_-_副本.zip 2018-05-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180504
...报错 Laya.loader.load(slot_sound_res, Laya.Loader.SOUND, Handler.create(this, onSoundProgress, null, false)); //游戏资源加载进度函数 function onSoundProgress(pro) { console.log("sound" + pro); } 这样写哪里错了? 2016-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20161216