Optimized scene tree and debugged some area detection
This commit is contained in:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user