Player and Pause Menu have been setup

This commit is contained in:
2024-04-04 15:09:20 -05:00
commit 643be614c5
28 changed files with 901 additions and 0 deletions

View File

@ -0,0 +1,47 @@
[gd_scene load_steps=5 format=3 uid="uid://bcjijcf8br8t4"]
[ext_resource type="Script" path="res://Assets/scripts/player.gd" id="1_b2ij4"]
[ext_resource type="Script" path="res://Assets/scripts/Head.gd" id="2_is0vo"]
[ext_resource type="Script" path="res://Assets/components/vapelight.gd" id="2_ndvgb"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_lm3xc"]
[node name="Player" type="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.999344, 0)
script = ExtResource("1_b2ij4")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_lm3xc")
[node name="Node3D" type="Node3D" parent="."]
script = ExtResource("2_is0vo")
[node name="Camera" type="Camera3D" parent="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.576, 0)
current = true
[node name="VapeLight" type="SpotLight3D" parent="Node3D"]
transform = Transform3D(1, 0, 0, 0, 0.934826, 0.355107, 0, -0.355107, 0.934826, 0.012711, 0.254978, 0.0294437)
light_color = Color(0.247059, 0.407843, 0.603922, 1)
spot_range = 5.368
spot_attenuation = 0.847127
spot_angle = 62.91
spot_angle_attenuation = 1.38495
script = ExtResource("2_ndvgb")
[node name="Severe Coughing Timer" type="Timer" parent="."]
wait_time = 10.0
[node name="Coughing Timer" type="Timer" parent="."]
wait_time = 3.0
[node name="Coughing Recovery" type="Timer" parent="."]
wait_time = 5.0
[node name="Severe Coughing Recovery" type="Timer" parent="."]
wait_time = 15.0
[connection signal="timeout" from="Severe Coughing Timer" to="." method="_on_severe_coughing_timer_timeout"]
[connection signal="timeout" from="Coughing Timer" to="." method="_on_coughing_timer_timeout"]
[connection signal="timeout" from="Coughing Recovery" to="." method="_on_coughing_recovery_timeout"]
[connection signal="timeout" from="Severe Coughing Recovery" to="." method="_on_severe_coughing_recovery_timeout"]