improve ui, bug fix and update assets

This commit is contained in:
2026-06-04 23:33:52 +02:00
parent 34ffced619
commit 5ffd92c26b
72 changed files with 1276 additions and 144 deletions

View File

@@ -23,17 +23,20 @@ func _ready():
func _on_pressed() -> void:
if TweenFX.is_playing(self, TweenFX.Animations.PUNCH_IN):
return
TweenFX.stop_all(self)
scale = Vector2.ONE
rotation = 0.0
TweenFX.punch_in(self)
func _on_mouse_entered() -> void:
if TweenFX.is_playing(self, TweenFX.Animations.BREATHE):
return
TweenFX.stop_all(self)
scale = Vector2.ONE
rotation = 0.0
TweenFX.breathe(self, 1)
func _on_mouse_exited() -> void:
TweenFX.stop(self, TweenFX.Animations.BREATHE)
scale = Vector2(1, 1)
TweenFX.stop_all(self)
scale = Vector2.ONE
rotation = 0.0