2024-04-28 13:55:19 +00:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://cj65pso40syj5"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/character/Player.cs" id="1_1dlls"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b1twcink38sh0" path="res://sprites/Player.png" id="2_eha68"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/damage/DamageNumberNodeSpawn.cs" id="3_lrmsw"]
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_bb8wt"]
|
|
|
|
radius = 21.0
|
|
|
|
height = 58.0
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_vmqbt"]
|
|
|
|
radius = 43.566
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_qumby"]
|
|
|
|
animations = [{
|
|
|
|
"frames": [{
|
|
|
|
"duration": 1.0,
|
|
|
|
"texture": ExtResource("2_eha68")
|
|
|
|
}],
|
|
|
|
"loop": true,
|
|
|
|
"name": &"default",
|
|
|
|
"speed": 5.0
|
|
|
|
}]
|
|
|
|
|
2024-10-10 08:29:54 +00:00
|
|
|
[node name="Player" type="CharacterBody2D" node_paths=PackedStringArray("_platformDetectionRayCast2DList")]
|
2024-08-25 10:49:48 +00:00
|
|
|
light_mask = 2
|
2024-04-28 13:55:19 +00:00
|
|
|
collision_layer = 4
|
2024-08-12 14:30:13 +00:00
|
|
|
collision_mask = 162
|
|
|
|
platform_floor_layers = 4294967042
|
|
|
|
platform_wall_layers = 128
|
2024-04-28 13:55:19 +00:00
|
|
|
script = ExtResource("1_1dlls")
|
2024-10-10 08:29:54 +00:00
|
|
|
_platformDetectionRayCast2DList = [NodePath("PlatformDetectionRayCast1"), NodePath("PlatformDetectionRayCast2"), NodePath("PlatformDetectionRayCast3")]
|
2024-10-11 06:52:39 +00:00
|
|
|
CharacterName = null
|
|
|
|
CanMutateAfterDeath = null
|
|
|
|
_initialHp = null
|
2024-08-05 14:52:20 +00:00
|
|
|
MaxHp = 32
|
|
|
|
CampId = "Default"
|
2024-10-16 12:15:39 +00:00
|
|
|
_indestructible = true
|
2024-10-11 06:52:39 +00:00
|
|
|
LootListId = null
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("CapsuleShape2D_bb8wt")
|
|
|
|
|
|
|
|
[node name="Area2DPickingArea" type="Area2D" parent="."]
|
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 8
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2DPickingArea"]
|
|
|
|
shape = SubResource("CircleShape2D_vmqbt")
|
|
|
|
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
|
|
sprite_frames = SubResource("SpriteFrames_qumby")
|
|
|
|
|
|
|
|
[node name="Parabola" type="Line2D" parent="."]
|
|
|
|
width = 5.0
|
|
|
|
default_color = Color(0.858824, 0.65098, 0.682353, 1)
|
|
|
|
|
2024-10-10 08:29:54 +00:00
|
|
|
[node name="PlatformDetectionRayCast1" type="RayCast2D" parent="."]
|
|
|
|
collision_mask = 32
|
|
|
|
|
|
|
|
[node name="PlatformDetectionRayCast2" type="RayCast2D" parent="."]
|
|
|
|
position = Vector2(20, 0)
|
|
|
|
collision_mask = 32
|
|
|
|
|
|
|
|
[node name="PlatformDetectionRayCast3" type="RayCast2D" parent="."]
|
|
|
|
position = Vector2(-20, 0)
|
2024-04-28 13:55:19 +00:00
|
|
|
collision_mask = 32
|
|
|
|
|
|
|
|
[node name="ItemMarker2D" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(15, 20)
|
|
|
|
|
|
|
|
[node name="DamageNumber" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(0, -47)
|
|
|
|
script = ExtResource("3_lrmsw")
|
2024-07-28 09:53:54 +00:00
|
|
|
|
|
|
|
[node name="AudioListener2D" type="AudioListener2D" parent="."]
|