This repository has been archived on 2023-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
YokaiSurvive/GODOT/Coin.gd
2021-01-03 11:05:02 +01:00

10 lines
193 B
GDScript

extends RigidBody2D
export var min_vitesse = 150
export var max_vitesse = 200
func _ready():
$AnimatedSprite.animation = "coin"
func _on_VisibilityNotifier2D_screen_exited():
queue_free()