Ajout de l'intégration twitch

This commit is contained in:
2026-06-23 23:38:20 +02:00
parent 4f93f7acaf
commit fcf8bfaa45
12 changed files with 305 additions and 16 deletions

View File

@@ -21,11 +21,15 @@ func _on_close_button_pressed():
func open_window():
show()
%ControlAnimationPlayer.appear()
modulate.a = 0.
var tween = create_tween()
tween.tween_property(self, 'modulate:a', 1, 0.3)
func close_window():
if visible:
%ControlAnimationPlayer.disappear(0.3)
await get_tree().create_timer(0.3).timeout
modulate.a = 1.
var tween = create_tween()
tween.tween_property(self, 'modulate:a', 0, 0.3)
await tween.finished
hide()
closed.emit()