mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 12:28:03 +08:00
First pass at migrating from `RawKeyEvent` and `RawKeyboard` to `KeyEvent` and `HardwareKeyboard`. Context: https://docs.flutter.dev/release/breaking-changes/key-event-migration
flutter_colonists
A tiny example where jobs and workers are paired together by running a path finding algorithm in an isolate using flame_isolate.
You can toggle between compute types by tapping the HUD element in the top right corner.
Keyboard bindings for the game are:
WASDfor moving the camera.Num+ Num-for zooming in and out.
Thank you Wyrmsun for the wonderful Germanic Worker asset. As this asset is licensed under GPLv2, this example project is as well.