Commit a08e95be authored by Chen Jiping's avatar Chen Jiping

模板优化

parent 677880c1
......@@ -72,15 +72,6 @@ export class Stage extends Item {
bg.alpha = 0;
this.bg = bg;
const titleRope = new MySprite();
titleRope.init(this.images.get(theme + "title_rope"));
titleRope.scaleX = this.scaleX;
titleRope.scaleY = this.scaleY;
titleRope.x = this.width + titleRope.getBoundingBox().width / 2 - 82 * this.scaleX;
titleRope.y = this.height / 2 + titleRope.getBoundingBox().height / 2 - 30 * this.scaleY;
bg.addChild(titleRope);
const stageBg = new MySprite();
stageBg.init(this.images.get(theme + "bg2"));
stageBg.scaleX = this.scaleX;
......@@ -110,8 +101,8 @@ export class Stage extends Item {
titlePic.init(this.images.get(theme + "title_bg"));
titlePic.scaleX = this.scaleX;
titlePic.scaleY = this.scaleY;
titlePic.x = this.width / 2 + 196 * this.scaleX;
titlePic.y = 80 * this.scaleY;
titlePic.x = this.width / 2 + 224 * this.scaleX;
titlePic.y = 148 * this.scaleY;
bg.addChild(titlePic);
......
src/assets/play/theme/1/bg2.png

105 KB | W: | H:

src/assets/play/theme/1/bg2.png

116 KB | W: | H:

src/assets/play/theme/1/bg2.png
src/assets/play/theme/1/bg2.png
src/assets/play/theme/1/bg2.png
src/assets/play/theme/1/bg2.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/play/theme/1/title_bg.png

104 KB | W: | H:

src/assets/play/theme/1/title_bg.png

138 KB | W: | H:

src/assets/play/theme/1/title_bg.png
src/assets/play/theme/1/title_bg.png
src/assets/play/theme/1/title_bg.png
src/assets/play/theme/1/title_bg.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/play/theme/2/bg2.png

104 KB | W: | H:

src/assets/play/theme/2/bg2.png

116 KB | W: | H:

src/assets/play/theme/2/bg2.png
src/assets/play/theme/2/bg2.png
src/assets/play/theme/2/bg2.png
src/assets/play/theme/2/bg2.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/play/theme/2/e-mission.png

11.5 KB | W: | H:

src/assets/play/theme/2/e-mission.png

15.9 KB | W: | H:

src/assets/play/theme/2/e-mission.png
src/assets/play/theme/2/e-mission.png
src/assets/play/theme/2/e-mission.png
src/assets/play/theme/2/e-mission.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/play/theme/2/title_bg.png

104 KB | W: | H:

src/assets/play/theme/2/title_bg.png

135 KB | W: | H:

src/assets/play/theme/2/title_bg.png
src/assets/play/theme/2/title_bg.png
src/assets/play/theme/2/title_bg.png
src/assets/play/theme/2/title_bg.png
  • 2-up
  • Swipe
  • Onion skin
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