Skip to content

bdero/flutter-scene-example

Repository files navigation

Flutter Scene

How to run

  1. Switch to Flutter's main channel.
    flutter channel main
  2. Enable the native assets feature.
    flutter config --enable-native-assets
  3. Clone this repository.
    git clone https://github.com/bdero/flutter-scene-example.git
    cd flutter-scene-example
  4. Run the app on macOS, Windows, Linux, iOS, or Android with Impeller enabled.
    flutter run -d macos --enable-impeller

History

This repository started life as a 3D demo shown off at Flutter Forward 2023!

Flutter Forward Thumbnail

The 3D renderer was originally built as a C++ component in Impeller. At the time, this required a custom build of Flutter Engine in order to use it.

Since then, we've built and shipped Flutter GPU as a preview API in the Flutter SDK, and rewrote the Flutter Scene renderer in Dart.

We showed this demo off at Flutter's booth during GDC 2024. A few extra features were thrown in for this, including a leaderboard, collisions, music, spikes, fall damage, and jumping.

Licenses

Source code

The source code in this repository is MIT licensed.

Assets

All 3D models, textures, music, and sound effects present in this repository are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0

About

No description, website, or topics provided.

Resources

License

MIT, CC-BY-SA-4.0 licenses found

Licenses found

MIT
LICENSE
CC-BY-SA-4.0
LICENSE-CC-BY-SA

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published