dartcade library

Helper code and utilities that are used to power games in bin/.

Nothing in this API is stable, and it may be changed without notice.

Functions

gameLoop(void update(Screen, BufferedKeys), {Duration framesPerSecond = const Duration(milliseconds: 1000 ~/ 30), void onStart(Screen)?}) Future<void>
Runs a game loop, which invokes update on every frame.