PuzzleGame/PuzzleGameProject/Assets/UI/Rules.uxml

38 lines
4.5 KiB
Text

<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI/Styles/style1.uss?fileID=7433441132597879392&amp;guid=97546bb1d1d93d84e9b4ef0c8ae11a0e&amp;type=3#style1" />
<Style src="project://database/Assets/rules.uss?fileID=7433441132597879392&amp;guid=37df2aec7be296542a3f7694158ff548&amp;type=3#rules" />
<engine:VisualElement name="VisualElement" style="flex-grow: 1; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; align-items: center; -unity-font-style: normal; background-color: rgba(0, 0, 0, 0.49); padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px;">
<engine:VisualElement name="Page" class="border" style="flex-grow: 1; width: 700px; height: 500px; background-color: rgb(182, 127, 194); padding-top: 20px; padding-right: 6px; padding-bottom: 20px; padding-left: 20px;">
<engine:Label text="How To Play" class="MenuHOne" style="-unity-text-align: upper-center; flex-grow: 0; flex-direction: row; margin-bottom: 16px; margin-top: 0;" />
<engine:ScrollView horizontal-scroller-visibility="Auto" vertical-scroller-visibility="AlwaysVisible" style="flex-grow: 1;">
<engine:VisualElement name="Rolling" style="flex-grow: 1;">
<engine:Label text="Roll Explore Repeat" name="RollExploreRepeat" class="MenuHTwo" style="text-overflow: clip; white-space: normal;" />
<engine:Label text="Roll the dice. Select two. Unlock a room. Repeat.&#10;" parse-escape-sequences="true" class="MenuText" style="white-space: normal; -unity-font-style: normal;" />
<engine:Label text="If you don&apos;t unlock two rooms with the rolled dice you will take damage." class="MenuText" style="-unity-font-style: normal;" />
</engine:VisualElement>
<engine:VisualElement name="KillMonsters" style="flex-grow: 1;">
<engine:Label text="Kill All Monsters" name="Label" class="MenuHTwo" />
<engine:Label text="Kill monsters by unlocking their rooms until all their health boxes are checked." class="MenuText" />
<engine:Label text="If you kill all the monsters in the dungeon you win! The more Diamonds you collect and the less Damage you take the higher your score at the end." class="MenuText" />
</engine:VisualElement>
<engine:VisualElement name="Abilites" style="flex-grow: 1;">
<engine:Label text="Abilities" class="MenuHTwo" />
<engine:Label text="Found in chests." />
<engine:VisualElement name="BlackDie" class="ability">
<engine:VisualElement class="ability-image" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Sprites/No%20Edges.png?fileID=21300000&amp;guid=982f0bccdf239df48af0a465f9ce7536&amp;type=3#No Edges&quot;); width: 50px; height: 50px;" />
<engine:Label text="Let&apos;s you use the black die to unlock a room. You start with three uses." name="BlackDieText" class="MenuText" />
</engine:VisualElement>
<engine:VisualElement name="Key" class="ability">
<engine:VisualElement class="ability-image" style="flex-grow: 0; background-image: url(&quot;project://database/Assets/Sprites/Key.png?fileID=2800000&amp;guid=99e2733a78fd7a543b2adc84e3d4d3b4&amp;type=3#Key&quot;); width: 50px; height: 50px;" />
<engine:Label text="Unlock a room." name="KeyText" />
</engine:VisualElement>
<engine:VisualElement name="Armor" class="ability">
<engine:VisualElement class="ability-image" style="flex-grow: 0; width: 50px; height: 50px; background-image: url(&quot;project://database/Assets/Sprites/Armor.png?fileID=-2757887451555568444&amp;guid=cd864920aacb45b4eaf6bd3c70bb6625&amp;type=3#Armor_0&quot;);" />
<engine:Label text="Blocks damage." name="ArmorText" style="-unity-text-align: upper-left;" />
</engine:VisualElement>
</engine:VisualElement>
</engine:ScrollView>
<engine:Button text="X" name="Close" class="CloseButton" />
</engine:VisualElement>
</engine:VisualElement>
</engine:UXML>