aboutsummaryrefslogtreecommitdiff
path: root/client/menu
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-07-12 00:57:56 +0200
committertpart <tpart120@proton.me>2024-07-12 00:57:56 +0200
commit41f8c3c467bfeb51ec34c76b16c78145064e0af6 (patch)
tree44be40eddb278353305ca29abf2ab60f0b385481 /client/menu
parenta9ee32b2e2126c622b23ae83329836faaacc7368 (diff)
downloadhurrycurry-41f8c3c467bfeb51ec34c76b16c78145064e0af6.tar
hurrycurry-41f8c3c467bfeb51ec34c76b16c78145064e0af6.tar.bz2
hurrycurry-41f8c3c467bfeb51ec34c76b16c78145064e0af6.tar.zst
Add interact hint
Diffstat (limited to 'client/menu')
-rw-r--r--client/menu/popup_message.gd4
-rw-r--r--client/menu/popup_message.tscn5
2 files changed, 9 insertions, 0 deletions
diff --git a/client/menu/popup_message.gd b/client/menu/popup_message.gd
index 67b4d6ab..b4afbf3c 100644
--- a/client/menu/popup_message.gd
+++ b/client/menu/popup_message.gd
@@ -63,3 +63,7 @@ func _on_boost_timeout():
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"))
+
+func _on_interact_timeout():
+ if not Global.get_profile("hint_interact_seen") and not Global.get_setting("touch_controls"):
+ display_hint_msg(tr("Press SPACE/Controller A to pick up items and interact with tools"))
diff --git a/client/menu/popup_message.tscn b/client/menu/popup_message.tscn
index 32f54b1d..3eccfc2e 100644
--- a/client/menu/popup_message.tscn
+++ b/client/menu/popup_message.tscn
@@ -112,7 +112,12 @@ one_shot = true
wait_time = 90.0
one_shot = true
+[node name="Interact" type="Timer" parent="HintTimers"]
+wait_time = 20.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"]
+[connection signal="timeout" from="HintTimers/Interact" to="." method="_on_interact_timeout"]