Menu

UpdateWorld

UltraBas

UpdateWorld anim_speed!

Animates all entities in the world, and performs collision checking.

The optional anim_speed! parameter allows you affect the animation speed of all entities at once. A value of 1 (default) will animate entities at their usual animation speed, a value of 2 will animate entities at double their animation speed, and so on.

For best results use this command once per main loop, just before calling [RenderWorld].


Related

Wiki: Alphabetical-commands
Wiki: Category-commands
Wiki: Collisions
Wiki: RenderWorld

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.