Ghost enemy and other changes

This commit is contained in:
Jasmine Hyder
2021-12-09 20:39:56 -06:00
parent 6d9267d23b
commit 9d8de425bb
44 changed files with 824 additions and 506 deletions

View File

@@ -6,18 +6,20 @@
[ext_resource path="res://Enemies/Creepy Glowing Ghost.gd" type="Script" id=4]
[ext_resource path="res://Enemies/Projectiles/Creepy Hand.tscn" type="PackedScene" id=5]
[sub_resource type="CapsuleShape2D" id=3]
[sub_resource type="CapsuleShape2D" id=1]
radius = 1.5
height = 3.0
[sub_resource type="CapsuleShape2D" id=1]
[sub_resource type="CapsuleShape2D" id=2]
radius = 3.0
height = 2.0
[sub_resource type="CircleShape2D" id=2]
[sub_resource type="CircleShape2D" id=3]
radius = 60.0
[node name="Creepy Glowing Ghost" type="KinematicBody2D" groups=["enemy"]]
[node name="Creepy Glowing Ghost" type="KinematicBody2D" groups=[
"enemy",
]]
light_mask = 0
collision_layer = 4
collision_mask = 5
@@ -34,9 +36,11 @@ offset = Vector2( 0, 0.5 )
visible = false
light_mask = 0
rotation = 1.5708
shape = SubResource( 3 )
shape = SubResource( 1 )
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox_1"]]
[node name="Hitbox" type="Area2D" parent="." groups=[
"enemy_hitbox_1",
]]
light_mask = 0
collision_layer = 4
collision_mask = 2
@@ -45,19 +49,19 @@ collision_mask = 2
visible = false
light_mask = 0
position = Vector2( 0, -2.5 )
shape = SubResource( 1 )
shape = SubResource( 2 )
[node name="Player Detector" type="Area2D" parent="."]
light_mask = 0
collision_layer = 0
collision_mask = 2
input_pickable = false
monitorable = false
collision_layer = 0
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
visible = false
light_mask = 0
shape = SubResource( 2 )
shape = SubResource( 3 )
[node name="Light" type="Light2D" parent="."]
texture = ExtResource( 2 )