DartGameDevs

Bleeding edge tutorials and news for game developers working with Dart

game_loop 0.7 with M3 support

New release with M3 support

Last week’s M3 release of Dart broke the game_loop library. Today version 0.7.0 of game_loop was published on pub.

Changes: 1. Support for M3 version of Dart. 2. Removal of GameLoop prefix from classes, if you have a conflict use a prefixed import.

Pub and Import

If you’re using pub, just run pub update and you’ll be good. If you aren’t using pub, start!

1
2
dependencies:
  game_loop: any
1
import 'package:game_loop/game_loop.dart'

Be sure to checkout the GitHub project and read the docs here.