space-game001/resources/config/ui.json
Vladislav Khorev d1cab1f3b3 refactoring
2026-01-09 22:33:46 +03:00

38 lines
712 B
JSON

{
"root": {
"type": "FrameLayout",
"x": 0,
"y": 0,
"width": 1280,
"height": 720,
"children": [
{
"type": "Slider",
"name": "velocitySlider",
"x": 1140,
"y": 100,
"width": 50,
"height": 500,
"value": 0.0,
"orientation": "vertical",
"textures": {
"track": "./resources/velocitySliderTexture.png",
"knob": "./resources/velocitySliderButton.png"
}
},
{
"type": "Button",
"name": "shootButton",
"x": 100,
"y": 100,
"width": 100,
"height": 100,
"textures": {
"normal": "./resources/shoot_normal.png",
"hover": "./resources/shoot_hover.png",
"pressed": "./resources/shoot_pressed.png"
}
}
]
}
}