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

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

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

...Value 来让外部控制 能量条的 进度 我们把能量条都添加到舞台上面吧~~ 打开runGame.js(function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; this.flyEnergy = null; this.speedEnergy = null; RunGame.__super.call(this); ...

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

342. laya.ui.Radio_API3.0 [ 33%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Inherited from Button.stateNum Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值...

来源: Laya3.0_api 发布时间: 20231115

343. laya.ui.TextInput_API3.0 [ 30%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

来源: Laya3.0_api 发布时间: 20231115

344. laya.ui.Button_API3.0 [ 29%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值为3。此值决定皮肤资源...

来源: Laya3.0_api 发布时间: 20231115

345. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 29%]

...然要跳 就得有交互了 所以我们需要添加点击事件 当点击舞台的时候 出发player.jump(); 同样还是在RunGame.js里面  (function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; RunGame.__super.call(this); this.init()...

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