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

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

21. 为什么会出现报错 ani not found:ufo1_down [ 56%]

... = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Hand...

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

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

...下路值 this.maxVy = 32; Player.__super.call(this); //这里我们强制设置一下 玩家的宽度和高度 this.width = 96; this.height = 96; this.init(); } //玩家动作 //跑 Player.RUN = "player_run"; //飞 Player.FLY = "player_fly"; //暂时没有用到的动作 Player.HERT = "player_hert"...

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

23. LayaAir开发笔记(1)五十音图连连看 [ 41%]

...stat_heiht = 600; Laya.init(g_stat_width, g_stat_heiht); 加入下列代码设置窗口位置和拉伸效果。Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDD...

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

24. laya.display.Stage_API3.0 [ 31%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...

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