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

11 lines
193 B
GDScript3
Raw Permalink Normal View History

2021-01-03 11:05:02 +01:00
extends RigidBody2D
export var min_vitesse = 150
export var max_vitesse = 200
func _ready():
$AnimatedSprite.animation = "coin"
func _on_VisibilityNotifier2D_screen_exited():
queue_free()