mirror of
https://git.kittycat.homes/BatHeartTiger/untitled-plant-game.git
synced 2024-08-15 03:16:27 +00:00
13 lines
192 B
GDScript
13 lines
192 B
GDScript
extends Sprite
|
|
|
|
var direction = 0
|
|
|
|
func _ready():
|
|
frame = randi() % hframes
|
|
|
|
func _physics_process(delta):
|
|
global_position += Vector2(direction, 0)
|
|
|
|
|
|
func _on_Timer_timeout():
|
|
queue_free()
|