mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
IGT is now visible in marathon mode
This commit is contained in:
@@ -26,6 +26,7 @@ func handle_main_hud() -> void:
|
||||
$ModernHUD.visible = Settings.file.visuals.modern_hud
|
||||
$Main/RedCoins.hide()
|
||||
$Main/CoinCount.show()
|
||||
%IGT.hide()
|
||||
%Combo.hide()
|
||||
$Timer.paused = Settings.file.difficulty.time_limit == 2
|
||||
$%Time.show()
|
||||
@@ -147,6 +148,11 @@ func handle_yoshi_radar() -> void:
|
||||
func handle_speedrun_timer() -> void:
|
||||
%Time.hide()
|
||||
%Stopwatch.show()
|
||||
%IGT.show()
|
||||
%IGT.modulate.a = int([Global.GameMode.MARATHON, Global.GameMode.MARATHON_PRACTICE].has(Global.current_game_mode) and get_tree().get_first_node_in_group("Players") != null)
|
||||
%IGT.text = "⏲" + (str(Global.time).pad_zeros(3))
|
||||
%ModernIGT.visible = %IGT.modulate.a == 1
|
||||
%ModernIGT.text = %IGT.text
|
||||
var late = SpeedrunHandler.timer > SpeedrunHandler.best_time
|
||||
var diff = SpeedrunHandler.best_time - SpeedrunHandler.timer
|
||||
%PB.visible = SpeedrunHandler.best_time > 0 and (SpeedrunHandler.timer > 0 or Global.current_level != null)
|
||||
|
Reference in New Issue
Block a user