Fix: RoundRectSetting.x, y

This commit is contained in:
2018-06-10 11:46:23 +09:00
parent ba7ec369ac
commit 37129bbe23
12 changed files with 126 additions and 119 deletions
+15
View File
@@ -50,6 +50,21 @@ class TypingPractice {
.setShadow(3, 3, 'rgba(0, 0, 0, 0.5)', 2)
.addColor(textPreviewColor[0], 0);
this.hand_left = game.add.image(300, 600, "hand_left");
this.hand_left.scale.set(2);
this.hand_left.anchor.set(0.5);
this.hand_right = game.add.image(700, 600, "hand_right");
this.hand_right.scale.set(2);
this.hand_right.anchor.set(0.5);
let mask = game.add.graphics();
mask.beginFill(0xffffff);
mask.drawRect(100, 300, 1028, 400);
this.hand_left.mask = mask;
this.hand_right.mask = mask;
// bottom
let screenBottom = new ScreenBottom();
screenBottom.makeBottomLine();