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

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

421. laya.display.Stage [ 32%]

...Sprite  focus : Node当前焦点对象,此对象会影响当前键盘事件的派发主体。Stage  frameRate : StringStage  fullScreenEnabled : Boolean[write-only] 是否开启全屏,用户点击后进入全屏。 兼容性提示:部分浏览器不允许点击进入全屏,比如Iphone...

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

422. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

... this.btn.on(Laya.Event.CLICK, this, this.changeAttachment); //监听点击事件,触发切换武器的方法 //以下基础设置可以在IDE里设置,这样代码就不用添加了,此处仅为演示代码使用方式 //设置外部皮肤对象 this.spine.externalSkins = [this.weaponSkin]; /...

来源: Laya3.0_文档 发布时间: 20251128

423. 【简单跑酷--JS版】---Lv.6 终篇 [ 25%]

...this.player.y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(laya.events.Event.MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _p...

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