Optimized scene tree and debugged some area detection

This commit is contained in:
VoidTwo
2021-11-30 23:06:42 -06:00
parent 34f7407d6a
commit 34d4e0454e
27 changed files with 380 additions and 481 deletions

View File

@@ -1,17 +1,19 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Sprites/Enemies/pink_snowball.png" type="Texture" id=1]
[ext_resource path="res://Enemies/snowball.gd" type="Script" id=2]
[ext_resource path="res://Enemies/Snowball.gd" type="Script" id=1]
[ext_resource path="res://Sprites/Enemies/pink_snowball.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 4.47823
[node name="snowball" type="Area2D"]
[node name="snowball" type="Area2D" groups=["damage"]]
collision_layer = 2
script = ExtResource( 2 )
collision_mask = 0
monitoring = false
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
texture = ExtResource( 2 )
[node name="snowball" type="CollisionShape2D" parent="."]
position = Vector2( -0.00869751, -0.0361767 )