valencia-rail-rush/player.tscn

66 lines
2.4 KiB
Plaintext

[gd_scene format=3 uid="uid://cmb3b7xrlboy3"]
[ext_resource type="Script" uid="uid://bobw4cfg1v6gj" path="res://player.gd" id="1_4flbx"]
[sub_resource type="PlaneMesh" id="PlaneMesh_sh265"]
size = Vector2(1, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4flbx"]
albedo_color = Color(1, 0, 0, 1)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_i3pqv"]
height = 0.5
radius = 0.75
[sub_resource type="CylinderShape3D" id="CylinderShape3D_4flbx"]
height = 0.5
radius = 1.0
[sub_resource type="CylinderShape3D" id="CylinderShape3D_onrkg"]
height = 1.0
radius = 30.0
[sub_resource type="CylinderShape3D" id="CylinderShape3D_hqtel"]
height = 0.5
radius = 50.0
[node name="Player" type="CharacterBody3D" unique_id=17046866]
collision_layer = 4
script = ExtResource("1_4flbx")
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=1740724392]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
mesh = SubResource("PlaneMesh_sh265")
surface_material_override/0 = SubResource("StandardMaterial3D_4flbx")
[node name="Collision" type="CollisionShape3D" parent="." unique_id=271233394]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
shape = SubResource("CylinderShape3D_i3pqv")
debug_color = Color(0.41852123, 0.4635067, 0.996484, 0.41960785)
[node name="StaminaLabel" type="Label" parent="." unique_id=762689230]
offset_right = 99.0
offset_bottom = 46.0
theme_override_colors/font_color = Color(0.83137256, 0, 0.18039216, 1)
[node name="Hurtbox" type="Area3D" parent="." unique_id=2004081669]
[node name="Collision" type="CollisionShape3D" parent="Hurtbox" unique_id=1101412773]
shape = SubResource("CylinderShape3D_4flbx")
debug_color = Color(0.99958235, 0, 0.12291277, 0.41960785)
[node name="SpawnArea" type="Area3D" parent="." unique_id=847883204]
[node name="Collision" type="CollisionShape3D" parent="SpawnArea" unique_id=742727591]
shape = SubResource("CylinderShape3D_onrkg")
debug_color = Color(0.5381443, 0.5430501, 0.4771669, 0.41960785)
[node name="DespawnArea" type="Area3D" parent="." unique_id=161247633]
[node name="Collision" type="CollisionShape3D" parent="DespawnArea" unique_id=1796984889]
shape = SubResource("CylinderShape3D_hqtel")
debug_color = Color(0.6328197, 0.113640614, 0, 0.41960785)
[connection signal="area_entered" from="Hurtbox" to="." method="_on_area_area_entered"]
[connection signal="area_exited" from="Hurtbox" to="." method="_on_area_area_exited"]