Fix: remove useless keyboard png files, add upper/lower keyboard image
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
@@ -42,21 +42,21 @@ function TypingAppButton(x, y) {
|
|||||||
|
|
||||||
BasicButton.call(this, setting, this.clickEvent);
|
BasicButton.call(this, setting, this.clickEvent);
|
||||||
|
|
||||||
this.mainText.x = TypingAppButton.WIDTH / 2 + TypingAppButton.KEYBOARD_WIDTH / 4;
|
this.mainText.x = TypingAppButton.WIDTH / 2 + TypingAppButton.KEYBOARD_WIDTH / 6;
|
||||||
// this.setMainText("");
|
// this.setMainText("");
|
||||||
// this.addIcon("tile_choco");
|
// this.addIcon("tile_choco");
|
||||||
// this.setIconSize(40);
|
// this.setIconSize(40);
|
||||||
// this.setShortcutText("[단축키]");
|
// this.setShortcutText("[단축키]");
|
||||||
|
|
||||||
this.keyboardSprite = game.add.sprite(
|
this.keyboardSprite = game.add.sprite(
|
||||||
80,
|
TypingAppButton.KEYBOARD_WIDTH / 2 + 10,
|
||||||
TypingAppButton.HEIGHT / 2,
|
TypingAppButton.HEIGHT / 2,
|
||||||
"keyboards"
|
"keyboards"
|
||||||
);
|
);
|
||||||
this.keyboardSprite.anchor.set(0.5);
|
this.keyboardSprite.anchor.set(0.5);
|
||||||
this.keyboardSprite.frame = 1;
|
this.keyboardSprite.frame = 1;
|
||||||
this.keyboardSprite.width = 120;
|
this.keyboardSprite.width = TypingAppButton.KEYBOARD_WIDTH;
|
||||||
this.keyboardSprite.height = 120;
|
this.keyboardSprite.height = TypingAppButton.KEYBOARD_WIDTH;
|
||||||
this.buttonSprite.addChild(this.keyboardSprite);
|
this.buttonSprite.addChild(this.keyboardSprite);
|
||||||
|
|
||||||
this.animal = new Animal(
|
this.animal = new Animal(
|
||||||
@@ -240,14 +240,14 @@ TypingAppButton.TYPING_APP_KOREAN_NAME = "타자검정";
|
|||||||
|
|
||||||
|
|
||||||
TypingAppButton.loadResources = function() {
|
TypingAppButton.loadResources = function() {
|
||||||
game.load.spritesheet('keyboards', '../../../resources/image/ui/keyboard/keyboards.png', 120, 120);
|
game.load.spritesheet('keyboards', '../../../resources/image/ui/keyboard/keyboards.png', 100, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
TypingAppButton.WIDTH = 400;
|
TypingAppButton.WIDTH = 400;
|
||||||
TypingAppButton.HEIGHT = 80;
|
TypingAppButton.HEIGHT = 80;
|
||||||
|
|
||||||
TypingAppButton.KEYBOARD_WIDTH = 120;
|
TypingAppButton.KEYBOARD_WIDTH = 100;
|
||||||
|
|
||||||
TypingAppButton.STROKE_COLOR_OUT_HEX = MainColor.DARK_CHOCO_HEX;
|
TypingAppButton.STROKE_COLOR_OUT_HEX = MainColor.DARK_CHOCO_HEX;
|
||||||
TypingAppButton.STROKE_COLOR_OVER_HEX = MainColor.DARK_CHOCO_HEX;
|
TypingAppButton.STROKE_COLOR_OVER_HEX = MainColor.DARK_CHOCO_HEX;
|
||||||
|
|||||||