12 lines
306 B
GDScript3
12 lines
306 B
GDScript3
|
extends VBoxContainer
|
||
|
|
||
|
func _on_opt_0_pressed():
|
||
|
get_parent().get_parent().speed += 1
|
||
|
get_parent().get_parent().mouse_locked = true
|
||
|
get_parent().queue_free()
|
||
|
|
||
|
func _on_opt_1_pressed():
|
||
|
get_parent().get_parent().jump_debuff -= 2
|
||
|
get_parent().get_parent().mouse_locked = true
|
||
|
get_parent().queue_free()
|