Traveller/prefab/entitys/Character.tscn

63 lines
1.8 KiB
Plaintext
Raw Normal View History

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
}]
[node name="Player" type="CharacterBody2D"]
collision_layer = 4
collision_mask = 162
platform_floor_layers = 4294967042
platform_wall_layers = 128
2024-04-28 13:55:19 +00:00
script = ExtResource("1_1dlls")
MaxHp = 32
CampId = "Default"
2024-04-28 13:55:19 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_bb8wt")
debug_color = Color(0.886275, 0, 0.803922, 0.419608)
[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)
[node name="PlatformDetectionRayCast" type="RayCast2D" parent="."]
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="."]