My first 3D game with Godot 4.4

This commit is contained in:
2025-08-18 18:48:02 -04:00
commit aef6af1eca
89 changed files with 10495 additions and 0 deletions

24
player/cookie_3d.tscn Normal file
View File

@@ -0,0 +1,24 @@
[gd_scene load_steps=4 format=3 uid="uid://ht0ktfrqr1ef"]
[ext_resource type="Script" uid="uid://dowji2oraklfp" path="res://player/cookie_3d.gd" id="1_ta3vh"]
[ext_resource type="PackedScene" uid="uid://ci5254r7er0uc" path="res://player/cookie/cookie_model.tscn" id="1_yyge1"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ta3vh"]
height = 1.2
[node name="cookie_3d" type="Area3D"]
script = ExtResource("1_ta3vh")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
shape = SubResource("CapsuleShape3D_ta3vh")
[node name="cookie_model" parent="." instance=ExtResource("1_yyge1")]
[node name="RespawnTimer" type="Timer" parent="."]
unique_name_in_owner = true
wait_time = 15.0
one_shot = true
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="timeout" from="RespawnTimer" to="." method="_on_respawn_timer_timeout"]