Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Sprite2D
- func _ready():
- ghosting()
- func set_property(tx_pos, tx_scale ):
- position = tx_pos
- scale = tx_scale
- func ghosting():
- var tween_fade = get_tree().create_tween()
- tween_fade.tween_property(self, "self_modulate",Color(1, 1, 1, 0), 0.75 )
- await tween_fade.finished
- queue_free()
Add Comment
Please, Sign In to add comment