add useful debug prints

This commit is contained in:
yuki 2025-11-23 08:27:46 -03:00
parent 041b26c2bd
commit 3b255b0e58
2 changed files with 5 additions and 0 deletions

View file

@ -2,6 +2,7 @@ extends RoomState
func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
print("entering room")
room.player = room.player_scene.instantiate()
room.add_child(room.player)
room.player.global_position = room.initial_spawn

View file

@ -1,6 +1,10 @@
extends RoomState
func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
print("entering room gameplay")
func _state_physics_update(delta: float) -> void:
room.camera.follow_player(delta)
if match_state([PLAYING]): return