SlimeoosOdyssey/godot/player.tscn

47 lines
1.8 KiB
Plaintext
Raw Normal View History

2023-08-20 14:59:32 -06:00
[gd_scene load_steps=7 format=3 uid="uid://7utef1nnena8"]
2023-08-18 20:59:38 -06:00
[ext_resource type="Script" path="res://Player.gd" id="1_7gpdp"]
2023-08-19 18:56:38 -06:00
[ext_resource type="PackedScene" uid="uid://bgoo1lbt28na" path="res://Models/grape_man.tscn" id="2_ctyy5"]
2023-08-19 18:18:34 -06:00
[ext_resource type="Script" path="res://Holster.gd" id="3_a68da"]
2023-08-20 14:59:32 -06:00
[ext_resource type="PackedScene" uid="uid://cbca7q18ae42h" path="res://UI/PauseMenu.tscn" id="4_kcqpl"]
2023-08-18 20:59:38 -06:00
2023-08-19 12:27:23 -06:00
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kb4ms"]
2023-08-19 23:32:26 -06:00
radius = 0.0669067
2023-08-19 17:15:16 -06:00
height = 0.43
2023-08-18 20:59:38 -06:00
2023-08-19 18:18:34 -06:00
[sub_resource type="SphereShape3D" id="SphereShape3D_6l1w6"]
2023-08-20 11:00:14 -06:00
radius = 0.693547
2023-08-19 18:18:34 -06:00
2023-08-18 20:59:38 -06:00
[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_7gpdp")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
2023-08-19 23:32:26 -06:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.237697, 0)
2023-08-19 12:27:23 -06:00
shape = SubResource("CapsuleShape3D_kb4ms")
2023-08-18 20:59:38 -06:00
2023-08-19 18:56:38 -06:00
[node name="grape_man" parent="." instance=ExtResource("2_ctyy5")]
2023-08-18 20:59:38 -06:00
2023-08-18 21:27:39 -06:00
[node name="CameraMount" type="Node3D" parent="."]
2023-08-20 13:24:04 -06:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.389874, 0)
2023-08-18 21:27:39 -06:00
[node name="PlayerCam" type="Camera3D" parent="CameraMount"]
2023-08-20 13:42:35 -06:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.930216)
2023-08-19 12:27:23 -06:00
current = true
2023-08-19 11:51:06 -06:00
fov = 50.0
2023-08-19 15:42:56 -06:00
2023-08-19 18:18:34 -06:00
[node name="Holster" type="Node3D" parent="."]
script = ExtResource("3_a68da")
[node name="Area3D" type="Area3D" parent="Holster"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Holster/Area3D"]
2023-08-20 11:00:14 -06:00
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0.0672282, 0)
2023-08-19 18:18:34 -06:00
shape = SubResource("SphereShape3D_6l1w6")
2023-08-19 20:18:07 -06:00
2023-08-20 14:59:32 -06:00
[node name="PauseMenu" parent="." instance=ExtResource("4_kcqpl")]
visible = false
2023-08-19 20:18:07 -06:00
[connection signal="anim_check_grab" from="grape_man" to="." method="_on_grape_man_anim_check_grab"]
[connection signal="body_entered" from="Holster/Area3D" to="." method="_on_holster_enter"]
[connection signal="body_exited" from="Holster/Area3D" to="." method="_on_holster_exit"]