Bug fix and balance tweaks
This commit is contained in:
parent
cbd84a2e50
commit
b2d6a4faf5
4 changed files with 18 additions and 20 deletions
|
|
@ -7,6 +7,7 @@ var respawn_timer: Timer
|
|||
var original_y: float = 0.0
|
||||
|
||||
func _ready():
|
||||
original_y = position.y
|
||||
area.input_event.connect(_on_area_input_event)
|
||||
area.mouse_entered.connect(_on_mouse_entered)
|
||||
area.mouse_exited.connect(_on_mouse_exited)
|
||||
|
|
@ -36,9 +37,6 @@ func on_clicked():
|
|||
func play_pop_animation():
|
||||
arrow.visible = false
|
||||
|
||||
# Store original position for reset
|
||||
original_y = position.y
|
||||
|
||||
# Create a tween for smooth animation
|
||||
var tween = create_tween()
|
||||
tween.set_parallel(true) # Run animations simultaneously
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue