Files
ggj2026/Assets/UI Toolkit/GameGUI.uxml
T
2026-02-01 13:41:09 -06:00

32 lines
3.5 KiB
Plaintext

<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/progressBar.uss?fileID=7433441132597879392&amp;guid=2c3cb808f8496d4438df1bd06428d6f1&amp;type=3#progressBar"/>
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); height: 20%;">
<ui:Label text="Score: 0" name="Score" style="font-size: 40px; height: auto; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"/>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; align-self: auto; align-items: flex-start; align-content: auto; height: 80%; flex-direction: row;">
<ui:VisualElement style="flex-grow: 1; height: 100%; width: 10%; background-size: 100% 100%;">
<ui:VisualElement style="flex-grow: 1;">
<ui:Image name="Player1Life" source="project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=21300000&amp;guid=03a067405c8cfa945a9ed2e8ff6a71dd&amp;type=3#P_Health01" style="background-image: none; height: 85%; -unity-background-image-tint-color: rgb(182, 255, 165);"/>
<ui:ProgressBar value="23" title="" name="Player1StressBar" style="background-color: rgb(255, 255, 255); -unity-background-image-tint-color: rgb(255, 255, 255);"/>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; height: 50%;"/>
<ui:VisualElement style="flex-grow: 1;">
<ui:Image name="Player2Life" source="project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=21300000&amp;guid=03a067405c8cfa945a9ed2e8ff6a71dd&amp;type=3#P_Health01" style="background-image: none; height: 85%; -unity-background-image-tint-color: rgb(182, 255, 165);"/>
<ui:ProgressBar value="23" title="" name="Player2StressBar" style="background-color: rgb(255, 255, 255); -unity-background-image-tint-color: rgb(255, 255, 255);"/>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; width: 80%; height: 100%;"/>
<ui:VisualElement style="flex-grow: 1; width: 10%; height: 100%;">
<ui:VisualElement name="VisualElement" style="flex-grow: 1;">
<ui:Image name="Player3Life" source="project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=21300000&amp;guid=03a067405c8cfa945a9ed2e8ff6a71dd&amp;type=3#P_Health01" style="background-image: none; height: 85%; -unity-background-image-tint-color: rgb(182, 255, 165);"/>
<ui:ProgressBar value="23" title="" name="Player3StressBar" style="background-color: rgb(255, 255, 255); -unity-background-image-tint-color: rgb(255, 255, 255);"/>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1; height: 50%;"/>
<ui:VisualElement name="VisualElement" style="flex-grow: 1;">
<ui:Image name="Player4Life" source="project://database/Assets/Art/Final%20Sprites/P_Health01.png?fileID=21300000&amp;guid=03a067405c8cfa945a9ed2e8ff6a71dd&amp;type=3#P_Health01" style="background-image: none; height: 85%; -unity-background-image-tint-color: rgb(182, 255, 165);"/>
<ui:ProgressBar value="23" title="" name="Player4StressBar" style="background-color: rgb(255, 255, 255); -unity-background-image-tint-color: rgb(255, 255, 255);"/>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>