Fix: RoundRectSetting.x, y
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user