Correction du son des cristaux, ajout d'un fade out à tous les dialogues et correction de traduction
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user