大约有 1,017 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0047 秒)
Laya_社区(598) Laya2.0_文档(86) Laya3.0_api(75) Laya2.0_api(62) laya_api(57) Laya2.0_示例(53) Laya_示例(49) Laya3.0_文档(37)
...= (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分成绩 this.score = 0; // 子弹级别 this.bulletLevel = 0; // 敌机...
来源: Laya_社区 发布时间: 20170525
...已创建完毕,此方法只执行一次 onAwake(): void { this.fontclp.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.fontclp.size(500, 60); //大小 this.fontclp.pivot(this.fontclp.width/2, this.fontclp.height/2); //轴心点 this.fontclp.skin = "atlas/comp/fontCli...
来源: Laya3.0_文档 发布时间: 20241014
...: Number[read-only] GeolocationInfoPublic Methods MethodDefined By setPosition(pos:*):voidGeolocationInfoProperty Detailaccuracypropertyaccuracy:Number [read-only] Implementation public function get accuracy():Numberaltitudeproperty altitude:Number [read-only] Implementation ...
来源: laya_api 发布时间: 20170929
...: Number[read-only] GeolocationInfoPublic Methods MethodDefined By setPosition(pos:*):voidGeolocationInfoProperty Detailaccuracypropertyaccuracy:Number [read-only] Implementation public function get accuracy():Numberaltitudeproperty altitude:Number [read-only] Implementation ...
来源: Laya2.0_api 发布时间: 20190513
...FFFFFF"; this.form = new Laya.Sprite(); this.form.size(250,120); this.form.pos((Laya.stage.width - this.form.width) / 2, (Laya.stage.height - this.form.height) / 2); Laya.stage.addChild(this.form); this.rowHeight = 30; this.rowSpacing = 10; var rowHeightDelta = this.rowSpacing + this.rowHeight; // ...
来源: Laya_示例 发布时间: 20241117
...his.sEnemyRes) pNewScene.addChild(pBull); pNewScene.addChild(pEnemy); let tPosBull = Util3d.getSprite3D(pNewScene, "bullBeginPos") pBull.transform.position = tPosBull.transform.position; let pBullObj = Util3d.getSprite3D(pBull, "bull"); let pBullRigidBody = <Laya.Rigidbody3D>pBullObj.getCompon...
来源: Laya_社区 发布时间: 20200720
...lass Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw....
来源: Laya2.0_示例 发布时间: 20241117
... "#fff"; this.form = new Laya.Sprite(); this.form.size(250,120); this.form.pos((Laya.stage.width - this.form.width) / 2, (Laya.stage.height - this.form.height) / 2); Laya.stage.addChild(this.form); this.rowHeight = 30; this.rowSpacing = 10; let rowHeightDelta = this.rowSpacing + this.rowHeight; // ...
来源: Laya2.0_示例 发布时间: 20241117
... this.bg = []; this.bg[0] = new BackGround("res/bg1.png", 0.1); this.bg[0].pos(0, 0); Laya.stage.addChild(this.bg[0]); this.bg[1] = new BackGround("res/bg2.png", 1); this.bg[1].pos(0, 0); Laya.stage.addChild(this.bg[1]); this.bg[2] = new BackGround("run/bridge.png", runSpeed); this.bg[2].pos(0, 348)...
来源: Laya_社区 发布时间: 20170103
...); } function showBg() { var bg = new Image(bgSkin); bg.size(224, 302); bg.pos(Laya.stage.width - bg.width >> 1, Laya.stage.height - bg.height >> 1); Laya.stage.addChild(bg); } function createTimerAnimation() { counter = new Clip(clipSkin, 10, 1); counter.autoPlay = true; counter.interval = 1000; co...
来源: Laya_示例 发布时间: 20241117