mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
Merge pull request #355 from KirbyKid256/pulls/timer-style-option
Slower Timer Difficulty Setting
This commit is contained in:
@@ -213,6 +213,7 @@ DESC_LEVEL_DESIGN_0,,"Level design is the same as the original, can be unfair at
|
|||||||
DESC_LEVEL_DESIGN_1,,Level design is adjusted to be much fairer.,Les niveaux sont conçus d'une manière plus juste et agréable.,Zarys poziomów zmieniony na sprawiedliwszy.,Дизaйh Уpobheй ctaл бoлee cпpabeдлиbыm.,El diseño de los niveles se ha ajustado para que sea mucho más justo.,I design dei livelli sono modificati per essere più equilibrati.,LEVEL DESIGN IS ADJUSTED TO BE MUCH FAIRER.,Patas na design ng level,Das Leveldesign wird für ein faireres Spielerlebnis angepasst.,Level tasarımı daha adİl olacak şekİlde ayarlanmıştır.,Desain level disesuaikan agar lebih adil.,O design dos níveis é ajustado para ser muito mais justo.,もうすこし こうへい。
|
DESC_LEVEL_DESIGN_1,,Level design is adjusted to be much fairer.,Les niveaux sont conçus d'une manière plus juste et agréable.,Zarys poziomów zmieniony na sprawiedliwszy.,Дизaйh Уpobheй ctaл бoлee cпpabeдлиbыm.,El diseño de los niveles se ha ajustado para que sea mucho más justo.,I design dei livelli sono modificati per essere più equilibrati.,LEVEL DESIGN IS ADJUSTED TO BE MUCH FAIRER.,Patas na design ng level,Das Leveldesign wird für ein faireres Spielerlebnis angepasst.,Level tasarımı daha adİl olacak şekİlde ayarlanmıştır.,Desain level disesuaikan agar lebih adil.,O design dos níveis é ajustado para ser muito mais justo.,もうすこし こうへい。
|
||||||
DESC_TIME_0,,There is no time limit in levels.,Il n'y a pas de limite de temps dans ce niveau,Nie ma limitu czasu w poziomach.,ha Уpobhяx hetУ лиmиta bpemehи.,No hay límite de tiempo en los niveles.,Non ci saranno limiti di tempo nei livelli.,THERE IS NO TIME LIMIT IN LEVELS.,Walang time limit sa mga lebel,Bei Leveln ist kein Zeitlimit vorhanden.,Levellerde zaman lİmİtİ yok.,Tidak ada batasan waktu dalam level.,Não tem tempo limite nos níveis.,ステージに じかんせいげんは ない。
|
DESC_TIME_0,,There is no time limit in levels.,Il n'y a pas de limite de temps dans ce niveau,Nie ma limitu czasu w poziomach.,ha Уpobhяx hetУ лиmиta bpemehи.,No hay límite de tiempo en los niveles.,Non ci saranno limiti di tempo nei livelli.,THERE IS NO TIME LIMIT IN LEVELS.,Walang time limit sa mga lebel,Bei Leveln ist kein Zeitlimit vorhanden.,Levellerde zaman lİmİtİ yok.,Tidak ada batasan waktu dalam level.,Não tem tempo limite nos níveis.,ステージに じかんせいげんは ない。
|
||||||
DESC_TIME_1,,There is a time limit in all levels.,Il y a une limite de temps dans ce niveau,Jest limit czasu w poziomach.,ha Уpobhяx ectь лиmиt bpemehи.,Hay un límite de tiempo en todos los niveles.,Ci saranno limiti di tempo nei livelli.,THERE IS A TIME LIMIT IN ALL LEVELS.,May time limit sa mga lebel,Bei Leveln gibt es ein Zeitlimit.,Tüm levellerde zaman lİmİtİ var.,Ada batas waktu di semua level.,Tem tempo limite nos níveis.,ステージに じかんせいげんは ある。
|
DESC_TIME_1,,There is a time limit in all levels.,Il y a une limite de temps dans ce niveau,Jest limit czasu w poziomach.,ha Уpobhяx ectь лиmиt bpemehи.,Hay un límite de tiempo en todos los niveles.,Ci saranno limiti di tempo nei livelli.,THERE IS A TIME LIMIT IN ALL LEVELS.,May time limit sa mga lebel,Bei Leveln gibt es ein Zeitlimit.,Tüm levellerde zaman lİmİtİ var.,Ada batas waktu di semua level.,Tem tempo limite nos níveis.,ステージに じかんせいげんは ある。
|
||||||
|
DESC_TIME_2,,"There is a time limit in all levels, but it ticks every second.",Il y a une limite de temps dans ce niveau,Jest limit czasu w poziomach.,ha Уpobhяx ectь лиmиt bpemehи.,Hay un límite de tiempo en todos los niveles.,Ci saranno limiti di tempo nei livelli.,"THERE IS A TIME LIMIT IN ALL LEVELS, BUT IT TICKS EVER SECOND.",May time limit sa mga lebel,Bei Leveln gibt es ein Zeitlimit.,Tüm levellerde zaman lİmİtİ var.,Ada batas waktu di semua level.,Tem tempo limite nos níveis.,ステージに じかんせいげんは ある。
|
||||||
DESC_BACKSCROLL_0,,"You cannot move backwards in levels (unless a custom level allows it), Intended Experience",Vous ne pouvez pas retournez en arrière (sauf si un niveau custom vous l'autorise). Expérience prévue,Nie możesz iść do tyłu (chyba że poziom użytnikowa na to pozwala) Domyślny styl gry,"bы he moжete дbигatьcя haзaд ha Уpobhяx (kpome, ecли пoльзobateльckий Уpobehь пoзboляet), пpeдпoлaгaemый oпыt","No puedes retroceder en los niveles (a menos que un nivel personalizado lo permita), Experiencia prevista","Non puoi tornare indietro nei livelli (a meno che un livello creato dall'utente lo consente), l'esperienza originale.","YOU CANNOT MOVE BACKWARDS IN LEVELS (UNLESS A CUSTOM LEVEL ALLOWS IT), INTENDED EXPERIENCE","Walang backscroll, maliban kung pwede sa custom game, klasik na experience","Die Kamera bewegt sich nicht nach links, wie bei den Originalspielen, ausser wenn ein Nutzererstelltes Level es erlaubt.","Levellerde gerİye doğru hareket edemezsİnİz (özel bİr level buna İzİn vermedİğİ sürece), Amaçlanan Deneyİm","Anda tidak dapat bergerak mundur dalam level (kecuali level kustom mengizinkannya), Pengalaman yang Diinginkan","Você não pode andar para trás nos níveis (a menos que um nível customizado o permita), Experiência recomendada.",デフォルトステージモード:もどることはできない。
|
DESC_BACKSCROLL_0,,"You cannot move backwards in levels (unless a custom level allows it), Intended Experience",Vous ne pouvez pas retournez en arrière (sauf si un niveau custom vous l'autorise). Expérience prévue,Nie możesz iść do tyłu (chyba że poziom użytnikowa na to pozwala) Domyślny styl gry,"bы he moжete дbигatьcя haзaд ha Уpobhяx (kpome, ecли пoльзobateльckий Уpobehь пoзboляet), пpeдпoлaгaemый oпыt","No puedes retroceder en los niveles (a menos que un nivel personalizado lo permita), Experiencia prevista","Non puoi tornare indietro nei livelli (a meno che un livello creato dall'utente lo consente), l'esperienza originale.","YOU CANNOT MOVE BACKWARDS IN LEVELS (UNLESS A CUSTOM LEVEL ALLOWS IT), INTENDED EXPERIENCE","Walang backscroll, maliban kung pwede sa custom game, klasik na experience","Die Kamera bewegt sich nicht nach links, wie bei den Originalspielen, ausser wenn ein Nutzererstelltes Level es erlaubt.","Levellerde gerİye doğru hareket edemezsİnİz (özel bİr level buna İzİn vermedİğİ sürece), Amaçlanan Deneyİm","Anda tidak dapat bergerak mundur dalam level (kecuali level kustom mengizinkannya), Pengalaman yang Diinginkan","Você não pode andar para trás nos níveis (a menos que um nível customizado o permita), Experiência recomendada.",デフォルトステージモード:もどることはできない。
|
||||||
DESC_BACKSCROLL_1,,You can move backwards in all levels (unless a custom level prevents it),Vous pouvez retournez en arrière (sauf si un niveau custom vous l'en empêche),Możesz iść do tyłu (chyba że poziom użytnikowa na to nie pozwala) ,"bы moжete дbигatьcя haзaд ha Уpobhяx (kpome, ecли пoльзobateльckий Уpobehь he пoзboляet)",Puedes retroceder en todos los niveles (a menos que un nivel personalizado lo impida).,Puoi tornare indietro nei livelli (a meno che un livello creato dall'utente non lo consente).,YOU CAN MOVE BACKWARDS IN ALL LEVELS (UNLESS A CUSTOM LEVEL PREVENTS IT),"Free Camera, maliban kung pinagbawal sa custom games","Die Kamera kann sich auch nach links bewegen, ausser wenn ein nutzererstelltes Level es nicht erlaubt.",Tüm levellerde gerİye doğru hareket edebİlİrsİnİz (özel bİr level bunu engellemedİğİ sürece),Anda dapat bergerak mundur di semua level (kecuali level kustom mencegahnya),"Você pode andar para trás em todos os níveis (a menos que um nível customizado não o permita), Experiência recomendada.",デフォルトステージモード:もどることはできる。
|
DESC_BACKSCROLL_1,,You can move backwards in all levels (unless a custom level prevents it),Vous pouvez retournez en arrière (sauf si un niveau custom vous l'en empêche),Możesz iść do tyłu (chyba że poziom użytnikowa na to nie pozwala) ,"bы moжete дbигatьcя haзaд ha Уpobhяx (kpome, ecли пoльзobateльckий Уpobehь he пoзboляet)",Puedes retroceder en todos los niveles (a menos que un nivel personalizado lo impida).,Puoi tornare indietro nei livelli (a meno che un livello creato dall'utente non lo consente).,YOU CAN MOVE BACKWARDS IN ALL LEVELS (UNLESS A CUSTOM LEVEL PREVENTS IT),"Free Camera, maliban kung pinagbawal sa custom games","Die Kamera kann sich auch nach links bewegen, ausser wenn ein nutzererstelltes Level es nicht erlaubt.",Tüm levellerde gerİye doğru hareket edebİlİrsİnİz (özel bİr level bunu engellemedİğİ sürece),Anda dapat bergerak mundur di semua level (kecuali level kustom mencegahnya),"Você pode andar para trás em todos os níveis (a menos que um nível customizado não o permita), Experiência recomendada.",デフォルトステージモード:もどることはできる。
|
||||||
DESC_LAKITU_0,,"Lakitu will throw spiny's straight upwards, exactly like in the original games. (was due to a bug)","Lakitu jettera des Hériss en ligne droite verticale, comme il le faisait dans les jeux originaux (à cause d'un bug)","Lakitu rzuca kolczastych prosto w górę, dokładnie jak w oryginale. (Oryginalnie niezamierzane)","ЛakиtУ бУдet пoдбpacыbatь koлючkУ пpяmo bbepx, b toчhoctи kak b opигиhaльhыx игpax. (эto пpoизoшлo из-зa oшибkи)","Lakitu lanzará a los Spiny directamente hacia arriba, exactamente igual que en los juegos originales. (debido a un error)","Lakitu lancerà i koopistrici verticalmente verso l'alto, esattamente come nel gioco originale (questo era a causa di un bug).","LAKITU WILL THROW SPINY'S STRAIGHT UPWARDS, EXACTLY LIKE IN THE ORIGINAL GAMES. (WAS DUE TO A BUG)","Pataas, Klasik na pagtapon ng Lakitu ng spiny","Lakitu wirft Stachis senkrecht nach oben, wie bei den Originalspielen. (Dies passierte aufgrund eines Bugs)",Lakİtu orİjİnal oyunlardakİ gİbİ Spİny'lerİ dümdüz yukarı doğru fırlatacak. (bİr hata nedenİyle),"Lakitu akan melemparkan spiny lurus ke atas, persis seperti di game aslinya. (disebabkan oleh bug)","Lakitus vão arremessar spinys direto para cima, que nem no jogo original.",トゲゾーが うえに なげられる。
|
DESC_LAKITU_0,,"Lakitu will throw spiny's straight upwards, exactly like in the original games. (was due to a bug)","Lakitu jettera des Hériss en ligne droite verticale, comme il le faisait dans les jeux originaux (à cause d'un bug)","Lakitu rzuca kolczastych prosto w górę, dokładnie jak w oryginale. (Oryginalnie niezamierzane)","ЛakиtУ бУдet пoдбpacыbatь koлючkУ пpяmo bbepx, b toчhoctи kak b opигиhaльhыx игpax. (эto пpoизoшлo из-зa oшибkи)","Lakitu lanzará a los Spiny directamente hacia arriba, exactamente igual que en los juegos originales. (debido a un error)","Lakitu lancerà i koopistrici verticalmente verso l'alto, esattamente come nel gioco originale (questo era a causa di un bug).","LAKITU WILL THROW SPINY'S STRAIGHT UPWARDS, EXACTLY LIKE IN THE ORIGINAL GAMES. (WAS DUE TO A BUG)","Pataas, Klasik na pagtapon ng Lakitu ng spiny","Lakitu wirft Stachis senkrecht nach oben, wie bei den Originalspielen. (Dies passierte aufgrund eines Bugs)",Lakİtu orİjİnal oyunlardakİ gİbİ Spİny'lerİ dümdüz yukarı doğru fırlatacak. (bİr hata nedenİyle),"Lakitu akan melemparkan spiny lurus ke atas, persis seperti di game aslinya. (disebabkan oleh bug)","Lakitus vão arremessar spinys direto para cima, que nem no jogo original.",トゲゾーが うえに なげられる。
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -612,8 +612,8 @@ settings_category = "difficulty"
|
|||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
option_key = "time_limit"
|
option_key = "time_limit"
|
||||||
title = "DIFFI_TIME"
|
title = "DIFFI_TIME"
|
||||||
value_descs = Array[String](["DESC_TIME_0", "DESC_TIME_1"])
|
value_descs = Array[String](["DESC_TIME_0", "DESC_TIME_1", "DESC_TIME_2"])
|
||||||
values = ["SETTING_OFF", "SETTING_ON"]
|
values = ["SETTING_OFF", "SETTINGS_CLASSIC", "SETTINGS_MODERN"]
|
||||||
settings_category = "difficulty"
|
settings_category = "difficulty"
|
||||||
|
|
||||||
[node name="LakituStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
|
[node name="LakituStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
|
||||||
|
@@ -7,10 +7,17 @@ static var character_icons := [preload("res://Assets/Sprites/Players/Mario/LifeI
|
|||||||
|
|
||||||
const RANK_COLOURS := {"F": Color.DIM_GRAY, "D": Color.WEB_MAROON, "C": Color.PALE_GREEN, "B": Color.DODGER_BLUE, "A": Color.RED, "S": Color.GOLD, "P": Color.PURPLE}
|
const RANK_COLOURS := {"F": Color.DIM_GRAY, "D": Color.WEB_MAROON, "C": Color.PALE_GREEN, "B": Color.DODGER_BLUE, "A": Color.RED, "S": Color.GOLD, "P": Color.PURPLE}
|
||||||
|
|
||||||
|
var delta_time := 0.0
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
Global.level_theme_changed.connect(update_character_info)
|
Global.level_theme_changed.connect(update_character_info)
|
||||||
|
|
||||||
func _process(_delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
|
if not get_tree().paused and $Timer.paused:
|
||||||
|
delta_time += delta
|
||||||
|
if delta_time >= 1:
|
||||||
|
delta_time -= 1
|
||||||
|
on_timeout()
|
||||||
handle_main_hud()
|
handle_main_hud()
|
||||||
handle_pausing()
|
handle_pausing()
|
||||||
|
|
||||||
@@ -20,7 +27,7 @@ func handle_main_hud() -> void:
|
|||||||
$Main/RedCoins.hide()
|
$Main/RedCoins.hide()
|
||||||
$Main/CoinCount.show()
|
$Main/CoinCount.show()
|
||||||
%Combo.hide()
|
%Combo.hide()
|
||||||
|
$Timer.paused = Settings.file.difficulty.time_limit == 2
|
||||||
$%Time.show()
|
$%Time.show()
|
||||||
%Stopwatch.hide()
|
%Stopwatch.hide()
|
||||||
%PB.hide()
|
%PB.hide()
|
||||||
@@ -173,7 +180,7 @@ func activate_pause_menu() -> void:
|
|||||||
const HURRY_UP = preload("res://Assets/Audio/BGM/HurryUp.mp3")
|
const HURRY_UP = preload("res://Assets/Audio/BGM/HurryUp.mp3")
|
||||||
|
|
||||||
func on_timeout() -> void:
|
func on_timeout() -> void:
|
||||||
if Global.can_time_tick and is_instance_valid(Global.current_level) and Settings.file.difficulty.time_limit == 1:
|
if Global.can_time_tick and is_instance_valid(Global.current_level) and Settings.file.difficulty.time_limit > 0:
|
||||||
if Global.level_editor != null:
|
if Global.level_editor != null:
|
||||||
if Global.level_editor.current_state != LevelEditor.EditorState.PLAYTESTING:
|
if Global.level_editor.current_state != LevelEditor.EditorState.PLAYTESTING:
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user