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

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

21. [LayaAir3]LayaAirIDE中的Spine动画和SpinePro中的动画不一致的问题 [ 70%]

...不一致的问题 LayaAirIDE: Version 3.3.0-beta.4 Spine Pro :Version 3.8.75 在SpinePro中导出之后,在LayaAirIDE中执行,跟Spine Pro中的不一样。攻击和受击和走路动作都不一样。 在其他的引擎是可以正常的运行。 附件 : --> ByHit.rar 2025-06-24 添加评论...

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

22. iOS16 LayaNative2.8.0 输入法白屏 [ 70%]

...容相关的链接 提交 4 个回复 layabox小高 赞同来自: 130*****753 您好,请提供一份精简的可以复现此问题的示例我们来看下。 2023-01-16 1 8 分享 微博 QZONE 微信 130*****753 赞同来自: 这是官方demo的表现,也会被顶到左边。 2023-01-17 0 0 分...

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

23. 灯光-点光 [ 68%]

... = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQu...

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

24. [LayaNative2]Laya2.0 更新最新的2.13.9.3 16kb库会时不时的断网,导致游戏直接卡主 [ 66%]

... 赞同来自:      I  WebSocket onSocketCallback connection closing 75 reason 2025-11-14 10:03:41.988  9605-10051 LayaBox                 ***        I  JSWebSocketDelegate::onClose()this={public}x ws={public}x 2025-11-14 10:03:41.989  9605-10051 LayaBox                 ...

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

25. LayaAir有直接读图片数据的接口吗 [ 66%]

...aN9RMQG7UvHFSteikatFJ1aJPvgzIE2reAHKj5gk1E5BJzQ2QSc0NkDfUTEB+00nVopOqRSdViz75jwHyhpoJyKRmUjMBuVHzBpAbNd90UrXopGrRSdWiT/5j1DwBZAIyqfkmIE+ouQEyqdl0UrXopGrRSdWiT75MzTepmYA8AeQJNW+omYDcqJmATGomIJOa33RSteikatFJ1aJPlgH5TUAmNd8EZFLzhpoJyKTmCTUTkEnNN51ULTqpWnRStQh/pGrJSdWik6pFJ1WLTqoWnVQtOqladFK16KRq0UnVopO...

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

26. 加载-销毁Texture使用的图片资源 [ 66%]

... "#057AFB"); this.txt = new Text(); this.txt.text = "销毁"; this.txt.pos(75, 15); this.txt.fontSize = 25; this.txt.color = "#FF0000"; this.btn.addChild(this.txt); this.btn.pos(20, 160); Laya.stage.addChild(this.btn); //添加侦听 this.btn.on(Event.MOUSE_UP, this, this.onMouseUp); } /** * 鼠标...

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

27. 加载-销毁Texture使用的图片资源 [ 64%]

... "#057AFB"); this.txt = new Text(); this.txt.text = "销毁"; this.txt.pos(75, 15); this.txt.fontSize = 25; this.txt.color = "#FF0000"; this.btn.addChild(this.txt); this.btn.pos(20, 160); Laya.stage.addChild(this.btn); //添加侦听 this.btn.on(Event.MOUSE_UP, this, this.onMouseUp); }; /** * 鼠标...

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

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

...atic TiltedCube(sp: Laya.Sprite, cfg: any) { sp.graphics.drawPoly( 0, 0, [-75, -35, -85, 35, 75, 35, 85, -35], cfg.color, "#000000", 3 ); } public static ShotDiamond(sp: Laya.Sprite, cfg: any) { sp.graphics.drawPoly(0, 0, [0, -35, -65, 0, 0, 35, 65, 0], cfg.color, "#000000", 3); ...

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

29. 绘制三角形、多边形及根据数据绘制图案(JavaScript-LayaAir基础篇(JS)-矢量图) [ 63%]

...多边形 sp.graphics.drawPoly(30, 28, [0, 100, 50, 0, 100, 100, 75, 150, 25, 150], "#ffff00"); ``` 代码运行效果如下图所示: ​ ![blob.png](img/3.png) ​ (图3) ​ 在修改的代码中,新增了D点坐标”75,150“与E点坐标”25,150“。通过将各个坐...

来源: Laya2.0_文档 发布时间: 20210715

30. 材质-物理基础渲染材质 [ 63%]

...= mtl; sphere.transform.localPosition = new Vector3((x-rnum/2)*(w/rnum), 0.75, -2); } for ( x = 0; x < rnum; x++) { mtl = new PBRMaterial(); mtl.diffuseTexture = Texture2D.load('../../../../res/threeDimen/pbr/copper.png'); mtl.normalTexture = Texture2D.load('../../../../res/threeDimen/pbr/n1.png'); ...

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