diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/global.gd | 3 | ||||
| -rw-r--r-- | client/menu/popup_message.gd | 4 | ||||
| -rw-r--r-- | client/menu/popup_message.tscn | 7 | 
3 files changed, 12 insertions, 2 deletions
diff --git a/client/global.gd b/client/global.gd index 38b228e3..cd1b5c8b 100644 --- a/client/global.gd +++ b/client/global.gd @@ -25,7 +25,8 @@ var default_profile := {  	"username": "Giovanni",  	"character": 0,  	"last_server_url": "", -	"hint_boost_seen": false +	"hint_move_seen": false, +	"hint_boost_seen": false,  }  var languages := [tr("System default"), "en", "de"]  var using_joypad := false diff --git a/client/menu/popup_message.gd b/client/menu/popup_message.gd index b0ead906..67b4d6ab 100644 --- a/client/menu/popup_message.gd +++ b/client/menu/popup_message.gd @@ -59,3 +59,7 @@ func _input(_event):  func _on_boost_timeout():  	if not Global.get_profile("hint_boost_seen") and not Global.get_setting("touch_controls"):  		display_hint_msg(tr("Press SHIFT/Controller B to boost")) + +func _on_move_timeout(): +	if not Global.get_profile("hint_move_seen") and not Global.get_setting("touch_controls"): +		display_hint_msg(tr("Use WASD/Controller left stick to move")) diff --git a/client/menu/popup_message.tscn b/client/menu/popup_message.tscn index 178f414b..32f54b1d 100644 --- a/client/menu/popup_message.tscn +++ b/client/menu/popup_message.tscn @@ -99,15 +99,20 @@ wait_time = 5.0  one_shot = true  [node name="HintTimer" type="Timer" parent="."] -wait_time = 5.0 +wait_time = 10.0  one_shot = true  [node name="HintTimers" type="Node" parent="."] +[node name="Move" type="Timer" parent="HintTimers"] +wait_time = 5.0 +one_shot = true +  [node name="Boost" type="Timer" parent="HintTimers"]  wait_time = 90.0  one_shot = true  [connection signal="timeout" from="ServerTimer" to="." method="_on_server_timer_timeout"]  [connection signal="timeout" from="HintTimer" to="." method="_on_hint_timer_timeout"] +[connection signal="timeout" from="HintTimers/Move" to="." method="_on_move_timeout"]  [connection signal="timeout" from="HintTimers/Boost" to="." method="_on_boost_timeout"]  |