Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends RigidBody2D
- export var min_speed = 150
- export var max_speed = 250
- var mob_types = ["walk", "swim", "fly"]
- func _ready():
- $AnimatedSprite.animation = mob_types[randi() % mob_types.size()]
- func _on_Visibility_screen_exited():
- queue_free()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement