update hint text
This commit is contained in:
parent
5419864859
commit
05f61c76db
@ -118,7 +118,7 @@ func _ready():
|
|||||||
func hint_text():
|
func hint_text():
|
||||||
var input_event = InputMap.get_action_list("pause")[0]
|
var input_event = InputMap.get_action_list("pause")[0]
|
||||||
var scancode = OS.get_scancode_string(input_event.scancode)
|
var scancode = OS.get_scancode_string(input_event.scancode)
|
||||||
$hint.text = "Press "+ scancode + " to resume\nor click on a button to change key assignment"
|
$hint.text = "Press ["+ scancode + "] to resume\nor click on a button to change key assignment"
|
||||||
|
|
||||||
# Do not start processing input until a button is pressed
|
# Do not start processing input until a button is pressed
|
||||||
set_process_input(false)
|
set_process_input(false)
|
||||||
|
@ -464,7 +464,7 @@ anchor_bottom = 0.0
|
|||||||
margin_left = -220.0
|
margin_left = -220.0
|
||||||
margin_top = -135.0
|
margin_top = -135.0
|
||||||
margin_right = 280.0
|
margin_right = 280.0
|
||||||
margin_bottom = -103.0
|
margin_bottom = -84.0
|
||||||
rect_pivot_offset = Vector2( 0, 0 )
|
rect_pivot_offset = Vector2( 0, 0 )
|
||||||
rect_clip_content = false
|
rect_clip_content = false
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
@ -472,7 +472,7 @@ mouse_default_cursor_shape = 0
|
|||||||
size_flags_horizontal = 1
|
size_flags_horizontal = 1
|
||||||
size_flags_vertical = 4
|
size_flags_vertical = 4
|
||||||
custom_fonts/font = ExtResource( 3 )
|
custom_fonts/font = ExtResource( 3 )
|
||||||
text = "Press the pause/resume key to resume
|
text = "Press [pause key] to resume
|
||||||
or click on a button to change key assignment"
|
or click on a button to change key assignment"
|
||||||
align = 1
|
align = 1
|
||||||
valign = 1
|
valign = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user