uiDialog Menu
{
   Width = 800.000000
   Height = 600.000000
   StyleMap = ~data/scripts/interface/stylemaps/dialog.osm

   objEffectMap TransOut
   {
      Effect = ~data/scripts/effects/ui/transition_dialog.ofx
   }

   uiFrame Frame
   {
      Position = [ 400.000000, 300.000000, 0.000000 ]
      AnchorHorz = CENTER
      AnchorVert = CENTER

      uiSprite Background_Reflection
      {
         SceneLayer = "GameBackgroundBase2"
         Sprite = ~data/maps/star/background1.jpg*data/maps/star/background_alpha2.tga
      }

      uiSprite Background
      {
         SceneLayer = "GameBackgroundBase"
         Sprite = ~data/maps/star/background1.jpg*data/maps/star/background.tga
         BlendMode = NONE
         
         objEffectMap Idle
         {
            Effect = ~data/maps/star/idle.ofx
         }
      }

      uiClipFrame
      {
         Width = 800.000000
         Height = 600.000000

         uiFrame Const
         {
            Position = [ 400.000000, 178.000000, 0.000000 ]
            Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
            AnchorHorz = CENTER
            AnchorVert = CENTER

            uiSprite Constellation
            {
               Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
               AnchorHorz = CENTER
               AnchorVert = CENTER
               Sprite = ~data/textures/game_win/constellation.jpg*data/textures/game_win/constellation_alpha.tga
               BlendMode = ADD
            }

            uiSprite Constellation2
            {
               Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
               AnchorHorz = CENTER
               AnchorVert = CENTER
               Sprite = ~data/textures/game_win/constellation.jpg*data/textures/game_win/constellation_alpha.tga
               BlendMode = ADD
            }

            uiFrame Stars
            {
               uiFrame Major
               {
                  uiSprite Star
                  {
                     Position = [ -73.999725, -90.000000, 0.000000 ]
                     Scale = [ 1.500000, 1.500000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 11
                     FPS = 16.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -183.999847, 8.000000, 0.000000 ]
                     Scale = [ 2.000000, 2.000000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 4
                     FPS = 12.000000
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 113.999817, 80.000000, 0.000000 ]
                     Scale = [ 1.500000, 1.500000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 14
                     FPS = 16.000000
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 316.000244, -93.999908, 0.000000 ]
                     Scale = [ 1.500000, 1.500000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 10
                     FPS = 15.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -315.999146, -94.000000, 0.000000 ]
                     Scale = [ 1.500000, 1.500000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 1
                     FPS = 15.000000
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -48.001007, 52.000000, 0.000000 ]
                     Scale = [ 1.500000, 1.500000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 10
                     FPS = 12.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 99.999847, -59.999939, 0.000000 ]
                     Scale = [ 2.000000, 2.000000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 12
                     FPS = 16.000000
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 242.000427, -8.000000, 0.000000 ]
                     Scale = [ 1.500000, 1.500000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 1
                     FPS = 15.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -1.999237, 12.000153, 0.000000 ]
                     Scale = [ 1.500000, 1.500000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 6
                     FPS = 12.000000
                     Reverse = true
                     BlendMode = ADD
                  }
               }

               uiFrame Minor
               {
                  Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]

                  uiSprite Star
                  {
                     Position = [ -201.999054, -94.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -183.999329, -72.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 8.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -136.000061, -60.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 2
                     FPS = 9.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -260.999756, -17.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -63.999603, 12.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 8.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -87.999756, 24.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 5
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -121.999573, 42.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 9.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -113.999420, 90.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -73.999969, 96.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 10
                     FPS = 8.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -20.000183, 32.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 9.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 37.999695, 26.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -65.999542, -28.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 8.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -300.000244, -48.999985, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 73.998993, 96.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 9.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 47.999786, 58.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 8.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 59.999603, 30.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 2
                     FPS = 9.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 85.999359, 18.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 119.999603, 40.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 72.000061, 6.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 10
                     FPS = 8.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 155.999054, 13.000000, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 9.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 140.999725, -61.999893, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 71.999939, -17.999878, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 79.999786, -81.999939, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 2
                     FPS = 9.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 101.999817, -93.999908, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 8.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 179.999146, -71.999939, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 197.999908, -93.999893, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 5
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ 294.999420, -41.999924, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 9.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -104.000732, -93.999893, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -104.000732, -59.999893, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     Frame = 5
                     FPS = 10.000000
                     Reverse = true
                     BlendMode = ADD
                  }

                  uiSprite Star
                  {
                     Position = [ -64.001251, 36.000107, 0.000000 ]
                     Scale = [ 0.750000, 0.750000, 1.000000 ]
                     AnchorHorz = CENTER
                     AnchorVert = CENTER
                     Sprite = ~data/sprites/particles/spark_ball_6.spr
                     FPS = 8.000000
                     Reverse = true
                     BlendMode = ADD
                  }
               }
            }
         }
      }

      uiSprite bg_alpha
      {
         Position = [ 0.000000, 0.000000, 0.000000 ]
         Sprite = ~data/textures/game_win/background.jpg*data/textures/game_win/background_alpha.tga
      }

      uiTextWidget Text_Win1
      {
         Position = [ 389.999664, 33.000000, 0.000000 ]
         Height = 36.000000
         AnchorHorz = CENTER
         Anim = "Outline"
         Justify = CENTER
         Text = T( "Congratulations, my brave warrior!" )
      }

      uiClipFrame Clip
      {
         Position = [ 400.000000, 186.000000, 0.000000 ]
         Width = 800.000000
         Height = 363.000000
         AnchorHorz = CENTER
         AnchorVert = TOP

         uiTextWidget Text_Win2
         {
            Position = [ 400.000000, 0.000000, 0.000000 ]
            Width = 775.000000
            AnchorHorz = CENTER
            Anim = "Outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Justify = CENTER
            Text = T( "You have successfully passed the test of the\nStar Guardian.\n\nHowever, you are not the first or the last.\n\nThe purpose of the Star Guardian is to defend\nthe universe, and I hope you can better\npractice your defense abilities in practice\nmode and survival mode." )
         }
      }

      uiButton Button_Continue
      {
         Position = [ 400.000000, 549.000000, 0.000000 ]
         AnchorHorz = CENTER
         Command = "Continue"

         uiTextWidget Text
         {
            Text = T( "Continue" )
         }

         objEffectMap Idle
         {
            Effect = ~data/scripts/effects/ui/button_idle_pulse.ofx
         }

         uiInputItem
         {
            uiInputBinding
            {
               Binding = "Keyboard.Enter"
            }

            uiInputBinding
            {
               Binding = "Controller.A"
            }

            uiInputBinding
            {
               Binding = "Controller.Start"
            }
         }
      }

      objEffectMap Idle
      {
         Effect = ~data/scripts/effects/ui/dialog/game_win/idle.ofx
      }
   }

   objEffectMap Idle
   {
      Effect = ~data/scripts/effects/postprocess/disabledarkpass.ofx
   }
}
