feat: add event-driven combat feedback
This commit is contained in:
+8
-1
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3]
|
||||
[gd_scene load_steps=10 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/game/game.gd" id="1_game"]
|
||||
[ext_resource type="Script" path="res://scripts/presentation/map_renderer.gd" id="2_map"]
|
||||
@@ -6,6 +6,8 @@
|
||||
[ext_resource type="Script" path="res://scripts/presentation/hud.gd" id="4_hud"]
|
||||
[ext_resource type="Texture2D" path="res://assets/dcss/player.png" id="5_player"]
|
||||
[ext_resource type="Script" path="res://scripts/infrastructure/audio_library.gd" id="6_audio"]
|
||||
[ext_resource type="Script" path="res://scripts/presentation/event_presenter.gd" id="7_presenter"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/overlays/CombatFeedback.tscn" id="8_feedback"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBox_hud_panel"]
|
||||
bg_color = Color(0.035, 0.055, 0.09, 0.9)
|
||||
@@ -41,6 +43,11 @@ script = ExtResource("1_game")
|
||||
[node name="AudioLibrary" type="Node" parent="."]
|
||||
script = ExtResource("6_audio")
|
||||
|
||||
[node name="EventPresenter" type="Node" parent="."]
|
||||
script = ExtResource("7_presenter")
|
||||
|
||||
[node name="CombatFeedback" parent="EventPresenter" instance=ExtResource("8_feedback")]
|
||||
|
||||
[node name="World" type="Node2D" parent="."]
|
||||
position = Vector2(32, 48)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user