Working on portrait mode

This commit is contained in:
Vladislav Khorev committed 2026-06-26 21:25:53 +03:00
1 parent 8c42179576
commit b41e312511
19 files changed
+102 -636

No files matched your search

+5 -114
View File
@@ -10,7 +10,7 @@
"name": "settingsButton",
"horizontal_gravity": "right",
"vertical_gravity": "top",
"x": -23,
"x": -35,
"y": -35,
"width": 200,
"height": 200,
@@ -27,8 +27,8 @@
"name": "inventoryButton",
"horizontal_gravity": "right",
"vertical_gravity": "top",
"x": 110,
"y": -18,
"x": -18,
"y": 110,
"width": 165,
"height": 165,
"clickZoneWidth": 151,
@@ -44,8 +44,8 @@
"name": "journalButton",
"horizontal_gravity": "right",
"vertical_gravity": "top",
"x": 220,
"y": -18,
"x": -18,
"y": 220,
"width": 165,
"height": 165,
"clickZoneWidth": 89,
@@ -65,115 +65,6 @@
"horizontal_gravity": "center",
"vertical_align": "top",
"texture": "resources/w/ui/img/Location_uni_ext.png"
},
{
"type": "FrameLayout",
"vertical_align": "top",
"horizontal_align": "center",
"spacing": 0,
"width": "match_parent",
"height": 528,
"children": [
{
"type": "StaticImage",
"name": "toast001",
"horizontal_gravity": "center",
"width": 672,
"height": 176,
"y": 80,
"visible" : false,
"texture": "resources/w/ui/img/toast/item_received001.png"
},
{
"type": "StaticImage",
"name": "toast002",
"horizontal_gravity": "center",
"width": 672,
"height": 176,
"y": 200,
"visible" : false,
"texture": "resources/w/ui/img/toast/item_removed001.png"
},
{
"type": "StaticImage",
"name": "toast003",
"horizontal_gravity": "center",
"width": 672,
"height": 176,
"y": 320,
"visible" : false,
"texture": "resources/w/ui/img/toast/objective_completed001.png"
},
{
"type": "TextView",
"name": "toast001text",
"horizontal_gravity": "center",
"vertical_gravity": "top",
"y": 170,
"x": 8,
"width": 400,
"height": 100,
"visible" : false,
"text": "Серебряный нож.",
"fontSize": 24,
"fontPath": "resources/fonts/DroidSans.ttf",
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
]
},
{
"type": "TextView",
"name": "toast002text",
"horizontal_gravity": "center",
"vertical_gravity": "top",
"y": 290,
"x": 8,
"width": 400,
"height": 100,
"visible" : false,
"text": "Серебряный нож 2.",
"fontSize": 24,
"fontPath": "resources/fonts/DroidSans.ttf",
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
]
},
{
"type": "TextView",
"name": "toast003text",
"horizontal_gravity": "center",
"vertical_gravity": "top",
"y": 410,
"x": 8,
"width": 400,
"height": 100,
"visible" : false,
"text": "Серебряный нож 3.",
"fontSize": 24,
"fontPath": "resources/fonts/DroidSans.ttf",
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
]
}
]
},
{
"type": "StaticImage",