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

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

   objEffectMap TransOutGM

   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
         }
      }

      uiTextWidget Text_Header
      {
         Position = [ 400.000000, 41.000000, 0.000000 ]
         Height = 32.000000
         AnchorHorz = CENTER
         Anim = "Outline"
         Layered = true
         LayerOffset = [ 2.000000, 2.000000 ]
         LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
         Text = T( "How To Play" )
      }

      # data/scripts/interface/game_components.uis

      uiFrame Shooter_Controls
      {
         Position = [ 226.000214, 111.000000, 0.000000 ]

         uiFrame Scarab
         {
            Position = [ -100.000000, 0.000000, 0.000000 ]
            AnchorHorz = CENTER

            uiSprite Shadow
            {
               Position = [ 8.000000, 8.000000, 0.000000 ]
               Sprite = ~data/textures/game/shooter/shooter_shadow.jpg*data/textures/game/shooter/shooter_shadow_alpha.tga
               FPS = 0.000000
               Loop = false
               BlendMode = MUL
            }

            uiSprite NextBall_1
            {
               Position = [ 38.000000, 21.000000, 0.000000 ]
               Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
               Sprite = ~data/textures/game/next_ball/1.jpg*data/textures/game/next_ball/alpha.tga
               FPS = 0.000000
               Loop = false
            }

            uiSprite NextBall_2
            {
               Position = [ 38.000000, 21.000000, 0.000000 ]
               Sprite = ~data/textures/game/next_ball/2.jpg*data/textures/game/next_ball/alpha.tga
               FPS = 0.000000
               Loop = false
            }

            uiSprite Shooter
            {
               Sprite = ~data/sprites/game/shooter.spr
               Anim = "Center"
               FPS = 0.000000
               Loop = false
            }

            uiSprite Ball_1
            {
               Position = [ 64.000000, -11.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/sprites/game/balls/1.spr
               FPS = 12.000000
               Reverse = true
            }

            uiSprite Ball_2
            {
               Position = [ 64.000000, -11.000000, 0.000000 ]
               Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
               AnchorHorz = CENTER
               Sprite = ~data/sprites/game/balls/2.spr
               FPS = 12.000000
               Reverse = true
            }
         }

         uiTextWidget Text_Move
         {
            Position = [ 106.000000, 2.000000, 0.000000 ]
            Width = 400.000000
            Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
            AnchorHorz = LEFT
            AnchorVert = CENTER
            Anim = "Outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Text = T( "Move the Scarab with the Mouse" )
         }

         uiTextWidget Text_Shoot
         {
            Position = [ 106.000000, 2.000000, 0.000000 ]
            Width = 400.000000
            Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
            AnchorHorz = LEFT
            AnchorVert = CENTER
            Anim = "Outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Text = T( "Left Click to Launch Spheres" )
         }

         uiTextWidget Text_Swap
         {
            Position = [ 106.000000, 2.000000, 0.000000 ]
            Width = 400.000000
            Color = [ 1.000000, 1.000000, 1.000000, 0.000000 ]
            AnchorHorz = LEFT
            AnchorVert = CENTER
            Anim = "Outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Text = T( "Right Click to Swap Between the\nCurrent and Next Spheres." )
         }

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

      uiFrame Basic_Gameplay
      {
         Position = [ 394.000092, 218.000000, 0.000000 ]
         AnchorHorz = CENTER

         uiFrame Balls_Shadows
         {
            Position = [ 47.999954, 21.000061, 0.000000 ]

            uiFrame Shadows
            {
               Position = [ 4.000000, 4.000000, 0.000000 ]

               uiFlowLayout flow

               uiSprite Shadow
               {
                  Position = [ 0.000001, 0.000000, 0.000000 ]
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/textures/game/balls/shadow.jpg*data/textures/game/balls/shadow_alpha.tga
                  FPS = 0.000000
                  BlendMode = MUL
               }

               uiSprite Shadow
               {
                  Position = [ 32.000000, 0.000000, 0.000000 ]
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/textures/game/balls/shadow.jpg*data/textures/game/balls/shadow_alpha.tga
                  FPS = 0.000000
                  BlendMode = MUL
               }

               uiSprite Shadow
               {
                  Position = [ 64.000000, 0.000000, 0.000000 ]
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/textures/game/balls/shadow.jpg*data/textures/game/balls/shadow_alpha.tga
                  FPS = 0.000000
                  BlendMode = MUL
               }

               uiSprite Shadow
               {
                  Position = [ 96.000000, 0.000000, 0.000000 ]
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/textures/game/balls/shadow.jpg*data/textures/game/balls/shadow_alpha.tga
                  FPS = 0.000000
                  BlendMode = MUL
               }

               uiSprite Shadow
               {
                  Position = [ 128.000000, 0.000000, 0.000000 ]
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/textures/game/balls/shadow.jpg*data/textures/game/balls/shadow_alpha.tga
                  FPS = 0.000000
                  BlendMode = MUL
               }

               uiSprite Shadow
               {
                  Position = [ 160.000000, 0.000000, 0.000000 ]
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/textures/game/balls/shadow.jpg*data/textures/game/balls/shadow_alpha.tga
                  FPS = 0.000000
                  BlendMode = MUL
               }
            }

            uiFrame Ball_Aura_1
            {
               Position = [ 79.999313, -16.000000, 0.000000 ]
               Width = 50.000000
               Height = 50.000000

               objEffectMap Idle
               {
                  Effect = ~data/scripts/effects/game/powerups/activate/speed_shot_beam.ofx
               }
            }

            uiFrame Ball_Aura_2
            {
               Position = [ 110.999313, -16.000000, 0.000000 ]
               Width = 50.000000
               Height = 50.000000

               objEffectMap Idle
               {
                  Effect = ~data/scripts/effects/game/powerups/activate/speed_shot_beam.ofx
               }
            }

            uiFrame Ball_Aura_3
            {
               Position = [ 142.999313, -16.000000, 0.000000 ]
               Width = 50.000000
               Height = 50.000000

               objEffectMap Idle
               {
                  Effect = ~data/scripts/effects/game/powerups/activate/speed_shot_beam.ofx
               }
            }

            uiFrame Balls
            {
               uiFlowLayout flow

               uiSprite Ball
               {
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/sprites/game/balls/4.spr
                  Frame = 25
                  FPS = 0.000000
               }

               uiSprite Ball
               {
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/sprites/game/balls/2.spr
                  Frame = 8
                  FPS = 0.000000
               }

               uiSprite Ball
               {
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/sprites/game/balls/3.spr
                  Frame = 23
                  FPS = 0.000000
               }

               uiSprite Ball
               {
                  Position = [ 96.000000, 0.000000, 0.000000 ]
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/sprites/game/balls/3.spr
                  Frame = 8
                  FPS = 0.000000
               }

               uiSprite Ball
               {
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/sprites/game/balls/3.spr
                  Frame = 12
                  FPS = 0.000000
               }

               uiSprite Vise
               {
                  Position = [ 160.000000, 0.000000, 0.000000 ]
                  Rotation = [ 0.000000, 0.000000, -90.000000 ]
                  Sprite = ~data/sprites/game/vise.spr
                  Anim = "Normal"
                  SubAnim = "Normal"
                  FPS = 0.000000
               }
            }
         }

         uiTextWidget Text
         {
            Position = [ 251.998901, 0.000000, 0.000000 ]
            Width = 400.000000
            AnchorHorz = LEFT
            AnchorVert = CENTER
            Anim = "Outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Text = T( "Create Matches of 3 or More\nto Destroy Spheres\nand Stop Them from\nEntering the Hole!" )
         }

         uiSprite Hole
         {
            Position = [ -14, -25.000000, 0.000000 ]
            Sprite = ~data/holes/hole.jpg*data/holes/hole_alpha.tga
         }
      }

      uiFrame Powerups
      {
         Position = [ 272.999268, 351.000000, 0.000000 ]
         AnchorHorz = LEFT

         uiTextWidget Text
         {
            Position = [ 58.000000, 0.000000, 0.000000 ]
            Width = 400.000000
            AnchorHorz = LEFT
            AnchorVert = CENTER
            Anim = "Outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Text = T( "Create 3 Matches in a Row to\nEarn a Powerup!\nCatch Falling Powerups\nto Activate Them!" )
         }

         uiFrame tag
         {
            Width = 5.000000
            Height = 5.000000
         }

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

      uiFrame Ankh_Coins
      {
         Position = [ 75.999832, 464.000000, 0.000000 ]
         AnchorHorz = LEFT

         uiTextWidget Text
         {
            Position = [ 20.000000, 0.000000, 0.000000 ]
            Width = 300.000000
            AnchorHorz = LEFT
            AnchorVert = CENTER
            Anim = "Outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Text = T( "Catch 30 Stars to\nEarn an Extra Life!" )
         }

         uiFrame tag
         {
            Width = 5.000000
            Height = 5.000000
         }

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

      uiFrame Treasure
      {
         Position = [ 434.998871, 464.000000, 0.000000 ]
         AnchorHorz = LEFT

         uiTextWidget Text
         {
            Position = [ 20.000000, 0.000000, 0.000000 ]
            Width = 300.000000
            AnchorHorz = LEFT
            AnchorVert = CENTER
            Anim = "Outline"
            WordWrap = true
            Layered = true
            LayerOffset = [ 2.000000, 2.000000 ]
            LayerColor = [ 0.000000, 0.000000, 0.000000, 0.500000 ]
            Text = T( "Collect Falling Treasure\nto Score Bonus Points!" )
         }

         uiFrame tag
         {
            Width = 5.000000
            Height = 5.000000
         }

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

      uiFrame
      {
         Position = [ 400.000000, 510.000000, 0.000000 ]
         AnchorHorz = CENTER

         uiFlowLayout flow

         uiButton Button_DoNotShow
         {
            Position = [ 38.744999, 0.000000, 0.000000 ]
            Command = "DoNotShow"

            uiTextWidget Text
            {
               Text = T( "Do Not Show Again" )
            }

            uiInputItem
            {
               uiInputBinding
               {
                  Binding = "Controller.X"
               }
            }
         }

         uiButton Button_More
         {
            Position = [ 385.146301, 0.000000, 0.000000 ]
            AnchorHorz = CENTER
            Command = "More"

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

            uiInputItem
            {
               uiInputBinding
               {
                  Binding = "Controller.Y"
               }
            }
         }

         uiFrame
         {
            uiButton Button_Continue
            {
               AnchorHorz = RIGHT
               Command = "Continue"

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

               uiInputItem
               {
                  uiInputBinding
                  {
                     Binding = "Controller.B"
                  }

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

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