[gd_scene load_steps=5 format=3 uid="uid://nee7auh0m004"] [ext_resource type="Script" uid="uid://dxt1sbipk363o" path="res://scripts/Player.gd" id="1"] [ext_resource type="Script" uid="uid://csrrqwffmkdum" path="res://scripts/FightScene.gd" id="1_tbf33"] [ext_resource type="Script" uid="uid://vce2r1tg4gfj" path="res://scripts/Enemy.gd" id="2"] [ext_resource type="Script" uid="uid://rnsyfdvblbb1" path="res://scripts/GameManager.gd" id="3"] [node name="FightScene" type="Node2D"] script = ExtResource("1_tbf33") [node name="Background" type="ParallaxBackground" parent="."] [node name="Player" type="CharacterBody2D" parent="."] position = Vector2(200, 400) script = ExtResource("1") [node name="CollisionShape2D" type="CollisionShape2D" parent="Player"] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Player"] [node name="Enemy" type="CharacterBody2D" parent="."] position = Vector2(900, 400) script = ExtResource("2") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Enemy"] [node name="HUD" type="CanvasLayer" parent="."] [node name="HUD/HealthBarPlayer" type="TextureProgressBar" parent="HUD"] anchors_preset = -1 anchor_left = 0.05 anchor_top = 0.05 anchor_right = 0.45 anchor_bottom = 0.1 value = 100.0 [node name="HUD/HealthBarEnemy" type="TextureProgressBar" parent="HUD"] anchors_preset = -1 anchor_left = 0.55 anchor_top = 0.05 anchor_right = 0.95 anchor_bottom = 0.1 value = 100.0 [node name="HUD/TimerLabel" type="Label" parent="HUD"] anchors_preset = -1 anchor_left = 0.45 anchor_top = 0.02 anchor_right = 0.55 anchor_bottom = 0.08 text = "00:00" [node name="HUDScriptHolder" type="Node" parent="HUD"] [node name="GameManager" type="Node" parent="."] script = ExtResource("3")