Dev 0.1.0
* Ajout des logs et de la radio
This commit is contained in:
BIN
Binary file not shown.
+19
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://bbepnqv4d6m18"
|
||||
path="res://.godot/imported/freesound_community-generator-synthetic-63166.mp3-88f82a03175e74c86c02d27a5df01933.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/dialogs/sfx/freesound_community-generator-synthetic-63166.mp3"
|
||||
dest_files=["res://.godot/imported/freesound_community-generator-synthetic-63166.mp3-88f82a03175e74c86c02d27a5df01933.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://dypltt6kbjsiq"
|
||||
path="res://.godot/imported/hello_again_2_bad_signal.mp3-30e7c8f7ee067a4fe299f37c6e7860a8.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/dialogs/voices/hello_again_2_bad_signal.mp3"
|
||||
dest_files=["res://.godot/imported/hello_again_2_bad_signal.mp3-30e7c8f7ee067a4fe299f37c6e7860a8.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -67,7 +67,9 @@
|
||||
[ext_resource type="AudioStream" uid="uid://budu0cym6ximv" path="res://common/audio_manager/assets/sfx/phone/phone_call.wav" id="48_ipd1r"]
|
||||
[ext_resource type="AudioStream" uid="uid://sgwvpxiul5x5" path="res://common/audio_manager/assets/sfx/ship_exit/ship_exit.wav" id="48_j8acj"]
|
||||
[ext_resource type="AudioStream" uid="uid://ca0wonha334cl" path="res://common/audio_manager/assets/sfx/teleportation/teleport.wav" id="50_rlnfe"]
|
||||
[ext_resource type="AudioStream" uid="uid://dsrft8ing7qwj" path="res://common/audio_manager/assets/sfx/dialogs/sfx/closing_transmission.wav" id="51_1r4ky"]
|
||||
[ext_resource type="AudioStream" uid="uid://cv5avkd3qekt7" path="res://common/audio_manager/assets/sfx/movement/movement.wav" id="51_iyxkn"]
|
||||
[ext_resource type="AudioStream" uid="uid://dk87b7iet1sae" path="res://common/audio_manager/assets/sfx/dialogs/sfx/incoming_transmission.wav" id="52_7c7qp"]
|
||||
[ext_resource type="AudioStream" uid="uid://53ixfbcd5qwu" path="res://common/audio_manager/assets/sfx/holo/holo_appear.wav" id="63_aedoe"]
|
||||
[ext_resource type="AudioStream" uid="uid://dsijqgnnadgem" path="res://common/audio_manager/assets/sfx/holo/holo_disappear.wav" id="64_ge2sc"]
|
||||
[ext_resource type="AudioStream" uid="uid://dscyqjujj1com" path="res://common/audio_manager/assets/sfx/unlock_tool/unlock_tool.wav" id="64_yr73o"]
|
||||
@@ -336,6 +338,14 @@ volume_db = -16.0
|
||||
stream = ExtResource("22_btfwx")
|
||||
volume_db = 3.627
|
||||
|
||||
[node name="MessageExit" type="AudioStreamPlayer" parent="Sfx" unique_id=1254655142]
|
||||
stream = ExtResource("51_1r4ky")
|
||||
volume_db = -5.0
|
||||
|
||||
[node name="MessageEnter" type="AudioStreamPlayer" parent="Sfx" unique_id=290386103]
|
||||
stream = ExtResource("52_7c7qp")
|
||||
volume_db = -5.0
|
||||
|
||||
[node name="Astra_phone_call" type="AudioStreamPlayer" parent="Sfx" unique_id=721344636]
|
||||
stream = ExtResource("48_ipd1r")
|
||||
volume_db = -5.0
|
||||
|
||||
@@ -53,6 +53,7 @@ func _init(
|
||||
@export var max_inventory_announced : int
|
||||
|
||||
@export var dialogs_done : Array[String] = [] #Chemin des dialogues terminés
|
||||
@export var logs_read : Array[String] = []
|
||||
@export var tutorials_done : Array[String] = []
|
||||
|
||||
|
||||
|
||||
@@ -21,6 +21,10 @@ func get_run_progress(level : int, difficulty_setting : int) -> int:
|
||||
|
||||
func get_ship_dialog_path(_level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
|
||||
return ""
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return []
|
||||
|
||||
#region ------------------ Run ------------------
|
||||
|
||||
func is_run_finished(level : int, difficulty_setting : int) -> bool:
|
||||
@@ -39,7 +43,9 @@ func get_player_max_energy(difficulty_setting : int) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting : int) -> int:
|
||||
return PlayerData.DEFAULT_INVENTORY_SIZE
|
||||
|
||||
func get_region_sequence_length(_difficulty_setting : int) -> int:
|
||||
func get_region_sequence_length(difficulty_setting : int) -> int:
|
||||
if difficulty_setting == 0:
|
||||
return 6
|
||||
return 8
|
||||
|
||||
func get_first_vending_machine_occurence(_level : int, _difficulty_setting : int) -> int:
|
||||
@@ -66,7 +72,7 @@ func get_charge_number(_level : int, _difficulty_setting : int) -> int:
|
||||
return 10
|
||||
|
||||
func is_run_point_dangerous(level : int, difficulty_setting : int) -> bool:
|
||||
if is_region_sequence_infinite():
|
||||
if difficulty_setting == 0:
|
||||
return false
|
||||
return level == get_region_sequence_length(difficulty_setting) - 2
|
||||
|
||||
@@ -135,3 +141,18 @@ func _on_finish():
|
||||
GameInfo.game_data.incubator_used = []
|
||||
GameInfo.game_data.dead_orchid_position = Vector3.ZERO
|
||||
GameInfo.game_data.dead_orchid_rotation = Vector3.ZERO
|
||||
|
||||
|
||||
class Log:
|
||||
var key : String
|
||||
var title : String
|
||||
var text : String
|
||||
|
||||
func _init(
|
||||
_key: String,
|
||||
_title : String,
|
||||
_text : String,
|
||||
):
|
||||
key = _key
|
||||
title = _title
|
||||
text = _text
|
||||
@@ -15,6 +15,15 @@ func get_destination_scene() -> Scene:
|
||||
"MERCURY",
|
||||
"001"
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_DEMETER_LAUNCH_TITLE_TEXT",
|
||||
"LOG_DEMETER_LAUNCH_TITLE_TEXT",
|
||||
"LOG_DEMETER_LAUNCH_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_cave_occurence(_level : int, _difficulty_setting : int) -> int:
|
||||
return 2
|
||||
@@ -38,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) - 1:
|
||||
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
|
||||
|
||||
@@ -23,6 +23,21 @@ func get_destination_scene() -> Scene:
|
||||
"002"
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_PLANET_DISCOVERY_1_TITLE_TEXT",
|
||||
"LOG_PLANET_DISCOVERY_1_TITLE_TEXT",
|
||||
"LOG_PLANET_DISCOVERY_1_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_region_sequence_length(_difficulty_setting : int) -> int:
|
||||
return 6
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
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
|
||||
|
||||
@@ -10,6 +10,15 @@ func get_respawn_scene() -> Scene:
|
||||
true
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_PLANET_DISCOVERY_2_TITLE_TEXT",
|
||||
"LOG_PLANET_DISCOVERY_2_TITLE_TEXT",
|
||||
"LOG_PLANET_DISCOVERY_2_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_destination_text() -> String:
|
||||
return tr("BOREA_BASE")
|
||||
|
||||
|
||||
@@ -10,6 +10,15 @@ func get_respawn_scene() -> Scene:
|
||||
true
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_TALION_ANALYSIS_TITLE_TEXT",
|
||||
"LOG_TALION_ANALYSIS_TITLE_TEXT",
|
||||
"LOG_TALION_ANALYSIS_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_destination_text() -> String:
|
||||
return tr("AQUA_BASE")
|
||||
|
||||
@@ -24,6 +33,9 @@ func get_player_max_energy(difficulty_setting) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting) -> int:
|
||||
return 4
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 1.2
|
||||
|
||||
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
|
||||
|
||||
@@ -13,6 +13,16 @@ func get_respawn_scene() -> Scene:
|
||||
func get_destination_text() -> String:
|
||||
return tr("SUBTERRA_BASE")
|
||||
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_THE_WAVE_TITLE_TEXT",
|
||||
"LOG_THE_WAVE_TITLE_TEXT",
|
||||
"LOG_THE_WAVE_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_destination_scene() -> Scene:
|
||||
return SubterraScene.new()
|
||||
|
||||
@@ -24,6 +34,9 @@ func get_player_max_energy(difficulty_setting : int) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting : int) -> int:
|
||||
return 5
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 1.4
|
||||
|
||||
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
|
||||
if level == 5:
|
||||
return TRAVEL_PHONE_CALL_DIALOG_PATH
|
||||
|
||||
@@ -10,6 +10,16 @@ func get_respawn_scene() -> Scene:
|
||||
true
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_THE_DEPARTURE_TITLE_TEXT",
|
||||
"LOG_THE_DEPARTURE_TITLE_TEXT",
|
||||
"LOG_THE_DEPARTURE_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
func get_destination_text() -> String:
|
||||
return tr("SUBTERRA_BASE")
|
||||
|
||||
@@ -24,6 +34,9 @@ func get_player_max_energy(difficulty_setting : int) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting : int) -> int:
|
||||
return 5
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 1.6
|
||||
|
||||
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
|
||||
if level == 5:
|
||||
return TRAVEL_PHONE_CALL_DIALOG_PATH
|
||||
|
||||
@@ -10,6 +10,15 @@ func get_respawn_scene() -> Scene:
|
||||
true
|
||||
)
|
||||
|
||||
func get_logs() -> Array[Log]:
|
||||
return [
|
||||
Log.new(
|
||||
"LOG_ASTRA_EXPEDITION_1_TITLE_TEXT",
|
||||
"LOG_ASTRA_EXPEDITION_1_TITLE_TEXT",
|
||||
"LOG_ASTRA_EXPEDITION_1_CONTENT_TEXT"
|
||||
)
|
||||
]
|
||||
|
||||
func get_destination_text() -> String:
|
||||
return tr("ESTIA_BASE")
|
||||
|
||||
@@ -24,6 +33,9 @@ func get_player_max_energy(difficulty_setting : int) -> int:
|
||||
func get_player_max_inventory(_difficulty_setting : int) -> int:
|
||||
return 6
|
||||
|
||||
func get_objective_multiplier() -> float:
|
||||
return 2.
|
||||
|
||||
func get_ship_dialog_path(level : int, _difficulty_setting : int, _ship_in_space := true) -> String:
|
||||
if level == 4:
|
||||
return TRAVEL_PHONE_CALL_DIALOG_PATH
|
||||
|
||||
@@ -3,19 +3,20 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cwewx7cdy085h"
|
||||
path="res://.godot/imported/help-hexagon.svg-b310627b5cc818562c34fa1902bdafb7.ctex"
|
||||
path.s3tc="res://.godot/imported/help-hexagon.svg-b310627b5cc818562c34fa1902bdafb7.s3tc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/icons/help-hexagon.svg"
|
||||
dest_files=["res://.godot/imported/help-hexagon.svg-b310627b5cc818562c34fa1902bdafb7.ctex"]
|
||||
dest_files=["res://.godot/imported/help-hexagon.svg-b310627b5cc818562c34fa1902bdafb7.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
|
||||
|
||||
@@ -3,19 +3,20 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cul11ab04vf8i"
|
||||
path="res://.godot/imported/hexagon-lock.svg-7bf497f4529e47638207a0a00b360c9a.ctex"
|
||||
path.s3tc="res://.godot/imported/hexagon-lock.svg-7bf497f4529e47638207a0a00b360c9a.s3tc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/icons/hexagon-lock.svg"
|
||||
dest_files=["res://.godot/imported/hexagon-lock.svg-7bf497f4529e47638207a0a00b360c9a.ctex"]
|
||||
dest_files=["res://.godot/imported/hexagon-lock.svg-7bf497f4529e47638207a0a00b360c9a.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
|
||||
|
||||
@@ -3,19 +3,20 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cgt4n1xwn4dc2"
|
||||
path="res://.godot/imported/hexagon.svg-116e9b9fafdb9986d61b02877aeb42f7.ctex"
|
||||
path.s3tc="res://.godot/imported/hexagon.svg-116e9b9fafdb9986d61b02877aeb42f7.s3tc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/icons/hexagon.svg"
|
||||
dest_files=["res://.godot/imported/hexagon.svg-116e9b9fafdb9986d61b02877aeb42f7.ctex"]
|
||||
dest_files=["res://.godot/imported/hexagon.svg-116e9b9fafdb9986d61b02877aeb42f7.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=3.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
||||
@@ -3,19 +3,20 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cxkmn71f8d2hy"
|
||||
path="res://.godot/imported/hourglass-empty.svg-e7568d697204ad5aa1416ea495c59e73.ctex"
|
||||
path.s3tc="res://.godot/imported/hourglass-empty.svg-e7568d697204ad5aa1416ea495c59e73.s3tc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/icons/hourglass-empty.svg"
|
||||
dest_files=["res://.godot/imported/hourglass-empty.svg-e7568d697204ad5aa1416ea495c59e73.ctex"]
|
||||
dest_files=["res://.godot/imported/hourglass-empty.svg-e7568d697204ad5aa1416ea495c59e73.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
|
||||
|
||||
Reference in New Issue
Block a user