Closed dalexeev closed 1 year ago
AnimatedSprite2D
playing
play()
frames
sprite_frames
emit_signal("signal_name")
signal_name.emit()
Array.pick_random()
randi() % array.size()
Vector2.clamp()
clamp()
StringName
Thanks!
AnimatedSprite2D
(playing
→play()
,frames
→sprite_frames
).emit_signal("signal_name")
→signal_name.emit()
.Array.pick_random()
instead ofrandi() % array.size()
.Vector2.clamp()
instead ofclamp()
on components.StringName
literals for consistency.