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

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

1. 骨骼动画-Spine事件 [ 100%]

...) { 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_示例 发布时间: 20241117

2. 鼠标交互-Hold [ 99%]

...USE_UP, this, this.onApeRelease); } } new Interaction_Hold();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Texture = Laya.Texture; import Browser = Laya.Browser; import Ease = Laya.Ease; import Handler = Laya.Handler; import Tween = Laya.Twee...

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

3. 骨骼动画-适配版Spine [ 99%]

...ex = 0; } this.skeleton.play(this.index, false, true); } } new SpineBinary;import Browser = Laya.Browser; import WebGL = Laya.WebGL; import Stage = Laya.Stage; import Event = Laya.Event; import Stat = Laya.Stat; import SpineTemplet = Laya.SpineTemplet;//3.8之后特有的,适用结尾为.skel的...

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

4. 鼠标交互-自定义事件 [ 99%]

...}, 1000, Ease.elasticOut); } } new Interaction_CustomEvent();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import Ease = Laya.Ease; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_CustomE...

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

5. 骨骼动画-藤蔓 [ 98%]

...mature.play(mCurrIndex, false); } } new Skeleton_SpineVine();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineVine { private mAniPath:...

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

6. 骨骼动画-橡胶人 [ 98%]

...play(mCurrIndex, false); } } new Skeleton_SpineStretchyman();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineStretchyman { private mA...

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

7. 网络和格式-POST [ 98%]

....text += "收到数据:" + hr.data; } } new Network_POST();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import HttpRequest = Laya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_POST { private hr: HttpReque...

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

8. 网络和格式-GET [ 98%]

...r.text += "收到数据:" + hr.data; } } new Network_GET();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import HttpRequest = Laya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_GET { private hr: HttpReques...

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

9. 骨骼动画-多纹理 [ 98%]

...ure.play(mCurrIndex, false); } } new Skeleton_MultiTexture();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class MultiTexture { private mAniPath:string...

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

10. 区块地图-滚动地图 [ 98%]

...er.width, Laya.Browser.height); } } new TiledMap_ScrollMap();module laya { import Stage = Laya.Stage; import TiledMap = Laya.TiledMap; import Rectangle = Laya.Rectangle; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Til...

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