chickadee » doodle » world-changes

(world-changes (lambda (events dt escape-continuation) ...))procedure
holds the occured list of events of this loop iteration
holds the time delta between the last and this iteration
holds the continuation that will exit the loop

Please see below for a detailed list of supported event symbols.

dt is a flonum which can be used to adjust speed of animations for example.

The game loop is started with the (run-event-loop) procedure. Usually the game loop will run as fast as it can unless the keyword parameter minimum-wait has been given which adds that minimum delay between iterations.