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

10
mob/bat_model.gd Normal file
View File

@@ -0,0 +1,10 @@
extends Node3D
@onready var animation_tree: AnimationTree = %AnimationTree
@onready var animation_player: AnimationPlayer = $AnimationPlayer
func hurt() -> void:
animation_tree.set("parameters/OneShot/request", true)
func die() -> void:
animation_player.pause()