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

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

1491. 内存泄露 无论调用什么清理函数内存都在不停的增长 (ios内存溢出截图) [ 53%]

...过载导致游戏cush   h5这边每次用谷歌浏览器对内存截图 array类型数据都会有小幅增长 最终结果也是cush      (3-5个小时游戏时间)基本内存就会崩溃  代码部分因为过大 不好截图如果需要我们也可以提供。  但是资源的释放...

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

1492. 什么情况下Tween缓动会停止?除了暂停函数外 [ 53%]

...= new StartAnimView(); this.addChild(kaishi); kaishi.playAnim(); this.anim_array.push(kaishi);  Laya.timer.once(1700, this, function () { kaishi.onDestroy(); kaishi.destroy(true);   两个脚本是相互独立的。 2020-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

1493. 绘制扇形时,可以改变绘制的方向吗,顺时针改逆时针 [ 53%]

...小? 富文本下划线绘制bug drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 请问Laya2里面的物理引擎怎么使用才能像向量那样往一个方向发射 ...

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

1494. Uncaught Can not find class Laya.Text [ 53%]

...erty 'cursor' of undefined错误 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. LayaNative2.2运行报错。:getBitmapData Cannot find the specified character in all fonts:263c Uncaught TypeError: Cannot read property '...

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

1495. 求绘制遮罩会引起黑屏的解决办法 [ 52%]

... Mac 2.0.0beta3 Chrome调试黑屏 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 问题状态 最新活动: 2018-07-25 16:02 浏览: 2161 关注: 1 人

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

1496. WebGL状态下,graphics绘制显示不正常 [ 52%]

...图片是IDE自带的,也不显示 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 问题状态 最新活动: 2018-11-16 17:20 浏览: 2964 关注: 1 人

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

1497. Touch接口缺少stageX,stageY [ 52%]

...: private onMouseDown(e: Event): void {             var touches: Array<any> = e.touches;             if (touches && touches.length == 2) {                 this.preRadian = Math.atan2(                     touches[0].stageY - touches[1].stageY,        ...

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

1498. 这样一个ui怎么做 [ 52%]

...后你自己写分页代码。每页显示四个,也就是每次给list.array赋值一个length为小于等于4的数组。

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

1499. 微信小游戏怎么加载本地的配置文件 [ 52%]

...小游戏加载会报无效的请求这种错,laya是正常的 var protoArray = new Array(); protoArray.push("res/proto/fbh5.proto"); this.ProtoBuf.load(protoArray, this.onAssetsLoaded);

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

1500. 屏幕适配-屏幕适配 [ 52%]

...aya.WebGL; export class SmartScale_T { //所有适配模式 private modes: Array = ["noscale", "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheight"]; //当前适配模式索引 private index: number = 0; //全局文本信息 private txt: Text; constructor() { // 不支持WebGL时...

来源: Laya_示例 发布时间: 20260303