refactoring
							parent
							
								
									fb4681c3cd
								
							
						
					
					
						commit
						b99dca6eca
					
				|  | @ -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"] | ||||
|  |  | |||
|  | @ -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) | ||||
|  |  | |||
|  | @ -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="."] | ||||
		Loading…
	
		Reference in New Issue