Make Widgets clickable
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"loadingScreen": [
|
||||
{
|
||||
"unique_name": "widget0",
|
||||
"position": [0.0, 0.0],
|
||||
"dimensions": [1.0, 1.0],
|
||||
"texture": "data/res/textures/loading.png"
|
||||
@@ -8,14 +9,22 @@
|
||||
],
|
||||
"mainMenuScreen": [
|
||||
{
|
||||
"unique_name": "widget1",
|
||||
"position": [0.5, 0.5],
|
||||
"dimensions": [0.25, 0.25],
|
||||
"texture": "data/res/textures/container.png"
|
||||
},
|
||||
{
|
||||
"unique_name": "widget2",
|
||||
"position": [0.75, 0.0],
|
||||
"dimensions": [0.25, 0.25],
|
||||
"texture": "data/res/textures/tex2.png"
|
||||
},
|
||||
{
|
||||
"unique_name": "widget3",
|
||||
"position": [0.05, 0.05],
|
||||
"dimensions": [0.35, 0.35],
|
||||
"texture": "data/res/textures/loading.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user