This commit is contained in:
Vlad committed 2025-12-22 15:40:45 +06:00
1 parent 068c319890
commit bee2fff538
5 files changed
+175 -9

No files matched your search

+72
View File
@@ -0,0 +1,72 @@
{
"root": {
"type": "FrameLayout",
"x": 0,
"y": 0,
"width": 1280,
"height": 720,
"children": [
{
"type": "FrameLayout",
"name": "centerPanel",
"x": 480,
"y": 160,
"width": 320,
"height": 400,
"children": [
{
"type": "LinearLayout",
"name": "settingsButtons",
"orientation": "vertical",
"spacing": 10,
"x": 0,
"y": 0,
"width": 300,
"height": 300,
"children": [
{
"type": "Button",
"name": "Opt1",
"x": 100,
"y": 300,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/button.png",
"pressed": "./resources/button.png"
}
},
{
"type": "Button",
"name": "Opt2",
"x": 100,
"y": 200,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/button.png",
"pressed": "./resources/button.png"
}
},
{
"type": "Button",
"name": "backButton",
"x": 100,
"y": 100,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/button.png",
"pressed": "./resources/button.png"
}
}
]
}
]
}
]
}
}
+9 -9
View File
@@ -28,13 +28,13 @@
"type": "Button",
"name": "playButton",
"x": 100,
"y": 100,
"y": 300,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/rock.png",
"pressed": "./resources/sand.png"
"hover": "./resources/button.png",
"pressed": "./resources/button.png"
}
},
{
@@ -45,22 +45,22 @@
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/rock.png",
"normal": "./resources/sand.png",
"hover": "./resources/sand.png",
"pressed": "./resources/sand.png"
}
},
{
"type": "Button",
"name": "exitButton",
"x": 150,
"y": 300,
"x": 100,
"y": 100,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"normal": "./resources/rock.png",
"hover": "./resources/rock.png",
"pressed": "./resources/sand.png"
"pressed": "./resources/rock.png"
}
}
]