{
  "$$ClassName" : "TCastleUserInterface",
  "FullSize" : true,
  "Name" : "RootGroup",
  "$NonVisualComponents" : [
    {
      "$$ClassName" : "TCastleSound",
      "Name" : "SoundKaboom",
      "URL" : "castle-data:/sounds/kaboom.wav"
    },
    {
      "$$ClassName" : "TCastleSound",
      "Name" : "SoundRatSqueak",
      "URL" : "castle-data:/sounds/rat_squeak.wav"
    }
  ],
  "$Children" : [
    {
      "$$ClassName" : "TCastleViewport",
      "Background" : "Background1",
      "Camera" : "Camera1",
      "FullSize" : true,
      "Items" : {
        "$$ClassName" : "TCastleRootTransform",
        "PhysicsProperties" : {
          "$$ClassName" : "TPhysicsProperties"
        },
        "$Children" : [
          {
            "$$ClassName" : "TCastleScene",
            "ExposeTransforms" : [
            ],
            "Name" : "SceneLevel",
            "PreciseCollisions" : true,
            "ProcessEvents" : true,
            "RenderOptions" : {
              "$$ClassName" : "TCastleScene.TSceneRenderOptions"
            },
            "URL" : "castle-data:/levels/base_level.gltf",
            "$Behaviors" : [
              {
                "$$ClassName" : "TCastlePlaneCollider",
                "AutoSize" : false,
                "Name" : "PlaneCollider1",
                "Restitution" : 3.0000001192092896E-001
              },
              {
                "$$ClassName" : "TCastleRigidBody",
                "Name" : "RigidBody1"
              }
            ]
          },
          {
            "$$ClassName" : "TCastleScene",
            "ExposeTransforms" : [
            ],
            "Name" : "Rat",
            "RenderOptions" : {
              "$$ClassName" : "TCastleScene.TSceneRenderOptions"
            },
            "RotationPersistent" : {
              "$$ClassName" : "TCastleVector4RotationPersistent",
              "W" : 1.5803413391113281E+000,
              "Y" : -9.9999976158142090E-001
            },
            "URL" : "castle-data:/extra_objects/rat.gltf",
            "$Behaviors" : [
              {
                "$$ClassName" : "TCastleSoundSource",
                "Name" : "SoundSourceRat",
                "Sound" : "SoundRat",
                "$NonVisualComponents" : [
                  {
                    "$$ClassName" : "TCastleSound",
                    "Name" : "SoundRat",
                    "URL" : "castle-data:/sounds/rat_sound.wav"
                  }
                ]
              }
            ]
          },
          {
            "$$ClassName" : "TCastleTransform",
            "Name" : "TransformCricket",
            "TranslationPersistent" : {
              "$$ClassName" : "TCastleVector3Persistent",
              "X" : 3.1144390106201172E+000,
              "Y" : 1.0000000000000000E+000,
              "Z" : -1.4235808849334717E+000
            },
            "$Behaviors" : [
              {
                "$$ClassName" : "TCastleSoundSource",
                "Name" : "SoundSourceCricket",
                "Sound" : "SoundCricket",
                "$NonVisualComponents" : [
                  {
                    "$$ClassName" : "TCastleSound",
                    "Name" : "SoundCricket",
                    "Stream" : true,
                    "URL" : "castle-data:/sounds/cricket.wav",
                    "Volume" : 2.0000000298023224E-001
                  }
                ]
              }
            ]
          },
          {
            "$$ClassName" : "TCastleCamera",
            "Name" : "Camera1",
            "Orthographic" : {
              "$$ClassName" : "TCastleOrthographic"
            },
            "Perspective" : {
              "$$ClassName" : "TCastlePerspective"
            },
            "ProjectionNear" : 6.0000002384185791E-002,
            "RotationPersistent" : {
              "$$ClassName" : "TCastleVector4RotationPersistent",
              "Z" : 1.0000000000000000E+000
            },
            "TranslationPersistent" : {
              "$$ClassName" : "TCastleVector3Persistent",
              "X" : -5.6043070554733276E-001,
              "Y" : 1.1162973642349243E+000,
              "Z" : 3.0712912082672119E+000
            },
            "$Children" : [
              {
                "$$ClassName" : "TCastleDirectionalLight",
                "Name" : "DirectionalLight1"
              }
            ]
          },
          {
            "$$ClassName" : "TCastleScene",
            "CastGlobalLights" : true,
            "ExposeTransforms" : [
            ],
            "Name" : "SceneThunder",
            "ProcessEvents" : true,
            "RenderOptions" : {
              "$$ClassName" : "TCastleScene.TSceneRenderOptions"
            },
            "URL" : "castle-data:/levels/thunder.x3dv"
          }
        ]
      },
      "Name" : "Viewport",
      "PreventInfiniteFallingDown" : true,
      "$NonVisualComponents" : [
        {
          "$$ClassName" : "TCastleBackground",
          "Name" : "Background1",
          "TextureNegativeX" : "castle-data:/skies/sky_neg_x_left.png",
          "TextureNegativeY" : "castle-data:/skies/sky_neg_y_bottom.png",
          "TextureNegativeZ" : "castle-data:/skies/sky_neg_z_back.png",
          "TexturePositiveX" : "castle-data:/skies/sky_pos_x_right.png",
          "TexturePositiveY" : "castle-data:/skies/sky_pos_y_top.png",
          "TexturePositiveZ" : "castle-data:/skies/sky_pos_z_front.png"
        }
      ],
      "$Children" : [
        {
          "$$ClassName" : "TCastleWalkNavigation",
          "MoveSpeed" : 1.0000000000000000E+001,
          "Name" : "Navigation",
          "PreferredHeight" : 5.6000000238418579E-001,
          "Radius" : 5.0000000745058060E-002
        }
      ],
      "InternalDesignCamera" : {
        "$$ClassName" : "TCastleCamera",
        "Name" : "",
        "Orthographic" : {
          "$$ClassName" : "TCastleOrthographic"
        },
        "Perspective" : {
          "$$ClassName" : "TCastlePerspective"
        },
        "RotationPersistent" : {
          "$$ClassName" : "TCastleVector4RotationPersistent",
          "W" : 3.0857428908348083E-001,
          "X" : -6.5955156087875366E-001,
          "Y" : 7.4854123592376709E-001,
          "Z" : 6.8393930792808533E-002
        },
        "TranslationPersistent" : {
          "$$ClassName" : "TCastleVector3Persistent",
          "X" : 1.7127014398574829E+000,
          "Y" : 2.1116571426391602E+000,
          "Z" : 4.9565000534057617E+000
        }
      },
      "InternalDesignNavigations[dnFly]" : {
        "$$ClassName" : "TCastleWalkNavigationDesign",
        "Name" : ""
      },
      "InternalDesignNavigations[dnExamine]" : {
        "$$ClassName" : "TCastleExamineNavigationDesign",
        "Exists" : false,
        "Name" : ""
      },
      "InternalDesignNavigations[dn2D]" : {
        "$$ClassName" : "TCastle2DNavigationDesign",
        "Exists" : false,
        "Name" : ""
      }
    },
    {
      "$$ClassName" : "TCastleLabel",
      "ColorPersistent" : {
        "$$ClassName" : "TCastleColorPersistent",
        "Green" : 1.0000000000000000E+000,
        "Red" : 1.0000000000000000E+000
      },
      "FontSize" : 2.0000000000000000E+001,
      "HorizontalAnchorParent" : "hpRight",
      "HorizontalAnchorSelf" : "hpRight",
      "Name" : "LabelFps",
      "Text" : [
        "FPS: xxx"
      ],
      "TranslationPersistent" : {
        "$$ClassName" : "TCastleVector2Persistent",
        "X" : -2.0000000000000000E+001,
        "Y" : -2.0000000000000000E+001
      },
      "VerticalAnchorParent" : "vpTop",
      "VerticalAnchorSelf" : "vpTop"
    },
    {
      "$$ClassName" : "TCastleRectangleControl",
      "AutoSizeToChildren" : true,
      "Border" : {
        "$$ClassName" : "TBorder",
        "AllSides" : 2.0000000000000000E+000
      },
      "BorderColorPersistent" : {
        "$$ClassName" : "TCastleColorPersistent",
        "Alpha" : 1.0000000000000000E+000,
        "Blue" : 1.0000000000000000E+000,
        "Green" : 1.0000000000000000E+000
      },
      "ColorPersistent" : {
        "$$ClassName" : "TCastleColorPersistent",
        "Alpha" : 2.5000000000000000E-001,
        "Blue" : 0.0000000000000000E+000,
        "Green" : 0.0000000000000000E+000,
        "Red" : 0.0000000000000000E+000
      },
      "Name" : "HelpMessageContainer",
      "TranslationPersistent" : {
        "$$ClassName" : "TCastleVector2Persistent",
        "X" : 1.0000000000000000E+001,
        "Y" : -1.0000000000000000E+001
      },
      "VerticalAnchorParent" : "vpTop",
      "VerticalAnchorSelf" : "vpTop",
      "$Children" : [
        {
          "$$ClassName" : "TCastleLabel",
          "ColorPersistent" : {
            "$$ClassName" : "TCastleColorPersistent",
            "Blue" : 1.0000000000000000E+000,
            "Green" : 1.0000000000000000E+000,
            "Red" : 1.0000000000000000E+000
          },
          "Name" : "HelpMessage",
          "Padding" : 1.0000000000000000E+001,
          "Text" : [
            "Controls:",
            "  AWSD, arrows: move and rotate",
            "  Space: jump",
            "  C: crouch",
            "  Right mouse click: toggle mouse look",
            "  Left mouse click: detonate",
            "",
            "Other:",
            "  F1: toggle this help",
            "  F5: save screen"
          ],
          "TranslationPersistent" : {
            "$$ClassName" : "TCastleVector2Persistent",
            "Y" : -2.0027160644531250E-005
          },
          "VerticalAnchorParent" : "vpTop",
          "VerticalAnchorSelf" : "vpTop"
        }
      ]
    },
    {
      "$$ClassName" : "TCastleCrosshair",
      "Exists" : false,
      "Name" : "CrosshairForMouseLook"
    },
    {
      "$$ClassName" : "TCastleImageControl",
      "Content" : {
        "$$ClassName" : "TCastleImagePersistent",
        "URL" : "castle-data:/textures/mute_sign.png"
      },
      "Exists" : false,
      "HorizontalAnchorParent" : "hpRight",
      "HorizontalAnchorSelf" : "hpRight",
      "Name" : "MuteImage",
      "TranslationPersistent" : {
        "$$ClassName" : "TCastleVector2Persistent",
        "X" : -1.0000000000000000E+001,
        "Y" : -1.0000000000000000E+001
      },
      "VerticalAnchorParent" : "vpTop",
      "VerticalAnchorSelf" : "vpTop"
    },
    {
      "$$ClassName" : "TCastleTimer",
      "IntervalSeconds" : 1.0000000000000000E+000,
      "Name" : "TimerSpawnTnts"
    }
  ]
}