Implement first menu (still not active)

This commit is contained in:
2021-01-16 23:36:34 +01:00
parent f187a25e9e
commit bfd5d41437
7 changed files with 47 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
{
"loadingScreen": [
{
"unique_name": "widget0",
"unique_name": "background",
"position": [0.0, 0.0],
"dimensions": [1.0, 1.0],
"texture": "data/res/textures/loading.png"
@@ -9,22 +9,22 @@
],
"mainMenuScreen": [
{
"unique_name": "widget1",
"position": [0.5, 0.5],
"dimensions": [0.25, 0.25],
"texture": "data/res/textures/container.png"
"unique_name": "exit",
"position": [0.4, 0.2],
"dimensions": [0.25, 0.10],
"texture": "data/res/textures/exit.png"
},
{
"unique_name": "widget2",
"position": [0.75, 0.0],
"dimensions": [0.25, 0.25],
"texture": "data/res/textures/tex2.png"
"unique_name": "play",
"position": [0.4, 0.5],
"dimensions": [0.25, 0.1],
"texture": "data/res/textures/play.png"
},
{
"unique_name": "widget3",
"position": [0.05, 0.05],
"dimensions": [0.35, 0.35],
"texture": "data/res/textures/loading.png"
"unique_name": "background",
"position": [0.0, 0.0],
"dimensions": [1.0, 1.0],
"texture": "data/res/textures/mainMenu.png"
}
]
}