Working on UI

This commit is contained in:
Vladislav Khorev committed 2026-05-29 12:44:55 +03:00
1 parent 9adcde5c05
commit c659293bf8
9 files changed
+550 -62

No files matched your search

Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -170,7 +170,7 @@
"text": "Серебряный нож.",
"fontSize": 24,
"fontPath": "resources/fonts/DroidSans.ttf",
"centered": false,
"textCentered": false,
"topAligned": true,
"wrap": true,
"paddingX": 0.0,
@@ -189,7 +189,7 @@
"text": "А все бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут а мы идем.",
"fontSize": 24,
"fontPath": "resources/fonts/DroidSans.ttf",
"centered": false,
"textCentered": false,
"topAligned": true,
"wrap": true,
"paddingX": 0.0,
+70 -43
View File
@@ -34,11 +34,11 @@
{
"type": "LinearLayout",
"orientation": "vertical",
"vertical_align": "center",
"vertical_align": "top",
"horizontal_align": "center",
"spacing": 0,
"x": 0,
"y": -195,
"y": 195,
"width": 290,
"height": 800,
"children": [
@@ -48,25 +48,25 @@
"x": 0.0,
"y": 0.0,
"width": 270.0,
"height": 60.0,
"text": "Задание 1",
"textPaddingY": -8.0,
"height": 90,
"text": "Главное Задание 1",
"textPaddingY": 4.0,
"textPaddingX": 16.0,
"fontSize": 32,
"fontPath": "resources/fonts/DroidSans.ttf",
"centered": false,
"textCentered": false,
"topAligned": false,
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
0.996,
0.977,
0.761,
1.0
],
"textures": {
"normal": "resources/w/red.png",
"hover": "resources/w/red.png",
"pressed": "resources/w/red.png"
"normal": "resources/w/ui/img/journal/ButtonBkg001.png",
"hover": "resources/w/ui/img/journal/ButtonBkg001.png",
"pressed": "resources/w/ui/img/journal/ButtonBkg001.png"
}
},
{
@@ -77,23 +77,50 @@
"width": 270.0,
"height": 60.0,
"text": "Задание 2",
"textPaddingY": -8.0,
"textPaddingY": 4.0,
"textPaddingX": 16.0,
"fontSize": 32,
"fontPath": "resources/fonts/DroidSans.ttf",
"centered": false,
"textCentered": false,
"topAligned": false,
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
0.996,
0.977,
0.761,
1.0
],
"textures": {
"normal": "resources/w/blue.png",
"hover": "resources/w/blue.png",
"pressed": "resources/w/blue.png"
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
}
},
{
"type": "TextButton",
"name": "item3name",
"x": 0.0,
"y": 0.0,
"width": 270.0,
"height": 60.0,
"text": "Задание 3",
"textPaddingY": 4.0,
"textPaddingX": 16.0,
"fontSize": 32,
"fontPath": "resources/fonts/DroidSans.ttf",
"textCentered": false,
"topAligned": true,
"wrap": true,
"color": [
0.02,
0.875,
0.447,
0.6
],
"textures": {
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
}
}
]
@@ -107,15 +134,15 @@
"height": 44.0,
"horizontal_gravity": "center",
"vertical_gravity": "top",
"text": "Выбрано задание 1",
"text": "Главное Задание 1",
"fontSize": 32,
"fontPath": "resources/fonts/DroidSans.ttf",
"centered": false,
"textCentered": false,
"topAligned": false,
"wrap": true,
"color": [
1.0,
1.0,
0.992,
0.78,
0.0,
1.0
]
@@ -156,14 +183,14 @@
"text": "Цель 1 Цель 1 Цель 1 Цель 1",
"fontSize": 32,
"fontPath": "resources/fonts/DroidSans.ttf",
"centered": false,
"textCentered": false,
"topAligned": false,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
0.02,
0.875,
0.447,
0.6
]
}
]
@@ -193,14 +220,14 @@
"text": "Цель 2",
"fontSize": 32,
"fontPath": "resources/fonts/DroidSans.ttf",
"centered": false,
"textCentered": false,
"topAligned": false,
"wrap": true,
"color": [
1.0,
1.0,
1.0,
1.0
0.996,
0.977,
0.761,
0.9
]
}
]
@@ -219,14 +246,14 @@
"text": "А все бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут а мы идем.",
"fontSize": 32,
"fontPath": "resources/fonts/DroidSans.ttf",
"centered": false,
"textCentered": false,
"topAligned": false,
"wrap": true,
"color": [
1.0,
1.0,
0.0,
1.0
0.996,
0.977,
0.761,
0.75
]
}
]