2024-08-11 15:29:23 +00:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://bdxgx5vcof8em"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/projectile/Projectile.cs" id="1_ib3qh"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b1twcink38sh0" path="res://sprites/Player.png" id="2_dxg46"]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_dgro2"]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_8117d"]
|
|
|
|
radius = 11.0
|
|
|
|
|
|
|
|
[node name="curseOfTheUndead" type="CharacterBody2D"]
|
2024-08-12 14:30:13 +00:00
|
|
|
collision_layer = 16
|
|
|
|
collision_mask = 102
|
|
|
|
slide_on_ceiling = false
|
|
|
|
platform_floor_layers = 4294967042
|
|
|
|
platform_wall_layers = 32
|
2024-08-11 15:29:23 +00:00
|
|
|
script = ExtResource("1_ib3qh")
|
2024-08-14 15:08:07 +00:00
|
|
|
Life = 30000
|
2024-08-12 14:30:13 +00:00
|
|
|
Durability = 3.0
|
2024-08-11 15:29:23 +00:00
|
|
|
MaxDamage = 3
|
|
|
|
MinDamage = 10
|
|
|
|
DamageType = 2
|
|
|
|
KnockbackForce = Vector2(2, -3)
|
2024-08-12 14:30:13 +00:00
|
|
|
Speed = 300.0
|
2024-08-14 15:08:07 +00:00
|
|
|
IgnoreWall = true
|
|
|
|
EnableTracking = true
|
2024-08-11 15:29:23 +00:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("CircleShape2D_dgro2")
|
|
|
|
|
|
|
|
[node name="CollisionDetectionArea" type="Area2D" parent="."]
|
|
|
|
collision_layer = 16
|
|
|
|
collision_mask = 78
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CollisionDetectionArea"]
|
|
|
|
shape = SubResource("CircleShape2D_8117d")
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
|
|
|
bus = &"SoundEffect"
|
|
|
|
area_mask = 16
|
|
|
|
|
|
|
|
[node name="Player" type="Sprite2D" parent="."]
|
|
|
|
scale = Vector2(0.3, 0.3)
|
|
|
|
texture = ExtResource("2_dxg46")
|