大约有 791 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(764) Laya3.0_文档(5) laya_api(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4) Laya2.0_文档(3) Laya_示例(3)
... //预加载主游戏页面图片资源数组 var res:Array<any> = [ "res/atlas/heart.atlas", "res/LayaScene_newScen/Conventional/newScen.ls", ]; //设置progress Handler的第4个参数...
来源: Laya_社区 发布时间: 20201130
...peed: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 = Math.atan2(b.y - a.y, b.x - a.x) / Math.PI * 180; var len:int = Math.floor(GetPathLen()/PATH_LEN)+...
来源: Laya_社区 发布时间: 20171113
...有的资源都是远程加载。 我现在是这样使用的: var arr:Array=[游戏所有的资源列表]; URL.bashPath="https://host/url/"; MiniAdpter.nativefiles=[ "res/media/", "prefab/bb.json" ] Laya.Loader.load(...../); 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190902
...nly] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获...
来源: laya_api 发布时间: 20170929
...前所有动画名称呢?或者所有的AnimationClip呢? 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 spine动画播放后...
来源: Laya_社区 发布时间: 20180515
...eHandler); } private mouseHandler(e:laya.events.Event):void { var touches: Array<any> = e.touches; if (touches) { for(let i=0;i<touches.length;i++){ let t =touches[i]; let nameIndex =e.touchId + "_" + i; console.log(nameIndex+":"+e.type); } } } 之能收到down和move! 2018-11-02 添加...
来源: Laya_社区 发布时间: 20181102
...xt类中竟然没有pos函数的api~ drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 如何获取Sprite上用graphics.drawTexture绘制的texture? 微信小游戏在开...
来源: Laya_社区 发布时间: 20190730
...获取mouse_move的鼠标坐标 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 按钮坐标问题导致无法点击 相对屏幕坐标 问题状态 最新活动: 2018-12-20 10:43 浏览: 1429 关注: 2 人 LT • 2018-12-20 09:45 我使用长宽除一半...
来源: Laya_社区 发布时间: 20181219
...性列表的key 不能是变量? unity3d sentinel key not found Laya 2.0 Array Dictionary 这些类都没有了? 请问哪里可以下到2.0的源码 关于LAYA2.0下自己实现dictionary的问题 骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉 问题...
来源: Laya_社区 发布时间: 20180205
...整下就行了: 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 = 1; } 2017-02-18 1 0...
来源: Laya_社区 发布时间: 20170217