Working on new UI
This commit is contained in:
1 parent
2807d82d51
commit
901142385d
35 files changed
+4407
-1069
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,7 +9,7 @@
|
||||
"name": "aboutBkg",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"texture": "resources/ui/img/main/bkg.png"
|
||||
"texture": "resources/w/ui/img/main/bkg.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
@@ -18,7 +18,7 @@
|
||||
"vertical_gravity": "center",
|
||||
"width": 800,
|
||||
"height": 500,
|
||||
"texture": "resources/ui/img/main/about.png"
|
||||
"texture": "resources/w/ui/img/main/about.png"
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
@@ -28,7 +28,7 @@
|
||||
"y": 40,
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"text": "Back",
|
||||
"text": "Назад",
|
||||
"fontSize": 40,
|
||||
"textCentered": true
|
||||
}
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "loadBkg",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"texture": "resources/w/ui/img/main/bkg.png"
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"horizontal_align": "center",
|
||||
"vertical_align": "center",
|
||||
"spacing": 24,
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "loadTitle",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "Выберите сохраненную игру:",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "loadSlot1Button",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "(пусто)",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "loadSlot2Button",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "(пусто)",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "loadSlot3Button",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "(пусто)",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "loadSlot4Button",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "(пусто)",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "loadBackButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "bottom",
|
||||
"y": 40,
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"text": "Назад",
|
||||
"fontSize": 40,
|
||||
"textCentered": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
"name": "mainMenuBkg",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"texture": "resources/ui/img/main/bkg.png"
|
||||
"texture": "resources/w/ui/img/main/bkg.png"
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
@@ -25,7 +25,25 @@
|
||||
"name": "menuStartButton",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "Start",
|
||||
"text": "Начать игру",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "menuLoadButton",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "Загрузить игру",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "menuSettingsButton",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "Настройки",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
@@ -34,7 +52,7 @@
|
||||
"name": "menuAboutButton",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "About",
|
||||
"text": "О нас",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
@@ -43,7 +61,7 @@
|
||||
"name": "menuExitButton",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "Exit",
|
||||
"text": "Выход",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
}
|
||||
@@ -58,7 +76,7 @@
|
||||
"y": 10,
|
||||
"width": 160,
|
||||
"height": 36,
|
||||
"text": "v. 1.0",
|
||||
"text": "v. 0.6",
|
||||
"fontSize": 24,
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
@@ -66,4 +84,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "menuExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"width": 832,
|
||||
"height": 608,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/Menu_modal_box001.png",
|
||||
"hover": "resources/w/ui/img/Menu_modal_box001.png",
|
||||
"pressed": "resources/w/ui/img/Menu_modal_box001.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "modalExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 0,
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"textures": {
|
||||
"normal": "resources/transparent.png",
|
||||
"hover": "resources/transparent.png",
|
||||
"pressed": "resources/transparent.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "background",
|
||||
"width": 832,
|
||||
"height": 712,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"texture": "resources/w/ui/img/modal/Menu004.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "header",
|
||||
"width": 129,
|
||||
"height": 55.5,
|
||||
"y": 220,
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"texture": "resources/w/ui/img/modal/MenuHeading002.png"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "menuCloseButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"width": 100,
|
||||
"height": 100,
|
||||
"clickZoneWidth": 56,
|
||||
"clickZoneHeight": 56,
|
||||
"x" : 270,
|
||||
"y" : 210,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/modal/ModalClose001State=Default.png",
|
||||
"hover": "resources/w/ui/img/modal/ModalClose001State=Selected.png",
|
||||
"pressed": "resources/w/ui/img/modal/ModalClose001State=Tap.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "menuSaveButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"width": 664,
|
||||
"height": 164,
|
||||
"clickZoneWidth": 584,
|
||||
"clickZoneHeight": 84,
|
||||
"x" : 0,
|
||||
"y" : 110,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/modal/SaveGame001State=Default001.png",
|
||||
"hover": "resources/w/ui/img/modal/SaveGame001State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/modal/SaveGame001State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "menuLoadButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"width": 664,
|
||||
"height": 164,
|
||||
"clickZoneWidth": 584,
|
||||
"clickZoneHeight": 84,
|
||||
"x" : 0,
|
||||
"y" : 10,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/modal/LoadGame001State=Default001.png",
|
||||
"hover": "resources/w/ui/img/modal/LoadGame001State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/modal/LoadGame001State=Tap001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "menuSettingsButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"width": 664,
|
||||
"height": 164,
|
||||
"clickZoneWidth": 584,
|
||||
"clickZoneHeight": 84,
|
||||
"x" : 0,
|
||||
"y" : -90,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/modal/SettingsDefault002.png",
|
||||
"hover": "resources/w/ui/img/modal/SettingsSelected002.png",
|
||||
"pressed": "resources/w/ui/img/modal/SettingsTap002.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "menuExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"width": 664,
|
||||
"height": 164,
|
||||
"clickZoneWidth": 584,
|
||||
"clickZoneHeight": 84,
|
||||
"x" : 0,
|
||||
"y" : -190,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/modal/ExitGame001State=Default001.png",
|
||||
"hover": "resources/w/ui/img/modal/ExitGame001State=Selected001.png",
|
||||
"pressed": "resources/w/ui/img/modal/ExitGame001State=Tap001.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "saveBkg",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"texture": "resources/w/ui/img/main/bkg.png"
|
||||
},
|
||||
{
|
||||
"type": "LinearLayout",
|
||||
"orientation": "vertical",
|
||||
"horizontal_align": "center",
|
||||
"vertical_align": "center",
|
||||
"spacing": 24,
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "saveTitle",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "Выберите слот для сохранения:",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "saveSlot1Button",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "(пусто)",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "saveSlot2Button",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "(пусто)",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "saveSlot3Button",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "(пусто)",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "saveSlot4Button",
|
||||
"width": 300,
|
||||
"height": 70,
|
||||
"text": "(пусто)",
|
||||
"fontSize": 48,
|
||||
"textCentered": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "saveBackButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "bottom",
|
||||
"y": 40,
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"text": "Назад",
|
||||
"fontSize": 40,
|
||||
"textCentered": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"children": [
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "settingsBkg",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"texture": "resources/w/ui/img/main/bkg.png"
|
||||
},
|
||||
{
|
||||
"type": "TextButton",
|
||||
"name": "settingsBackButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "bottom",
|
||||
"y": 40,
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"text": "Назад",
|
||||
"fontSize": 40,
|
||||
"textCentered": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user