{ "type": "NumpadKeyboardComponent", "atlas": "numeric_keypad.json", "allowOverrides": true, "scale": { "dynamic": true, "default": 1.2, "Portrait": 3 }, "y": { "dynamic": true, "default": 0, "Portrait": -200 }, "useThousandSeparator": true, "id": "numpadKeyboard", "opaque": true, "visible": false, "maxDigitsCount": 7, "closeOnBackgroundClick": false, "children": [{ "type": "Graphics", "variant": "Rectangle", "width": 3840, "height": 4320, "color": "#000000", "alpha": 0.9, "visible": true, "opaque": true, "allowOverrides": true }], "background": [{ "type": "Sprite", "atlas": "numeric_keypad.json", "texture": "bg_empty.png", "opaque": true }], "display": { "type": "Text", "text": "0", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 56, "anchorAlign": "r", "x": 56, "y": -226 }, "numbers": [{ "type": "Button", "id": "1", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 1, "x": -125, "y": -105, "text": { "type": "Text", "text": "1", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "2", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 2, "y": -105, "text": { "type": "Text", "text": "2", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "3", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 3, "x": 125, "y": -105, "text": { "type": "Text", "text": "3", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "4", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 4, "x": -125, "y": 26, "text": { "type": "Text", "text": "4", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "5", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 5, "y": 26, "text": { "type": "Text", "text": "5", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "6", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 6, "x": 125, "y": 26, "text": { "type": "Text", "text": "6", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "7", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 7, "x": -125, "y": 159, "text": { "type": "Text", "text": "7", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "8", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 8, "y": 159, "text": { "type": "Text", "text": "8", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "9", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_1to9_normal.png", "btn_keypad_1to9_hover.png", "btn_keypad_1to9_down.png", "btn_keypad_1to9_down.png"], "onPressSound": "FXButtonClick1", "value": 9, "x": 125, "y": 159, "text": { "type": "Text", "text": "9", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }, { "type": "Button", "id": "0", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_0_normal.png", "btn_keypad_0_hover.png", "btn_keypad_0_down.png", "btn_keypad_0_down.png"], "onPressSound": "FXButtonClick1", "value": 0, "x": -63, "y": 284, "text": { "type": "Text", "text": "0", "font": "BrandonGrotesqueBlack", "fontWeight": "bold", "fill": "#FFFFFF", "thickness": 0, "size": 74, "anchorAlign": "c" } }], "clear": { "type": "Button", "id": "del", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_X_normal.png", "btn_keypad_X_hover.png", "btn_keypad_X_down.png", "btn_keypad_X_down.png"], "onPressSound": "FXButtonClick1", "value": 0, "x": 118, "y": -228 }, "enter": { "type": "Button", "id": "enter", "atlas": "numeric_keypad.json", "textures": ["btn_keypad_CONFIRM_normal.png", "btn_keypad_CONFIRM_hover.png", "btn_keypad_CONFIRM_down.png", "btn_keypad_CONFIRM_down.png"], "onPressSound": "FXButtonClick1", "value": 0, "x": 118, "y": 284 }, "close": { "type": "Button", "id": "close", "atlas": "numeric_keypad.json", "textures": ["btn_close_normal.png", "btn_close_hover.png", "btn_close_down.png", "btn_close_disabled.png"], "onPressSound": "FXButtonClick1", "value": 0, "x": 215, "y": -335 } }