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

View File

@@ -0,0 +1,16 @@
extends Node3D
@export var mob_to_spawn: PackedScene = null
signal mob_spawned(mob: Node)
@onready var marker_3d: Marker3D = %Marker3D
@onready var timer: Timer = %Timer
func _on_timer_timeout() -> void:
var new_mob := mob_to_spawn.instantiate()
add_child(new_mob)
new_mob.global_transform = marker_3d.global_transform
mob_spawned.emit(new_mob)