大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0111 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...cs.drawLine(0,0,200,200,'#FF00000'); sp.pivot(0,0); Laya.timer.frameLoop(1,this,onTimer,[sp]); } private function onTimer(sp:Sprite):void { sp.rotation+=1; } 2017-04-24 0 0 分享 微博 QZONE 微信 wqt542434707 赞同来自: 谢谢~ 2017-04-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20170424
...ncaught getUint16 error - Out of bounds 调用动画结束on方法,报错this.zombieAnimator.on is not a function 运行报错 Uncaught Can not find scene:GameView.scene undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor 问题状态 最新活动: 2017-01-20 16:57 ...
来源: Laya_社区 发布时间: 20170119
...错 var MPanel1 = (function (_super) { function MPanel1() { MPanel1.super(this); } Laya.class(MPanel1, "MPanel1", _super) var _proto = MPanel1.prototype; return MPanel1; }(ui.Panel1UI));代码如上,报错如下 附件 : --> 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180206
...bohan • 2018-07-10 17:27 我怎么改变它的值呢,扇形我是通过this._graphics._one[3] = number;来改变数值的,里面的圆形改变颜色改变不了了 Laya_Aaron • 2018-07-10 17:32 这个要重新画才能改。 bohan • 2018-07-10 18:01 @Laya_Aaron:我现在,在代码里...
来源: Laya_社区 发布时间: 20180707
...[ {'url':'res/atlas/comp.json'} ] Laya.loader.load(res,Laya.Handler.create(this,Main)); } function Main(){ Laya.stage.addChild(new loginUI()); } })(); 附件 : --> 2017-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20171123
...点击事件第二次点击不生效 list.selectHandler = Handler.create(this,onRender, null, false);//滚动列表点击事件 private function onRender(index:int):void{ list.setItem(lastSelect,arrConver(lastSelect,false));//取消选中效果 list.setItem(index,arrConver(index,true));//添加选...
来源: Laya_社区 发布时间: 20171129
...../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.x = Laya.stage.width / 2; sp.y = Laya.stage....
来源: Laya_社区 发布时间: 20200229
...因是在replaceSoltSkinName函数内,调用replaceDisPlayByName后通过this_clearCache方法刷新了缓存,这样即使在1模式下,也不会产生闪动的情况; 建议您先使用replaceSoltSkinName进行处理或者更换换装模式。 针对使用replaceDisplayByName在1模式下...
来源: Laya_社区 发布时间: 20211027
...进入slow模式 无法工作是否有bug?目前直接把laya.core.js的this.frameRate=“fast”改为slow ;已变为30fps
来源: Laya_社区 发布时间: 20161003
...预加载了对应的json,并且在对应子类里面调用了createView this.createView(Laya.loader.getRes("widget/CustomWidget.json")) 但是分离模式的情况下,一个View还是没法显示内嵌的其他View,是什么原因呢? 2018-01-12 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20180112