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

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

91. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 38%]

...      if (this.x + t.width / 2 < 0 || this.x - t.width / 2 > Laya.Browser.width || this.y < 0 || this.y - t.height > Laya.Browser.height) {                 this.visible = false;             } else {                 this.visible = true;                 thi...

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

92. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 32%]

....drawTexture(texture2, 0, 0); //把草垛居底部显示 // this.grass.y = Browser.clientHeight - this.grass.height; this.addChild(this.grass); //创建一个帧循环处理函数,用于背景位置的更新,实现背景滚动效果。 Laya.timer.frameLoop(1, this, this.onLoop) } _proto.onLoop =...

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