From e07895be01b6bc7f813bbc392cc7852ffaf5e07b Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 28 Nov 2025 19:00:05 +0200 Subject: Add debug info display --- ps_forced.gd | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ps_forced.gd') diff --git a/ps_forced.gd b/ps_forced.gd index 4c4c3dc..9a8b41a 100644 --- a/ps_forced.gd +++ b/ps_forced.gd @@ -4,6 +4,9 @@ extends PlayerState var input_x: float var jump_coef = 1.3 +func _to_string() -> String: + return "PlayerStateForced" + func initialize(p: Player, dir: String): if dir == "LEFT": input_x = -1.0 -- cgit v1.3