大约有 1,063 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
Laya_社区(391) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(13)
... var tHTMLElement:HTMLElement; for(var i:int = 0,n:int = _html._childs.length;i < n;i++) { tHTMLElement = _html.getChildAt(i) as HTMLElement; if(tHTMLElement) ...
来源: Laya_社区 发布时间: 20170307
...tartY:Number = 500; private var mFactory:Templet; private var mActionIndex:int = 0; private var mCurrIndex:int = 0; private var mArmature:Skeleton; private var mCurrSkinIndex:int = 0; private var mSkinList:Array = ["goblin","goblingirl"]; public function Skeleton_ChangeSkin() { WebGL.enable(); Laya....
来源: Laya_示例 发布时间: 20260303
...it(","); var split:String = url.indexOf("/") >= 0 ? "/" : "\\"; var idx:int = url.lastIndexOf(split); var folderPath:String = idx >= 0 ? url.substr(0, idx + 1) : ""; for (var i:int = 0, len:int = toloadPics.length; i < len; i++) { toloadPics[i] = folderPath + toloadPics[i]; } } else { //不...
来源: Laya_社区 发布时间: 20180830
... constantMin : Number[read-only] 最小固定帧。 StartFrame type : int[read-only] 始帧类型,0常量模式,1随机双常量模式。 StartFramePublic Methods MethodDefined By StartFrame() 创建一个 StartFrame,不允许new,请使用静态创建函数。 实例。 StartFrame cl...
来源: laya_api 发布时间: 20170929
... constantMin : Number[read-only] 最小固定帧。 StartFrame type : int[read-only] 始帧类型,0常量模式,1随机双常量模式。 StartFramePublic Methods MethodDefined By StartFrame() 创建一个 StartFrame,不允许new,请使用静态创建函数。 实例。 StartFrame cl...
来源: Laya2.0_api 发布时间: 20190513
...maxWith = max( maxWith, im.width) maxHeight = max( maxHeight, im.height) print im.width, im.height length=len(pngs) maxHeight += 2 if length > 0: finalHeight = maxHeight*length outIm = Image.new('RGBA',(maxWith, finalHeight), (0,0,0,0)) index=0 for im in pngs: left = (maxWith - im.width)*0.5 top ...
来源: Laya_社区 发布时间: 20180721
...ation = new Animation(); this.animation.loadImages(images); this.animation.interval = 70; this.animation.play(0); this.addChild(this.animation); } createBloodBar() { const Sprite = Laya.Sprite; this.bloodBar = new Sprite(); this.bloodBar.loadImage("res/cartoon2/blood_1_r.png"); this.bloodBar.x = 20;...
来源: Laya2.0_示例 发布时间: 20260303
... */ public function stageShake(callBack:Function = null, times:uint = 2, offset:uint = 12, speed:uint = 32):void { if(_isShake) return; _isShake = true; var num:int = 0; var offsetArr:Array = [0, 0]; var point:Point = new Point(this.x, this.y); ...
来源: Laya_社区 发布时间: 20170823
...ed Dispather.event参数传的是数组,为什么收到的参数却是个int类型? 子节点的 getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。参数是什么 脚本组件添加对象问题 问题状态 最新活动: 2025-06-04 16:06 浏览: 2778 关注: 2...
来源: Laya_社区 发布时间: 20250604
... var tempResouList:Vector.<Resource> = resouList.slice(); for (var i:int, n:int = tempResouList.length; i < n; i++) { res = tempResouList[i]; if (!res.lock && res._referenceCount === 0) res.destroy(); } } } else { for (var k:String in _idResourcesMap) { res = _idResourcesMap[k]; if ...
来源: Laya_社区 发布时间: 20190126