mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
added cool animation to springs
This commit is contained in:
parent
7b67b3aef6
commit
a88727b2d8
13 changed files with 267 additions and 47 deletions
11
Pegs/Yellow/Powerups/Spawn/FromBottomSprite.gd
Normal file
11
Pegs/Yellow/Powerups/Spawn/FromBottomSprite.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends AnimatedSprite
|
||||
|
||||
var ready_for_delete = false
|
||||
|
||||
func play_backwards():
|
||||
if ready_for_delete:
|
||||
queue_free()
|
||||
else:
|
||||
play("despawn")
|
||||
ready_for_delete = true
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue