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

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

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

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

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

1572. 怎么清理掉 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

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

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

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

1574. 设置骨骼动画停留在某一帧/某一个时间点 [ 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

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

1576. 微信开发工具编译报错 [ 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

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

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

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

1578. 关于触控点列表 [ 50%]

...的看一下关于数组的api http://www.w3school.com.cn/jsref/jsref_obj_array.asp   2018-02-02 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq771472501 相关问题 请教一下list列表的问题 动态改变List的高度之后,...

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

1579. drawToTexture 绘制函数不工作呢 [ 50%]

...xt类中竟然没有pos函数的api~ drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 如何获取Sprite上用graphics.drawTexture绘制的texture? 微信小游戏在开...

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

1580. 如何播放图集动画中某一组动画 [ 50%]

...图集打包工具不支持堆栈帧图片过滤。用它{data format json array}数据格式,官网也没找到要什么打包格式; 2.可以正常导入播放整个图集动画,但用Animation.createFrames时,提示[error]Failed to load: atk/010019.png ,没找到是什么原因; 3.Ani...

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