* Ajout des modes de jeu
* Dev de subterra et estia
* Ajout de tous les dialogues et traduction
* Ajout d'un splashscreen
This commit is contained in:
2026-07-19 12:08:29 +02:00
parent a299ecc320
commit 9fdf8d2888
428 changed files with 7387 additions and 778 deletions
@@ -9,16 +9,16 @@ func get_respawn_scene() -> Scene:
func get_destination_text() -> String:
return ""
func get_region_sequence_length() -> int:
func get_region_sequence_length(_difficulty_setting : int) -> int:
return 1
func get_destination_scene() -> Scene: return null
func need_gameplay_modifier(_level : int): return false
func need_gameplay_modifier(_level : int, _difficulty_setting : int): return false
func get_objective_for_region(_level : int) -> int: return 3
func get_objective_for_region(_level : int, _difficulty_setting : int) -> int: return 3
func get_story_modifiers_for_region(_n : int) -> Array[RegionModifier]:
func get_story_modifiers_for_region(_n : int, _difficulty_setting : int) -> Array[RegionModifier]:
return [
TutorialModifier.new()
]
@@ -16,33 +16,30 @@ func get_destination_scene() -> Scene:
"001"
)
func get_cave_occurence(_level : int) -> int:
func get_cave_occurence(_level : int, _difficulty_setting : int) -> int:
return 2
func get_region_sequence_length() -> int:
func get_region_sequence_length(_difficulty_setting : int) -> int:
return 5
func get_objective_for_region(level : int) -> int:
match level:
1: return 6
2: return 10
3: return 16
4: return 24
5: return 34
_: return get_objective_for_region(level-1) + (level-2) * 5
func get_objective_multiplier() -> float:
return 0.6
func get_first_vending_machine_occurence(_level : int) -> int:
func is_run_point_dangerous(_level : int, _difficulty_setting : int) -> bool:
return false
func get_first_vending_machine_occurence(_level : int, _difficulty_setting : int) -> int:
return 0
func get_vending_machine_occurence(_level : int) -> int:
func get_vending_machine_occurence(_level : int, _difficulty_setting : int) -> int:
return 0
func get_challenge_chance(_level : int) -> float:
func get_challenge_chance(_level : int, _difficulty_setting : int) -> float:
return 0.
func get_ship_dialog_path(level : int, ship_in_space := true) -> String:
if ship_in_space and level == get_cave_occurence(level) - 1:
func get_ship_dialog_path(level : int, difficulty_setting : int ,ship_in_space := true) -> String:
if ship_in_space and level == get_cave_occurence(level, difficulty_setting) - 1:
return CAVE_DIALOG_PATH
if ship_in_space and is_run_finished(level + 1):
if ship_in_space and is_run_finished(level + 1, difficulty_setting):
return MERCURY_ARRIVAL_DIALOG_PATH
return ""
@@ -23,11 +23,11 @@ func get_destination_scene() -> Scene:
"002"
)
func get_ship_dialog_path(level : int, ship_in_space := true) -> String:
func get_ship_dialog_path(level : int, difficulty_setting : int, ship_in_space := true) -> String:
if level == 0:
return MERCURY_DEPARTURE_DIALOG_PATH
if level == 2:
return VENDING_MACHINE_DIALOG_PATH
if ship_in_space and is_run_finished(level + 1):
if ship_in_space and is_run_finished(level + 1, difficulty_setting):
return VENUS_ARRIVAL_DIALOG_PATH
return ""
@@ -16,11 +16,13 @@ func get_destination_text() -> String:
func get_destination_scene() -> Scene:
return BoreaScene.new()
func get_player_max_energy() -> int:
func get_player_max_energy(difficulty_setting := 1) -> int:
if difficulty_setting == 0:
return 4 + COSY_ENERGY_ADDITION
return 4
func get_player_max_inventory() -> int:
func get_player_max_inventory(_difficulty_setting := 1) -> int:
return 3
func get_ship_dialog_path(_level : int, _ship_in_space := true) -> String:
func get_ship_dialog_path(_level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
return VENUS_DEPARTURE_DIALOG_PATH
@@ -16,13 +16,15 @@ func get_destination_text() -> String:
func get_destination_scene() -> Scene:
return AquaScene.new()
func get_player_max_energy() -> int:
func get_player_max_energy(difficulty_setting) -> int:
if difficulty_setting == 0:
return 4 + COSY_ENERGY_ADDITION
return 4
func get_player_max_inventory() -> int:
func get_player_max_inventory(_difficulty_setting) -> int:
return 4
func get_ship_dialog_path(level : int, _ship_in_space := true) -> String:
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
if level == 5:
return AQUA_TRAVEL_PHONE_CALL_DIALOG_PATH
return ""
@@ -16,13 +16,15 @@ func get_destination_text() -> String:
func get_destination_scene() -> Scene:
return SubterraScene.new()
func get_player_max_energy() -> int:
func get_player_max_energy(difficulty_setting : int) -> int:
if difficulty_setting == 0:
return 4 + COSY_ENERGY_ADDITION
return 4
func get_player_max_inventory() -> int:
func get_player_max_inventory(_difficulty_setting : int) -> int:
return 5
func get_ship_dialog_path(level : int, _ship_in_space := true) -> String:
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
if level == 5:
return TRAVEL_PHONE_CALL_DIALOG_PATH
return ""
@@ -16,13 +16,15 @@ func get_destination_text() -> String:
func get_destination_scene() -> Scene:
return EstiaScene.new()
func get_player_max_energy() -> int:
func get_player_max_energy(difficulty_setting : int) -> int:
if difficulty_setting == 0:
return 5 + COSY_ENERGY_ADDITION
return 5
func get_player_max_inventory() -> int:
func get_player_max_inventory(_difficulty_setting : int) -> int:
return 5
func get_ship_dialog_path(level : int, _ship_in_space := true) -> String:
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
if level == 5:
return TRAVEL_PHONE_CALL_DIALOG_PATH
return ""
@@ -16,13 +16,15 @@ func get_destination_text() -> String:
func get_destination_scene() -> Scene:
return AstraEndScene.new()
func get_player_max_energy() -> int:
func get_player_max_energy(difficulty_setting : int) -> int:
if difficulty_setting == 0:
return 6 + COSY_ENERGY_ADDITION
return 5
func get_player_max_inventory() -> int:
func get_player_max_inventory(_difficulty_setting : int) -> int:
return 6
func get_ship_dialog_path(level : int, _ship_in_space := true) -> String:
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
if level == 4:
return TRAVEL_PHONE_CALL_DIALOG_PATH
return ""