{ "root": { "type": "LinearLayout", "orientation": "vertical", "align": "center", "x": 0, "y": 0, "width": 1920, "height": 1080, "background": { "color": [0, 0, 0, 0.7] }, "children": [ { "type": "Button", "name": "gameOverText", "x": 350, "y": 400, "width": 600, "height": 150, "textures": { "normal": "resources/gameover.png", "hover": "resources/gameover.png", "pressed": "resources/gameover.png" } }, { "type": "Button", "name": "restartButton", "x": 350, "y": 300, "width": 300, "height": 80, "textures": { "normal": "resources/shoot_normal.png", "hover": "resources/shoot_normal.png", "pressed": "resources/shoot_normal.png" } }, { "type": "Button", "name": "gameOverExitButton", "x": 650, "y": 300, "width": 300, "height": 80, "textures": { "normal": "resources/sand2.png", "hover": "resources/sand2.png", "pressed": "resources/sand2.png" } } ] } }