Player scoreboard name option

This commit is contained in:
Haze Weathers 2024-12-01 21:37:15 -05:00
parent b61a5122f4
commit 65053aa223
7 changed files with 95 additions and 6 deletions

View file

@ -37,7 +37,7 @@ func _ready():
func _physics_process(delta):
#DEBUG
if debug == true && !entry && !entry_index > 0:
if debug == true && !entry && !entry_index > 0 && !Options.entry:
#Move player to mouse
if Input.is_action_just_pressed("debug_move_player"):
Audio.play_sound(Audio.a_mkey,Audio.ac_jump)
@ -67,6 +67,9 @@ func _physics_process(delta):
if infinite_arrows: Game.arrows = 99
func _input(event):
if Options.entry:
return
if event is InputEventKey && event.is_pressed():
var character = OS.get_scancode_string(event.scancode)
if character.length() > 1: