Blizzard_NewPlayerExperience/Blizzard_TutorialPointerFrame.xml

Blizzard_NewPlayerExperience/Blizzard_TutorialPointerFrame.xml (9.1.5.40906; unchanged since 9.0.1.36230)
  1. <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  2.   <Script file="Blizzard_TutorialPointerFrame.lua" />
  3.  
  4.   <!-- UP -->
  5.   <Frame name="Tutorial_PointerUp" alpha="0" virtual="true">
  6.     <Size x="64" y="64" />
  7.     <Anchors>
  8.       <Anchor point="BOTTOM" y="-23" />
  9.     </Anchors>
  10.     <Layers>
  11.       <Layer level="BACKGROUND">
  12.         <Texture atlas="NPE_ArrowUp" />
  13.       </Layer>
  14.       <Layer level="OVERLAY">
  15.         <Texture atlas="NPE_ArrowUpGlow" alpha="0.75" alphaMode="ADD" />
  16.       </Layer>
  17.     </Layers>
  18.     <Animations>
  19.       <AnimationGroup parentKey="Anim">
  20.         <Translation offsetY="50" duration="1" order="1" smoothing="OUT"/>
  21.         <Alpha fromAlpha="0" toAlpha="1" duration="0.1" order="1"/>
  22.         <Alpha fromAlpha="1" toAlpha="0" duration="0.9" startDelay="0.1" order="1" smoothing="IN"/>
  23.         <Scripts>
  24.           <OnFinished>
  25.             self:Play();
  26.           </OnFinished>
  27.         </Scripts>
  28.       </AnimationGroup>
  29.     </Animations>
  30.   </Frame>
  31.  
  32.   <!-- DOWN -->
  33.   <Frame name="Tutorial_PointerDown" alpha="0" virtual="true">
  34.     <Size x="64" y="64" />
  35.     <Anchors>
  36.       <Anchor point="TOP" y="23" />
  37.     </Anchors>
  38.     <Layers>
  39.       <Layer level="BACKGROUND">
  40.         <Texture atlas="NPE_ArrowDown" />
  41.       </Layer>
  42.       <Layer level="OVERLAY">
  43.         <Texture atlas="NPE_ArrowDownGlow" alpha="0.75" alphaMode="ADD"/>
  44.       </Layer>
  45.     </Layers>
  46.     <Animations>
  47.       <AnimationGroup parentKey="Anim">
  48.         <Translation offsetY="-50" duration="1" order="1" smoothing="OUT"/>
  49.           <Alpha fromAlpha="0" toAlpha="1" duration="0.1" order="1"/>
  50.           <Alpha fromAlpha="1" toAlpha="0" duration="0.9" startDelay="0.1" order="1" smoothing="IN"/>
  51.         <Scripts>
  52.           <OnFinished>
  53.             self:Play();
  54.           </OnFinished>
  55.         </Scripts>
  56.       </AnimationGroup>
  57.     </Animations>
  58.   </Frame>
  59.  
  60.   <!-- LEFT -->
  61.   <Frame name="Tutorial_PointerLeft" alpha="0" virtual="true">
  62.     <Size x="64" y="64" />
  63.     <Anchors>
  64.     <Anchor point="RIGHT" x="23" />
  65.     </Anchors>
  66.     <Layers>
  67.       <Layer level="BACKGROUND">
  68.         <Texture atlas="NPE_ArrowLeft" />
  69.       </Layer>
  70.       <Layer level="OVERLAY">
  71.         <Texture atlas="NPE_ArrowLeftGlow" alpha="0.75" alphaMode="ADD"/>
  72.       </Layer>
  73.     </Layers>
  74.     <Animations>
  75.       <AnimationGroup parentKey="Anim">
  76.         <Translation offsetX="-50" duration="1" order="1" smoothing="OUT"/>
  77.         <Alpha fromAlpha="0" toAlpha="1" duration="0.1" order="1"/>
  78.         <Alpha fromAlpha="1" toAlpha="0" duration="0.9" startDelay="0.1" order="1" smoothing="IN"/>
  79.         <Scripts>
  80.           <OnFinished>
  81.             self:Play();
  82.           </OnFinished>
  83.         </Scripts>
  84.       </AnimationGroup>
  85.     </Animations>
  86.   </Frame>
  87.  
  88.   <!-- RIGHT -->
  89.   <Frame name="Tutorial_PointerRight" alpha="0" virtual="true">
  90.     <Size x="64" y="64" />
  91.     <Anchors>
  92.       <Anchor point="LEFT" x="-23" />
  93.     </Anchors>
  94.     <Layers>
  95.       <Layer level="BACKGROUND">
  96.         <Texture atlas="NPE_ArrowRight" />
  97.       </Layer>
  98.       <Layer level="OVERLAY">
  99.         <Texture atlas="NPE_ArrowRightGlow" alpha="0.75" alphaMode="ADD"/>
  100.       </Layer>
  101.     </Layers>
  102.     <Animations>
  103.       <AnimationGroup parentKey="Anim">
  104.         <Translation offsetX="50" duration="1" order="1" smoothing="OUT"/>
  105.         <Alpha fromAlpha="0" toAlpha="1" duration="0.1" order="1"/>
  106.         <Alpha fromAlpha="1" toAlpha="0" duration="0.9" startDelay="0.1" order="1" smoothing="IN"/>
  107.         <Scripts>
  108.           <OnFinished>
  109.             self:Play();
  110.           </OnFinished>
  111.         </Scripts>
  112.       </AnimationGroup>
  113.     </Animations>
  114.   </Frame>
  115.  
  116.   <!-- Main Frame-->
  117.   <Frame name="TutorialPointerFrame" virtual="true" parent="UIParent" frameStrata="FULLSCREEN_DIALOG">
  118.     <Size x="75" y="75" />
  119.     <Frames>
  120.       <Frame parentKey="Arrow_UP1" hidden="true" inherits="Tutorial_PointerUp" frameLevel="100"/>
  121.       <Frame parentKey="Arrow_UP2" hidden="true" inherits="Tutorial_PointerUp" frameLevel="100"/>
  122.       <Frame parentKey="Arrow_DOWN1" hidden="true" inherits="Tutorial_PointerDown" frameLevel="100"/>
  123.       <Frame parentKey="Arrow_DOWN2" hidden="true" inherits="Tutorial_PointerDown" frameLevel="100"/>
  124.       <Frame parentKey="Arrow_LEFT1" hidden="true" inherits="Tutorial_PointerLeft" frameLevel="100"/>
  125.       <Frame parentKey="Arrow_LEFT2" hidden="true" inherits="Tutorial_PointerLeft" frameLevel="100"/>
  126.       <Frame parentKey="Arrow_RIGHT1" hidden="true" inherits="Tutorial_PointerRight" frameLevel="100"/>
  127.       <Frame parentKey="Arrow_RIGHT2" hidden="true" inherits="Tutorial_PointerRight" frameLevel="100"/>
  128.  
  129.       <Frame parentKey="Content" name="$parentContent" clampedToScreen="true" inherits="GlowBoxTemplate" >
  130.         <Size x="240" y="100" />
  131.         <Layers>
  132.           <Layer level="ARTWORK">
  133.             <FontString parentKey="Text" setAllPoints="true" inherits="GameFontNormalLarge" justifyH="LEFT">
  134.               <Size x="200" />
  135.               <Anchors>
  136.                 <Anchor point="CENTER" />
  137.               </Anchors>
  138.             </FontString>
  139.           </Layer>
  140.         </Layers>
  141.       </Frame>
  142.  
  143.       <Frame parentKey="Glow" frameLevel="1000" inherits="BackdropTemplate">
  144.         <Anchors>
  145.           <Anchor point="TOPLEFT" relativeKey="$parent.Content" x="-12" y="12"/>
  146.           <Anchor point="BOTTOMRIGHT" relativeKey="$parent.Content" x="12" y="-12"/>
  147.         </Anchors>
  148.         <Animations>
  149.           <AnimationGroup looping="BOUNCE">
  150.             <Alpha fromAlpha="0.25" toAlpha="1" duration="0.5" />
  151.             <Scripts>
  152.               <OnLoad>
  153.                 self:Play();
  154.               </OnLoad>
  155.             </Scripts>
  156.           </AnimationGroup>
  157.         </Animations>
  158.         <KeyValues>
  159.           <KeyValue key="backdropInfo" value="BACKDROP_CALLOUT_GLOW_0_20" type="global"/>
  160.           <KeyValue key="backdropBorderBlendMode" value="ADD" type="string"/>
  161.         </KeyValues>
  162.       </Frame>
  163.     </Frames>
  164.   </Frame>
  165. </Ui>