• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,799 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)

1571. 发布微信后无法触发mouse_up事件 [ 50%]

...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

1572. 版本管理swf找同名的Json文件发现找不到 [ 50%]

...sPath']---->",this['_atlasPath']);             var atls_ary:Array<any> = Loader.getAtlas(this['_atlasPath']);             this.basePath=atls_ary['dir'];                 //this.basePath = "map1.swf";             this['_initData'](data);  ...

来源: Laya_社区 发布时间: 20180615

1573. laya.d3.core.material.SkyBoxMaterial [ 50%]

...BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Hand...

来源: Laya2.0_api 发布时间: 20190513

1574. webgl graphics 绘制 层级 显示错误 [ 50%]

...导出后在laya中显示不正常 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 发布到vivo平台后,龙...

来源: Laya_社区 发布时间: 20180402

1575. 怎么清理掉 Sprite3D 相关的缓存资源, 资源destroy后内存还下降、。 [ 50%]

... private static function clearRole3dRes(groupName:String):void { var arr:Array = Loader.groupMap[groupName]; if(arr != null){ for each (var url:String in arr) { var item:Resource = Laya.loader.getRes(url); if(item != null){ item.destroy(); item = null; } } Loader.clearResByGroup(groupName); } }

来源: Laya_社区 发布时间: 20180517

1576. 求问sprite放大后,graphics绘制的图像位置偏移 [ 50%]

...位置,应该用什么缓动模式 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 富文本下划线绘...

来源: Laya_社区 发布时间: 20170821

1577. 设置骨骼动画停留在某一帧/某一个时间点 [ 50%]

...Index = index;             armature._curOriginalData = new Float32Array(armature._templet.getTotalkeyframesLength(index));         }         let graphics = armature._getGrahicsDataWithCache(index, frame);         graphics ? armature.graphics = graphics : armature._createGr...

来源: Laya_社区 发布时间: 20181115

1578. swf预加载问题 [ 50%]

...Bin.swf"; private const YUAN:String = "bingan/yan.swf"; private var assets:Array = []; private var mc:MovieClip = new MovieClip(); public function BeforLoader() { assets.push(ADDONE); assets.push(BG); assets.push(CDOWNBIN); assets.push(CUOLE); assets.push(CUPBIN); assets.push(CUTONE); assets.push(LO...

来源: Laya_社区 发布时间: 20161213

1579. 微信开发工具编译报错 [ 50%]

...35024/game/code.js:634:29) at http://127.0.0.1:35024/game/code.js:14:71 at Array.forEach (<anonymous>) at Object.__init (http://127.0.0.1:35024/game/code.js:14:36) at http://127.0.0.1:35024/game/code.js:21155:7 at http://127.0.0.1:35024/game/code.js:21156:3 at require (http://127.0.0.1:35024/g...

来源: Laya_社区 发布时间: 20180801

1580. 新人求教!!! [ 50%]

... y?: number, width?: number, height?: number, m?: Matrix, alpha?: number): Array<any>; 我是看drawTexture这么定义 ,里面不是有宽高吗。。。 wq • 2018-02-27 10:47 好吧 我知道了,是偏移量的问题

来源: Laya_社区 发布时间: 20180226