Optimized scene tree and debugged some area detection
This commit is contained in:
18
Enemies/Snowball Blue.tscn
Normal file
18
Enemies/Snowball Blue.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Enemies/Snowball.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Sprites/Enemies/blue_snowball.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 4.47823
|
||||
|
||||
[node name="snowball_blue" type="Area2D" groups=["damage"]]
|
||||
collision_layer = 2
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, -2 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="snowball_blue" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
Reference in New Issue
Block a user