You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Undertaker-Simulator/prefabs/firesprite.gd

8 lines
204 B

extends Sprite3D
@onready var animation_player: AnimationPlayer = $AnimationPlayer
func _ready() -> void:
animation_player.seek(randf_range(0.,.4))
animation_player.speed_scale = randf_range(0.7,1.3)