Commit 0cdbb8a3 authored by wjf's avatar wjf

l

parent 7cfb78dc
This diff is collapsed.
...@@ -78,8 +78,8 @@ export class Main { ...@@ -78,8 +78,8 @@ export class Main {
//隐藏加载中 //隐藏加载中
// if (document.getElementById("__loading__")) document.getElementById("__loading__").style.display = "none"; // if (document.getElementById("__loading__")) document.getElementById("__loading__").style.display = "none";
//打开开始场景 //打开开始场景
changeScene(MapScene); // changeScene(MapScene);
// changeScene(PlayScene); changeScene(PlayScene);
// changeScene(SStartScene); // changeScene(SStartScene);
// changeScene(StoryScene); // changeScene(StoryScene);
// changeScene(AdoptScene); // changeScene(AdoptScene);
......
...@@ -411,7 +411,7 @@ export class PlayScene extends Scene { ...@@ -411,7 +411,7 @@ export class PlayScene extends Scene {
//bonusTime引导,备用的,无需加入场景 //bonusTime引导,备用的,无需加入场景
this.bonusTime = new BonusTime(); this.bonusTime = new BonusTime();
this.bonusTime.x = 375 this.bonusTime.x = 375
this.bonusTime.y = 1624 / 2; this.bonusTime.y = 1624 / 2-layers.stageOffsetY;
} }
initTarget() { initTarget() {
//通关目标,如果通关目标是元素时,赋值this.passElements,否则 //通关目标,如果通关目标是元素时,赋值this.passElements,否则
......
...@@ -46,7 +46,7 @@ export class MagicLionAni extends Ani { ...@@ -46,7 +46,7 @@ export class MagicLionAni extends Ani {
} }
play() { play() {
this.downImage.scaleX = this.downImage.scaleY = 1; this.downImage.scaleX = this.downImage.scaleY = 0.7//1;
this.downImage.alpha = 1; this.downImage.alpha = 1;
this.upImage.scaleX = this.upImage.scaleY = 1; this.upImage.scaleX = this.upImage.scaleY = 1;
this.upImage.alpha = 1; this.upImage.alpha = 1;
......
...@@ -17,7 +17,7 @@ export class MagicLionBgAni extends FYGE.Container { ...@@ -17,7 +17,7 @@ export class MagicLionBgAni extends FYGE.Container {
this.showImage.anchorTexture.set(0.5, 0.5); this.showImage.anchorTexture.set(0.5, 0.5);
// this.showImage.anchorOffsetX = texture.textureWidth / 2; // this.showImage.anchorOffsetX = texture.textureWidth / 2;
// this.showImage.anchorOffsetY = texture.textureHeight / 2; // this.showImage.anchorOffsetY = texture.textureHeight / 2;
// this.showImage.scaleX = this.showImage.scaleY = 0.7 this.showImage.scaleX = this.showImage.scaleY = 0.7
this.addChild(this.showImage); this.addChild(this.showImage);
this.addEventListener(FYGE.Event.ENTER_FRAME, this.onEnterFrame, this); this.addEventListener(FYGE.Event.ENTER_FRAME, this.onEnterFrame, this);
...@@ -25,7 +25,7 @@ export class MagicLionBgAni extends FYGE.Container { ...@@ -25,7 +25,7 @@ export class MagicLionBgAni extends FYGE.Container {
other.anchorTexture.set(0.5, 0.5); other.anchorTexture.set(0.5, 0.5);
// other.anchorOffsetX = texture.textureWidth / 2; // other.anchorOffsetX = texture.textureWidth / 2;
// other.anchorOffsetY = texture.textureHeight / 2; // other.anchorOffsetY = texture.textureHeight / 2;
// other.scaleX = other.scaleY = 0.7 other.scaleX = other.scaleY = 0.7
this.addChild(other); this.addChild(other);
this.addEventListener(FYGE.Event.ENTER_FRAME, () => { this.addEventListener(FYGE.Event.ENTER_FRAME, () => {
other.rotation -= 5; other.rotation -= 5;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment