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

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

1. DOM元素-视频 [ 100%]

..., 0, 0, reference.width, reference.height]); } } new DOM_Video();package { import laya.display.Sprite; import laya.display.Stage; import laya.events.Event; import laya.renders.Render; import laya.utils.Browser; import laya.utils.Utils; /** * ... * @author */ public class DOM_Video { public function ...

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

2. UI-Tree [ 97%]

....x = 0; arrow.y = 5; this.addChild(arrow); } } new UI_Tree();module laya { import Stage = Laya.Stage; import Tree = Laya.Tree; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; import Utils = Laya.Utils; export class UI_Tree { constructor() { // 不支持WebGL...

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

3. DOM元素-表单输入 [ 96%]

...ng + this.rowHeight), 150, this.rowHeight); } } } new DOM_Form();package { import laya.display.Sprite; import laya.display.Stage; import laya.display.Text; import laya.events.Event; import laya.renders.Render; import laya.runtime.IConchRenderObject; import laya.utils.Browser; import laya.utils.Strin...

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

4. 粒子-粒子演示1 [ 94%]

... 2; partIns.y = Laya.stage.height / 2; } } new Particle_T1();module laya { import Stage = Laya.Stage; import Loader = Laya.Loader; import Particle2D = Laya.Particle2D; import ParticleSetting = Laya.ParticleSetting; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat...

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

5. 粒子-粒子演示2 [ 94%]

... 2; partIns.y = Laya.stage.height / 2; } } new Particle_T2();module laya { import Stage = Laya.Stage; import Loader = Laya.Loader; import Particle2D = Laya.Particle2D; import ParticleSetting = Laya.ParticleSetting; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat...

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

6. 粒子-粒子演示3 [ 94%]

... 2; partIns.y = Laya.stage.height / 2; } } new Particle_T3();module laya { import Stage = Laya.Stage; import Loader = Laya.Loader; import Particle2D = Laya.Particle2D; import ParticleSetting = Laya.ParticleSetting; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat...

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

7. 性能测试-卡通人物 [ 93%]

...aractor.x = -extraSpace; } } } new PerformanceTest_Cartoon();module laya { import Sprite = Laya.Sprite; import Loader = Laya.Loader; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class PerformanceTest_Cartoon { private colAmo...

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

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

...is.txt.text = "恢复"; } } } new Loader_ClearTextureRes();namespace leo { import Sprite = laya.display.Sprite; import Animation = laya.display.Animation; import Text = laya.display.Text; import Stage = laya.display.Stage; import Browser = laya.utils.Browser; import Stat = laya.utils.Stat; import We...

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

9. 骨骼动画-Spine事件 [ 92%]

...) { mLabelSprite.removeSelf(); } } new Skeleton_SpineEvent();module laya { import EventData = Laya.EventData; import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Sprite = Laya.Sprite; import Event = Laya.Event; import Browser = Laya.Browser; import Handler = Laya.Handler; import S...

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

10. 性能测试-虫子(慎入) [ 91%]

....pos(x, y); } tick += 0.1; } } new PerformanceTest_Maggots();module laya { import Sprite = Laya.Sprite; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class PerformanceTest_Maggots { private ...

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