Correction du son des cristaux, ajout d'un fade out à tous les dialogues et correction de traduction

This commit is contained in:
2026-06-14 17:27:06 +02:00
parent f7f1d2be2c
commit 84ea00aae3
13 changed files with 65 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
extends InspectableEntity
class_name WinCristal
var order = 0
@export_tool_button("Update", "Callable") var update_action = update
@export_tool_button("Spawn Anim", "Callable") var spawn_action = spawn_animation
@export var data : WinCristalData = WinCristalData.random() :
@@ -20,7 +21,21 @@ func update():
func spawn_animation():
scale = Vector2.ZERO
%CristalPlayer.play()
match order:
0:
%CristalPlayer.play()
1:
%CristalPlayer2.play()
2:
%CristalPlayer3.play()
3:
%CristalPlayer4.play()
4:
%CristalPlayer5.play()
_:
%CristalPlayer6.play()
get_tree().create_tween().tween_property(self, "scale", Vector2.ONE, 0.3).set_trans(Tween.TRANS_BOUNCE)
func get_card_up_padding() -> float: