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

大约有 1,783 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)

291. 在官方3D例子项目上加载了一个自己的预制件,生成微信小游戏,iPhone7Plus真机运行,按住屏幕左边滑动掉帧严重,按住屏幕右边滑动满帧 [ 63%]

...右边不卡呢。Android低端机都不卡 Laya_Aaron • 2019-06-11 17:50 @1558514766用户:原因已经在上面回复中了 Laya_Aaron • 2019-06-11 17:50 IOS小游戏没有Jit编译,所以性能不如安卓 1558514766用户 • 2019-06-12 10:01 这个不能解释iPhone7Plus,触摸屏幕左...

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

292. laya.utils.Stat_API3.0 [ 63%]

...als Static BlitDrawCall BlitDrawCall: object Defined in laya/utils/Stat.ts:50 color color: "white" = "white" Defined in laya/utils/Stat.ts:50 mode mode: "average" = "average" Defined in laya/utils/Stat.ts:50 title title: string = "BlitDrawCall" Defined in laya/utils/Stat.ts:50 units units: "int" = "...

来源: Laya3.0_api 发布时间: 20231115

293. canvas下资源清理的问题 [ 63%]

...           //初始化引擎             Laya.init(1334, 750);                          Laya.stage.alignH=Stage.ALIGN_MIDDLE;             Laya.stage.alignV=Stage.ALIGN_CENTER;                          btn1 = new Button(null,"显示");  ...

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

294. 鼠标交互-修正交互区域 [ 63%]

...ect.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height / 2, "#FF7F50"); //设置名称 coralRect.name = "珊瑚色容器"; coralRect.size(Laya.stage.width, Laya.stage.height / 2); Laya.stage.addChild(coralRect); coralRect.on(Event.MOUSE_DOWN, this, this.onDown); } createDeepSkyblueRect() { ...

来源: Laya2.0_示例 发布时间: 20240930

295. Config_API3.0 [ 62%]

...fined in Config.ts:16 Static animationInterval animationInterval: number = 50 Defined in Config.ts:26 2D动画 Animation 的默认播放时间间隔,单位为毫秒。 Static defaultFont defaultFont: string = "Arial" Defined in Config.ts:40 Static defaultFontSize defaultFontSize: number = 12 Defin...

来源: Laya3.0_api 发布时间: 20231115

296. vivo 的激励视频无法播放 app启动的时候报错 [ 62%]

... (no filename):8 ### App VBuiltIn ### Version: 1.10.3 Build 7/22/2020, 7:50:52 PM (no filename):8 Enable batch GL commands optimization! (no filename):8 running const: 22.53557300567627ms (no filename):8 ### App VNative ### Version: 1.10.3 Build 7/22/2020, 7:50:52 PM (no filename):8 running const: 3...

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

297. 加载TiledMap 不显示 [ 61%]

...Math.PI * 30) * radiusX;         var color: string = "#FF7F50";          this.sprite = new Sprite();         this.sprite.graphics.drawLine(0, 0, -radiusX, radiusY, color);         this.sprite.graphics.drawLine(0, 0, radiusX, radiusY, color);    ...

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

298. DialogManager设置弹出效果后,第一次能打开,第二次就打不开了。 [ 61%]

...                 Laya.Tween.to(dialog,{y:Laya.stage.height+50},500,Laya.Ease.backOut,Handler.create(this,(e)=>{                     e.close(false);                 },[dialog]));             },[],false); 设置完closeEffectHandler ...

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

299. 在Laya中使用Matter.js的最简示例 (JS) [ 61%]

...ar boxA = Bodies.rectangle(400, 200, 80, 80); var boxB = Bodies.rectangle(450, 50, 80, 80); var ground = Bodies.rectangle(400, 500, 810, 60, { isStatic: true }); // add all of the bodies to the world World.add(engine.world, [boxA, boxB, ground]); // run the engine Engine.run(engine); // run the rend...

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

300. laya绘制图形进行缩放的时候有问题 [ 61%]

...错。。才能进去 问题状态 最新活动: 2018-02-11 15:32 浏览: 650 关注: 2 人 a1748004424 • 2018-02-11 15:44 public static SymbolRoot(sp: Laya.Sprite, cfg: any) { sp.graphics.drawCircle(0, 0, 20, "#ffffff", "#000000", 3); sp.graphics.drawLine(-20, -20, 20, 20, &qu...

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