diff --git a/BoundingBoxes/Hitbox.tscn b/BoundingBoxes/Hitbox.tscn index 975e4f2..3859760 100644 --- a/BoundingBoxes/Hitbox.tscn +++ b/BoundingBoxes/Hitbox.tscn @@ -1,15 +1,12 @@ -[gd_scene load_steps=3 format=3 uid="uid://du5vhccg75nrq"] +[gd_scene load_steps=2 format=3 uid="uid://du5vhccg75nrq"] [ext_resource type="Script" path="res://BoundingBoxes/Hitbox.cs" id="1_44i8j"] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_3w20g"] - [node name="Hitbox" type="Area2D"] priority = 5.0 script = ExtResource("1_44i8j") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -shape = SubResource("RectangleShape2D_3w20g") debug_color = Color(0.701961, 0.490196, 0, 0.419608) [connection signal="area_entered" from="." to="." method="_on_area_entered"] diff --git a/BoundingBoxes/Hurtbox.tscn b/BoundingBoxes/Hurtbox.tscn index a8a2eae..fb7f47e 100644 --- a/BoundingBoxes/Hurtbox.tscn +++ b/BoundingBoxes/Hurtbox.tscn @@ -1,12 +1,9 @@ -[gd_scene load_steps=3 format=3 uid="uid://cjgxyhgcyvsv7"] +[gd_scene load_steps=2 format=3 uid="uid://cjgxyhgcyvsv7"] [ext_resource type="Script" path="res://BoundingBoxes/Hurtbox.cs" id="1_ov1ss"] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_2rki1"] - [node name="Hurtbox" type="Area2D"] script = ExtResource("1_ov1ss") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -shape = SubResource("RectangleShape2D_2rki1") debug_color = Color(0.996078, 0, 0.129412, 0.419608) diff --git a/Characters/Character.tscn b/Characters/Character.tscn new file mode 100644 index 0000000..6e83b40 --- /dev/null +++ b/Characters/Character.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=2 format=3 uid="uid://t3gx3dngk8h"] + +[ext_resource type="Script" path="res://Characters/Character.cs" id="1_ufyc7"] + +[node name="Character" type="CharacterBody2D"] +script = ExtResource("1_ufyc7") + +[node name="StateMachine" type="Node" parent="."] + +[node name="Attributes" type="Node2D" parent="."] + +[node name="Effects" type="Node2D" parent="."] + +[node name="Inventory" type="Node2D" parent="."]