added scream

This commit is contained in:
2025-03-22 13:41:16 -04:00
parent 8250f073a7
commit 571197baa7
8 changed files with 76 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ func _physics_process(_delta: float) -> void:
elif clock > wait_time:
if %ANSWER.text == "":
%ANSWER.text = str(GLOBALVARS.current_solution) if is_correct else str(GLOBALVARS.current_solution+randi_range(-10,10))
%ANSWER.text = str(GLOBALVARS.current_solution) if is_correct else str(GLOBALVARS.current_solution+randi_range(-2,2))
elif clock > wait_time + 30:
%ANSWER.emit_signal("text_submitted",%ANSWER.text)
currently_executing = false