Compare commits
2 Commits
fb80aa5c12
...
f7a2abc949
Author | SHA1 | Date |
---|---|---|
John Montagu, the 4th Earl of Sandvich | f7a2abc949 | |
John Montagu, the 4th Earl of Sandvich | 3bd5c62ac4 |
|
@ -81,7 +81,7 @@ layout_mode = 2
|
|||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
|
||||
[node name="GridContainer" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Right" node_paths=PackedStringArray("_slots") instance=ExtResource("5_mmp18")]
|
||||
[node name="Hotbar" parent="SubViewportContainer/UIViewport/MainUILayer/Main/Top/Right" node_paths=PackedStringArray("_slots") instance=ExtResource("5_mmp18")]
|
||||
layout_mode = 2
|
||||
_slots = [NodePath("InventorySlot"), NodePath("InventorySlot2"), NodePath("InventorySlot3")]
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[ext_resource type="Script" path="res://UI/Hotbar.cs" id="1_2sak2"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctad0dkoyw8ad" path="res://UI/InventorySlot.tscn" id="1_ct3cn"]
|
||||
|
||||
[node name="GridContainer" type="GridContainer" node_paths=PackedStringArray("_slots")]
|
||||
[node name="Hotbar" type="GridContainer" node_paths=PackedStringArray("_slots")]
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
|
|
|
@ -8,7 +8,6 @@ public partial class Vignette : TextureRect
|
|||
{
|
||||
Events.EventBus.Instance.PlayerHurt += (Events.HurtArgs args) =>
|
||||
{
|
||||
GD.Print("TIGHTEN!!!");
|
||||
GetNode<AnimationPlayer>("AnimationPlayer").Play("tighten");
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue