Updates to spells, HUD, Gold, and Camera Controls. New sound effects!
This commit is contained in:
parent
689fe7be88
commit
a33d951abd
27 changed files with 578 additions and 68 deletions
|
|
@ -169,8 +169,11 @@
|
|||
flex-shrink: 0;
|
||||
flex-direction: row;
|
||||
align-items: flex-end; /* short sections hug the bottom */
|
||||
justify-content: flex-start;
|
||||
padding: 0 100px; /* margin on either side — the X regions */
|
||||
justify-content: center; /* keep the command bar centered at ANY resolution — the row
|
||||
auto-centers, and re-centers symmetrically when the spell
|
||||
hotbar appears/disappears */
|
||||
padding: 0; /* was 0 100px; reclaimed so a smaller reference resolution
|
||||
(= bigger HUD) still fits the bar without clipping */
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
<!-- Section 6: Spell Hotbar (short frame) — builder spells bound to fixed
|
||||
hotkeys (grant order = slot order). Hidden entirely until the player has
|
||||
been granted at least one spell. -->
|
||||
<ui:VisualElement name="spell-hotbar-frame" class="spell-hotbar-frame" style="display: none;">
|
||||
<ui:VisualElement name="spell-hotbar-frame" class="spell-hotbar-frame" style="visibility: hidden;">
|
||||
<ui:Label text="spells" class="section-label"/>
|
||||
<ui:VisualElement name="spell-hotbar" class="spell-hotbar"/>
|
||||
</ui:VisualElement>
|
||||
|
|
|
|||
|
|
@ -18,14 +18,14 @@ MonoBehaviour:
|
|||
m_RenderMode: 0
|
||||
m_ColliderUpdateMode: 0
|
||||
m_ColliderIsTrigger: 1
|
||||
m_ScaleMode: 1
|
||||
m_ScaleMode: 2
|
||||
m_ReferenceSpritePixelsPerUnit: 100
|
||||
m_PixelsPerUnit: 100
|
||||
m_Scale: 1
|
||||
m_ReferenceDpi: 96
|
||||
m_FallbackDpi: 96
|
||||
m_ReferenceResolution: {x: 1200, y: 800}
|
||||
m_ScreenMatchMode: 0
|
||||
m_ReferenceResolution: {x: 1360, y: 765}
|
||||
m_ScreenMatchMode: 2
|
||||
m_Match: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue