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

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

71. js进度,进度,js场景进度效果 [ 75%]

...度场景 alert('进度加载完毕'); this.Progress.visible = false; this.Start = new Start(); this.Start.zOrder = 2;//由于UI[b]编辑不能这只层级·需要用代码打..[/b] }) } return Class; })(); } var game = new Game();   附件 : --> 2017-08-03 添加评论 免费帖 --> 分享 微博 ...

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

72. 3d模型动画播放一次后的回调么用回调。 [ 75%]

...式如下无法收到COMPLETE事件: skinAni.player.play(0, 1, 0, param.start, param.end); skinAni.player.on(Laya.Event.COMPLETE, null, function(){      console.log("COMPLETE"); }); 2017-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

73. laya.device.Shake [ 75%]

...通知,此侦听事件响应一次后自动移除。 EventDispatcher  start(throushold:int, interval:int):void 开始响应设备摇晃。 Shake  stop():void 停止响应设备摇晃。 ShakeProperty Detailinstancepropertyinstance:Shake  [read-only] Implementation     public static funct...

来源: laya_api 发布时间: 20170929

74. laya.utils.Dragging [ 74%]

...: Sprite 被拖动的对象。DraggingPublic Methods  MethodDefined By  start(target:Sprite, area:Rectangle, hasInertia:Boolean, elasticDistance:Number, elasticBackTime:int, data:*, disableMouseEvent:Boolean, ratio:Number = 0.92):void 开始拖拽。 Dragging  stop():void 停止拖拽。 Draggi...

来源: laya_api 发布时间: 20170422

75. laya.device.Shake [ 74%]

...通知,此侦听事件响应一次后自动移除。 EventDispatcher  start(throushold:int, interval:int):void 开始响应设备摇晃。 Shake  stop():void 停止响应设备摇晃。 ShakeProperty Detailinstancepropertyinstance:Shake  [read-only] Implementation     public static funct...

来源: Laya2.0_api 发布时间: 20190513

76. 输入设备-摇一摇 [ 74%]

....stage.scaleMode = Stage.SCALE_SHOWALL; showShakePic(); showConsoleText(); startShake(); })(); function showShakePic() { var shakePic = new Sprite(); shakePic.loadImage("../../res/inputDevice/shake.png"); Laya.stage.addChild(shakePic); } function showConsoleText() { console = new Text(); Laya.stage....

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

77. laya.events.Event [ 74%]

...ove[static] 定义 dragmove 事件对象的 type 属性值。Event  DRAG_START : String = dragstart[static] 定义 dragstart 事件对象的 type 属性值。Event  EMPTY : Event[static] 一个空的 Event 对象。用于事件派发中转使用。Event  END : String = end[static] 定义 end ...

来源: Laya2.0_api 发布时间: 20190513

78. 跟着老师打地鼠游戏写的代码,JS为什么会出错 [ 74%]

...e; })(ui.GameUI) var GameUI=(function(_super){ function GameUI(){ this.btn_start=null; this.audio=null; GameUI.__super.call(this); } CLASS$(GameUI,'ui.GameUI',_super); var __proto__=GameUI.prototype; var Mole=(function(){ function Mole(btn_start){ alert(1) }; })() 2018-05-04 添加评论 免费帖 -...

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

79. laya.events.Event [ 74%]

...ove[static] 定义 dragmove 事件对象的 type 属性值。Event  DRAG_START : String = dragstart[static] 定义 dragstart 事件对象的 type 属性值。Event  EMPTY : Event[static] 一个空的 Event 对象。用于事件派发中转使用。Event  ENABLE_CHANGED : String = enablechanged...

来源: laya_api 发布时间: 20170929

80. 输入设备-摇一摇 [ 73%]

...age.bgColor = "#232628"; this.showShakePic(); this.showConsoleText(); this.startShake(); } showShakePic() { const Sprite = Laya.Sprite; let shakePic = new Sprite(); shakePic.loadImage("res/inputDevice/shake.png"); Laya.stage.addChild(shakePic); } showConsoleText() { const Text = Laya.Text; console =...

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