Dev 0.2.0

* Equilibrage de la difficulté (suite)
* Correction du timing des dialogues de Demeter
* Dev de la base astra (avec les logs)
* Fix de bug de duplication d'objets
* Fix de la mutation ancien
* Ajout d'une mention de la propagation des mutations dans le tuto
This commit is contained in:
2026-07-25 20:09:54 +02:00
parent 3ff6d68371
commit ffe6f50ba6
64 changed files with 633 additions and 126 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ func get_first_vending_machine_occurence(_level : int, _difficulty_setting : int
func get_vending_machine_occurence(_level : int, _difficulty_setting : int) -> int:
return 3
func get_first_cave_occurence(level : int, difficulty_setting : int) -> int:
return get_cave_occurence(level, difficulty_setting)
func get_first_cave_occurence(_level : int, _difficulty_setting : int) -> int:
return 1
func get_cave_occurence(_level : int, _difficulty_setting : int) -> int:
return 3
@@ -32,7 +32,7 @@ func get_region_sequence_length(_difficulty_setting : int) -> int:
return 5
func get_objective_multiplier() -> float:
return 0.8
return 0.6
func is_run_point_dangerous(_level : int, _difficulty_setting : int) -> bool:
return false
@@ -47,7 +47,7 @@ func get_challenge_chance(_level : int, _difficulty_setting : int) -> float:
return 0.
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):
if ship_in_space and level + 1 == get_cave_occurence(level, difficulty_setting):
return CAVE_DIALOG_PATH
if ship_in_space and is_run_finished(level + 1, difficulty_setting):
return MERCURY_ARRIVAL_DIALOG_PATH
@@ -36,12 +36,12 @@ func get_region_sequence_length(_difficulty_setting : int) -> int:
return 6
func get_objective_multiplier() -> float:
return 1
return 0.8
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:
if level == 1 and ship_in_space:
return VENDING_MACHINE_DIALOG_PATH
if ship_in_space and is_run_finished(level + 1, difficulty_setting):
return VENUS_ARRIVAL_DIALOG_PATH
@@ -26,7 +26,7 @@ func get_destination_scene() -> Scene:
return BoreaScene.new()
func get_objective_multiplier() -> float:
return 1.2
return 1.
func get_player_max_energy(difficulty_setting := 1) -> int:
if difficulty_setting == 0:
@@ -34,7 +34,7 @@ func get_player_max_inventory(_difficulty_setting) -> int:
return 4
func get_objective_multiplier() -> float:
return 1.4
return 1.2
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
if level == 5:
@@ -35,7 +35,7 @@ func get_player_max_inventory(_difficulty_setting : int) -> int:
return 5
func get_objective_multiplier() -> float:
return 1.6
return 1.4
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
if level == 5:
@@ -35,7 +35,7 @@ func get_player_max_inventory(_difficulty_setting : int) -> int:
return 5
func get_objective_multiplier() -> float:
return 1.8
return 1.6
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
if level == 5:
@@ -22,6 +22,9 @@ func get_logs() -> Array[Log]:
func get_destination_text() -> String:
return tr("ESTIA_BASE")
func get_region_sequence_length(_difficulty_setting : int) -> int:
return 10
func get_destination_scene() -> Scene:
return AstraScene.new(
false
+7 -6
View File
@@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://n5ohgm4odri5"
path="res://.godot/imported/atom.svg-203f467e4f45f7544a18f8b0644aa19a.ctex"
path.s3tc="res://.godot/imported/atom.svg-203f467e4f45f7544a18f8b0644aa19a.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://common/icons/atom.svg"
dest_files=["res://.godot/imported/atom.svg-203f467e4f45f7544a18f8b0644aa19a.ctex"]
dest_files=["res://.godot/imported/atom.svg-203f467e4f45f7544a18f8b0644aa19a.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
@@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@@ -37,7 +38,7 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0
svg/scale=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+7 -6
View File
@@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://ce3hclmo0jcoh"
path="res://.godot/imported/cloud-rain.svg-80379b0936dff4583ecdd239d916ebab.ctex"
path.s3tc="res://.godot/imported/cloud-rain.svg-80379b0936dff4583ecdd239d916ebab.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://common/icons/cloud-rain.svg"
dest_files=["res://.godot/imported/cloud-rain.svg-80379b0936dff4583ecdd239d916ebab.ctex"]
dest_files=["res://.godot/imported/cloud-rain.svg-80379b0936dff4583ecdd239d916ebab.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
@@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@@ -37,7 +38,7 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0
svg/scale=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+7 -6
View File
@@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cs5jk1312wauu"
path="res://.godot/imported/coin.svg-08623932cd6c1ab8a19bb6ae049240d0.ctex"
path.s3tc="res://.godot/imported/coin.svg-08623932cd6c1ab8a19bb6ae049240d0.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://common/icons/coin.svg"
dest_files=["res://.godot/imported/coin.svg-08623932cd6c1ab8a19bb6ae049240d0.ctex"]
dest_files=["res://.godot/imported/coin.svg-08623932cd6c1ab8a19bb6ae049240d0.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
@@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@@ -37,7 +38,7 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0
svg/scale=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+7 -6
View File
@@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://baughrx6x5sx2"
path="res://.godot/imported/radioactive.svg-826ebf1689bc47cf482da642b68adf02.ctex"
path.s3tc="res://.godot/imported/radioactive.svg-826ebf1689bc47cf482da642b68adf02.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://common/icons/radioactive.svg"
dest_files=["res://.godot/imported/radioactive.svg-826ebf1689bc47cf482da642b68adf02.ctex"]
dest_files=["res://.godot/imported/radioactive.svg-826ebf1689bc47cf482da642b68adf02.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
@@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@@ -37,7 +38,7 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0
svg/scale=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+7 -6
View File
@@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://c15ith3niu7sa"
path="res://.godot/imported/wave-sine.svg-af18e7f57640d33da7bef035e7276303.ctex"
path.s3tc="res://.godot/imported/wave-sine.svg-af18e7f57640d33da7bef035e7276303.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://common/icons/wave-sine.svg"
dest_files=["res://.godot/imported/wave-sine.svg-af18e7f57640d33da7bef035e7276303.ctex"]
dest_files=["res://.godot/imported/wave-sine.svg-af18e7f57640d33da7bef035e7276303.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
@@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@@ -37,7 +38,7 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0
svg/scale=2.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
@@ -8,7 +8,7 @@ func get_scene_icon() -> Texture:
return preload("res://common/icons/building-factory-2.svg")
func get_scene_path() -> String:
return "res://stages/3d_scenes/astra_base/astra_end_base.tscn"
return "res://stages/3d_scenes/astra_end_base/astra_end_base.tscn"
func is_mouse_captured() -> bool:
return true
+1 -1
View File
@@ -21,7 +21,7 @@ const ACH_STW_TOO_FAR="STW_TOO_FAR"
func unlock_achievement(achivement_name : String):
if Steam.isSteamRunning():
var status = Steam.getAchievement(achivement_name)
print("Steam Achievement %s" % achivement_name)
print_debug("Steam Achievement %s" % achivement_name)
if status.has("ret") and status.ret and not status.achieved:
Steam.setAchievement(achivement_name)
Steam.storeStats()
-1
View File
@@ -186,7 +186,6 @@ const RANDOM_REGION_TYPE_POOL = [
"REGION_TYPE_GROUNDS",
"REGION_TYPE_PLATEAU",
"REGION_TYPE_FOOTHILLS",
"REGION_TYPE_CANYON",
"REGION_TYPE_RIDGE",
"REGION_TYPE_LANDSCAPE",
]