Compare commits

..

No commits in common. "40fb724000f101e1a5823ee40546342c11e4dd88" and "3f2281a155d18a4b64e34f04dea1d85bb2b806c9" have entirely different histories.

3 changed files with 1 additions and 14 deletions

View File

@ -60,9 +60,6 @@ func update_cardview(new_card = null):
for i in input_dice_views:
i.bold = true
#TODO: same dice UI support
#TODO: hover UI support maybe
# add an input_dice_view to the array (for easy management)
# and to the autogrid
@ -74,11 +71,6 @@ func add_input_dice_view():
# this is run once the card emits card_removed
func card_view_run():
# play the disappearing input dice animation
for i in input_dice_views:
yield(i.run_disappear_animation(), "completed")
# play the using animation
$AnimationPlayer.play("Fly Off")
yield($AnimationPlayer, "animation_finished")

View File

@ -23,8 +23,3 @@ func set_bold(is_bold : bool = true):
$Sprite.texture = load("res://Assets/DiceInput.png")
bold = is_bold
func run_disappear_animation():
$AnimationPlayer.play("Disappear")
yield($AnimationPlayer, "animation_finished")

View File

@ -33,7 +33,7 @@ font_data = ExtResource( 1 )
[sub_resource type="Animation" id=8]
resource_name = "Disappear"
length = 0.8
length = 0.5
step = 0.01
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:rect_scale")