大约有 175 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0054 秒)
Laya_社区(109) Laya3.0_api(35) Laya3.0_文档(11) Laya2.0_文档(10) Laya2.0_示例(5) Laya_示例(3) laya_api(1) Laya2.0_api(1)
...+ "000"); Laya.stage.addChild(roleAni); roleAni.interval = 120; //播放指定的某一个动作,如果用这行代码就不对了,播放不出来任何东西 roleAni.play(0, true, stand + "000"); //播放所有动作,如果用这一行代码就没问题...
来源: Laya_社区 发布时间: 20170821
...index]); card[index].name = index; card[index].graphics.drawRect(0, 0, 80, 120, null, "#000000", 2); card[index].graphics.loadImage("linkgame_card.jpg"); card[index].size(80, 120); card[index].pos(10 + 100 * i, 130 + 140 * j); card[index].on(Laya.Event.CLICK, this, function(e) { if (gameStatue == tr...
来源: Laya_社区 发布时间: 20160623
...• 2018-06-25 11:56 @Laya_Aaron:为什么Laya.URL.basePath = "http://120.79.208.141:9090/H5/”;直接用ip的就可以从服务器下载资源,但是微信小游戏要支持https。就改成了Laya.URL.basePath = "https://shyx1.lefou666.com/H5/"; 然后就不能下载了,报...
来源: Laya_社区 发布时间: 20180613
...eOverTime Defined in laya/d3/core/particleShuriKen/module/FrameOverTime.ts:120 创建一个 FrameOverTime,不允许new,请使用静态创建函数。 实例。 Returns FrameOverTime Accessors constant get constant(): number Defined in laya/d3/core/particleShuriKen/module/FrameOverTime.ts:83 固定...
来源: Laya3.0_api 发布时间: 20231115
...mgLove); console.log("imgSrc === "+ imgSrc); //imgLove.pos(iRows*this._x + 120 , iColumns*this._y + 320); this.imageBg.addChild(imgLove); } }TypeError: node._setParent is not a function preload.js:55 at Image.__proto.addChild (file:///E:/laya/myLaya/myZootopia/bin/libs/laya.core.js:20925:9) ...
来源: Laya_社区 发布时间: 20190625
...:Sprite = new Sprite(); guideContainer.autoSize = true; guideContainer.pos(120,150); guideContainer.cacheAs = "bitmap"; guideContainer.alpha = 0.5; Laya.stage.addChild(guideContainer); guideContainer.on("click",this,function(){ trace("click guideContainer"); }); guideContainer.on("mouseover",this,fu...
来源: Laya_社区 发布时间: 20170710
...imator); let all = 486; let arr = ["3,21,run,true", "29,59,wolk,true", "70,120,cheer,true", "125,380,dance,true", "393,440,forerake,false", "443,485,backward,true"]; let state: Laya.AnimatorState; console.log("getANi"); for (let i = 0; i < arr.length; i++) { let arrString = arr[i].split(","); // ...
来源: Laya_社区 发布时间: 20190802
...mpoundColliderShape.type Defined in laya/d3/physics/shape/ColliderShape.ts:120 碰撞类型。 Returns number Methods clone clone(): any Overrides ColliderShape.clone Defined in laya/d3/physics/shape/StaticPlaneColliderShape.ts:42 inheritdoc override Returns any cloneTo cloneTo(destObject: any): voi...
来源: Laya3.0_api 发布时间: 20231115
...我提过多次,但应该还没有解决。 text=new Text(); text.size(120,80); text.font="位图字体名"; text.piovtY=text.height>>1; text.align = "center"; text.valign= "middle"; text.borderColor="#ffffff"; 上下中心不对称,左右是对的,如图 附件 : --> 2016-11-16 添...
来源: Laya_社区 发布时间: 20161116
...; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var arr:Array = []; public function TestView() { super(); _path.pivot(0,0); _path.pos(a.x,a.y); this.addChild(_path); _path.rotation = Mat...
来源: Laya_社区 发布时间: 20171113