大约有 1,244 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1072) Laya2.0_文档(59) Laya3.0_文档(43) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 this.loadHp(); Laya.timer.frameLoop(1, this, this.aaa); private bb:number = 6; private playerHB:logic.UI.role.PlayerHealthBar; private loadHp():void { this.playerHB = new logic.UI.role.PlayerHealthBar(); this.playerHB.pivotX ...
来源: Laya_社区 发布时间: 20180102
...各种方法,就是不能旋转。unity中很简单的一个box,通过laya插件导出的。 代码见附件 附件 : --> 1.rar 2020-06-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 GameMonkey 赞同...
来源: Laya_社区 发布时间: 20200611
.../ letterList.length) * z, 0, bg.width / letterList.length, bg.height / 2); Laya.stage.addChild(letter); letter.on("click", this, (function(para){ console.log("z:"+z+";para:"+para+";letterList[para]:"+letterList[para]); return function () { alert("z:"+z+";para:" + para + "I'm letter " + letterList[pa...
来源: Laya_社区 发布时间: 20180810
... function myRing(x,y,r1,color1,r2,color2) { this.sprite = new Laya.Sprite(); this.sprite.on('mousedown', this, on_down); this.sprite.graphics.drawCircle(x, y, r2, color2, color2, 2); this.sprite.graphics.drawCircle(x, y, r1, color1, color1, 0); function on_down(e...
来源: Laya_社区 发布时间: 20161221
为什么new不出Rectangle的类,提示not defined laya.core.js也引入了啊 2018-06-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Laya_Aaron 赞同来自: 环境确定是好的?可以new 的啊 2018-0...
来源: Laya_社区 发布时间: 20180607
...好最近做到这一块,就分享给大家。 //首先是加载资源 Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this.onLoading, null, false)); /** * 加载资源进度 * @param percent 百分比 */ private onLoading(percent: number): void { this.v...
来源: Laya_社区 发布时间: 20190629
...c模拟器播放OK在手机端不显示 loaded : function(){ this.loader = Laya.loader; this.loader.retryNum = 0;//无加载重试 this.urls = ['imgdebris/imgdebris.atlas','imgdebris/p1_slj.png',]; // this.loader.load(this.urls[0], Laya.Handler.create(this, this.onAssetloaded)); this.loader.load(thi...
来源: Laya_社区 发布时间: 20190117
LayaAir IDE 1.8.5发布vivo小游戏Laya.loader.load()方法加载音乐文件出现问题 项目:LayaAir IDE 1.8.5新建项目(测试) 问题:在项目中使用Laya.loader.load()方法进行文件预加载,加载音乐文件(.mp3格式),在Laya编辑器上按F5调试项目...
来源: Laya_社区 发布时间: 20191114
spine 播放错乱 templet: Laya.SpineTemplet; skeleton: Laya.SpineSkeleton; index = 0; private startFun(): void { //创建动画模板 this.templet = new Laya.SpineTemplet(); this.templet.loadAni("spine/10101001.json"); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.o...
来源: Laya_社区 发布时间: 20210813
Laya3.0正式版spine3.8的动画资源不能正常显示 代码直接搬的api示例,警告和错误信息如下,但是引擎的示例工程又是可以,本来怀疑是因为引擎版本升级问题,我又重新新建了一个空的新工程,一样的资源,一样的代码,还是一...
来源: Laya_社区 发布时间: 20230703