nc543 1938ac12b6 Animations and HUD
- Implemented more animations
- Added spell HUD
- Fixed interrupted spell cooldowns
- Fixed getting stunned when all damage is blocked
- Added export presets
2024-05-23 22:58:20 -04:00

59 lines
2.1 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bxmhjms3oosfa"]
[ext_resource type="Script" path="res://Scripts/hudController.gd" id="1_kqbvv"]
[ext_resource type="Theme" uid="uid://bh8kyg4qt8rt7" path="res://Themes/default.tres" id="1_qb087"]
[ext_resource type="PackedScene" uid="uid://dqp1qeg36dn2f" path="res://Scenes/UI/spellSlot.tscn" id="1_tn0bd"]
[node name="HUD" type="Control" node_paths=PackedStringArray("slots")]
top_level = true
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_kqbvv")
slots = [NodePath("GridContainer/SpellSlot5"), NodePath("GridContainer/SpellSlot6"), NodePath("GridContainer/SpellSlot7"), NodePath("GridContainer/SpellSlot8"), NodePath("GridContainer/SpellSlot"), NodePath("GridContainer/SpellSlot2"), NodePath("GridContainer/SpellSlot3"), NodePath("GridContainer/SpellSlot4")]
[node name="GridContainer" type="GridContainer" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 10.0
offset_top = -78.0
offset_right = 162.0
offset_bottom = -10.0
grow_vertical = 0
scale = Vector2(2, 2)
pivot_offset = Vector2(0, 67.5)
theme = ExtResource("1_qb087")
theme_override_constants/h_separation = 8
theme_override_constants/v_separation = 3
columns = 4
metadata/_edit_use_anchors_ = true
[node name="SpellSlot" parent="GridContainer" instance=ExtResource("1_tn0bd")]
layout_mode = 2
[node name="SpellSlot2" parent="GridContainer" instance=ExtResource("1_tn0bd")]
layout_mode = 2
[node name="SpellSlot3" parent="GridContainer" instance=ExtResource("1_tn0bd")]
layout_mode = 2
[node name="SpellSlot4" parent="GridContainer" instance=ExtResource("1_tn0bd")]
layout_mode = 2
[node name="SpellSlot5" parent="GridContainer" instance=ExtResource("1_tn0bd")]
layout_mode = 2
[node name="SpellSlot6" parent="GridContainer" instance=ExtResource("1_tn0bd")]
layout_mode = 2
[node name="SpellSlot7" parent="GridContainer" instance=ExtResource("1_tn0bd")]
layout_mode = 2
[node name="SpellSlot8" parent="GridContainer" instance=ExtResource("1_tn0bd")]
layout_mode = 2