Skip to content

Examples

The repository includes complete game examples under examples/.

Included Projects

  • examples/star_patrol - top-down space shooter
  • examples/pixel_puzzle - puzzle game
  • examples/void_runner - endless runner
  • examples/cosmic_survivor - survival shooter

Run Any Example

cd examples/star_patrol
flutter run

Replace star_patrol with any other project name.

What These Examples Demonstrate

  • Full-screen-friendly Flutter layout around FlutterxelView
  • Input handling through btn, btnp, btnr
  • Sprite/tile-style game rendering with primitive APIs
  • HUD and overlay rendering patterns
  • Game-state update loops built on run(update, draw)