Skip to content

Install and first game

  • A Mac with Flutter 3.47 or later (install Flutter).
  • Xcode, for macOS and iOS.
  • Android Studio, for Android.

Games run on macOS 12, iOS 15 and Android 11 (64-bit) or later. Windows, Linux and the web aren’t supported yet.

Terminal window
dart pub global activate fynkel_cli
fynkel create my_game
cd my_game
flutter run -d macos

A cube turns in a window: click it, and it hops. The game is in lib/main.dart: change the cube’s colour, save, and press R in the terminal to see it.

  • The first build for each platform downloads the engine: about 6 MB on a Mac, 10 MB with physics and sound (an Android build gets two sets). After that, builds for it need no network.
  • fynkel: command not found? Add $HOME/.pub-cache/bin to your PATH.
  • Something missing? fynkel doctor checks your Mac and the game in the folder you run it in, and says what to do.

Connect it, find its name with flutter devices, and run flutter run -d <name>. An iPhone needs a signing team once: open ios/Runner.xcworkspace in Xcode, and choose yours under Signing & Capabilities. For real speed, run with --profile or --release.

They are packages of their own. Add them when you make the game:

Terminal window
fynkel create my_game --physics --audio

or later, with flutter pub add fynkel_physics and flutter pub add fynkel_audio.