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

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

11. 骨骼动画-橡胶人 [ 96%]

...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

12. 鼠标交互-滑动 [ 95%]

...is.button, { x: targetX }, 100); } } new Interaction_Swipe();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Swipe { //swipe滚动范围 priv...

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

13. 网络和格式-POST [ 95%]

....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

14. 鼠标交互-自定义事件 [ 95%]

...sp, { "rotation": newAngle }, 1000, Ease.elasticOut); } })();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...

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

15. 网络和格式-GET [ 95%]

...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

16. 鼠标交互-双指旋转(多点触控) [ 95%]

... Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadian: number = 0;...

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

17. 骨骼动画-多纹理 [ 95%]

...{ mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();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...

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

18. 区块地图-滚动地图 [ 95%]

...hangeViewPort(mX, mY, Browser.width, Browser.height); } })();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...

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

19. 鼠标交互-滑动 [ 95%]

...= endPosition; Tween.to(button, { x: targetX }, 100); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Swipe { //swipe滚动范围 priv...

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

20. CameraMoveScript.as在哪儿下载群里的有错 [ 95%]

...01-29 17:23 浏览: 1249 关注: 3 人 king • 2018-01-29 17:47 package { import laya.d3.component.Script; import laya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.Sprite3D; import laya.d3.core.render.RenderState; import laya.d3.core.scene.BaseScene; import laya.d3.core.scene...

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