* pleins de choses et j'ai pas le temps
* mais en gros
* le détecteur détecte les cellules
* ajout du sprite de Demeter
* ajout d'une limite dans la map
* la recharge ne peut plus de nouveau être utilisée après la fin de la région
This commit is contained in:
2026-05-29 16:35:42 +02:00
parent 8b794ee967
commit 79357982d0
41 changed files with 214 additions and 135 deletions

View File

@@ -207,12 +207,13 @@ func change_ambiances_volume(db_change := 0., fade := DEFAULT_FADE_TIME):
# Joue un
# - player_name : Nom de la Node dans la scène Godot à jouer
func play_sfx(sfx_name : String):
func play_sfx(sfx_name : String, pitch = 1.):
var player := %Sfx.find_child(sfx_name) as AudioStreamPlayer
if player:
player.play()
else:
printerr("Sfx %s not found" % sfx_name)
# ----------------- Partie Technique (pas touche Niels ;D) ----------------

View File

@@ -22,7 +22,7 @@ func is_run_finished(level : int) -> bool:
return level == get_region_sequence_length() - 1
func get_region_sequence_length() -> int:
return 6
return 7
func get_first_vending_machine_occurence(_level : int) -> int:
return 2

View File

@@ -20,7 +20,7 @@ func get_cave_occurence(_level : int) -> int:
return 2
func get_region_sequence_length() -> int:
return 4
return 5
func get_objective_for_region(level : int) -> int:
match level:

View File

@@ -3,19 +3,20 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://bgkivv66x80oj"
path="res://.godot/imported/clock-death.svg-156c3c6dcf8f7a8c3c6a279f5e24cc19.ctex"
path.s3tc="res://.godot/imported/clock-death.svg-156c3c6dcf8f7a8c3c6a279f5e24cc19.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://common/icons/clock-death.svg"
dest_files=["res://.godot/imported/clock-death.svg-156c3c6dcf8f7a8c3c6a279f5e24cc19.ctex"]
dest_files=["res://.godot/imported/clock-death.svg-156c3c6dcf8f7a8c3c6a279f5e24cc19.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