{
  "root": {
    "type": "FrameLayout",
    "x": 0,
    "y": 0,
    "width": 1280,
    "height": 720,
    "children": [
      {
        "type": "FrameLayout",
        "name": "leftPanel",
        "x": 100,
        "y": 100,
        "width": 320,
        "height": 400,
        "children": [
          {
            "type": "LinearLayout",
            "name": "mainButtons",
            "orientation": "vertical",
            "spacing": 10,
            "x": 0,
            "y": 0,
            "width": 300,
            "height": 300,
            "children": [
              {
                "type": "Button",
                "name": "playButton",
                "x": 100,
                "y": 300,
                "width": 200,
                "height": 50,
                "animations": {
                  "buttonsExit": {
                    "repeat": false,
                    "steps": [
                      {
                        "type": "move",
                        "to": [
                          -400,
                          0
                        ],
                        "duration": 1.0,
                        "easing": "easein"
                      }
                    ]
                  }
                },
                "textures": {
                  "normal": "./resources/button.png",
                  "hover": "./resources/sand.png",
                  "pressed": "./resources/button.png"
                }
              },
              {
                "type": "Button",
                "name": "settingsButton",
                "x": 100,
                "y": 200,
                "width": 200,
                "height": 50,
                "animations": {
                  "buttonsExit": {
                    "repeat": false,
                    "steps": [
                      {
                        "type": "wait",
                        "duration": 0.5
                      },
                      {
                        "type": "move",
                        "to": [
                          -400,
                          0
                        ],
                        "duration": 1.0,
                        "easing": "easein"
                      }
                    ]
                  }
                },
                "textures": {
                  "normal": "./resources/sand.png",
                  "hover": "./resources/button.png",
                  "pressed": "./resources/sand.png"
                }
              },
              {
                "type": "Button",
                "name": "exitButton",
                "x": 100,
                "y": 100,
                "width": 200,
                "height": 50,
                "animations": {
                  "buttonsExit": {
                    "repeat": false,
                    "steps": [
                      {
                        "type": "wait",
                        "duration": 1.0
                      },
                      {
                        "type": "move",
                        "to": [
                          -400,
                          0
                        ],
                        "duration": 1.0,
                        "easing": "easein"
                      }
                    ]
                  },
                  "bgScroll": {
                    "repeat": true,
                    "steps": [
                      {
                        "type": "move",
                        "to": [
                          1280,
                          0
                        ],
                        "duration": 5.0,
                        "easing": "linear"
                      }
                    ]
                  }
                },
                "textures": {
                  "normal": "./resources/rock.png",
                  "hover": "./resources/button.png",
                  "pressed": "./resources/rock.png"
                }
              }
            ]
          }
        ]
      },
      {
        "type": "Slider",
        "name": "musicVolumeSlider",
        "x": 1140,
        "y": 100,
        "width": 10,
        "height": 500,
        "value": 0.5,
        "orientation": "vertical",
        "textures": {
          "track": "./resources/musicVolumeBarTexture.png",
          "knob": "./resources/musicVolumeBarButton.png"
        }
      }
    ]
  }
}