GitXplorerGitXplorer
b

flutter-scene-example

public
79 stars
13 forks
2 issues

Commits

List of commits on branch master.
Unverified
5dbccf730da9f32979ec1af56327e05ed935d6e1

Update readme and licenses

bbdero committed 3 months ago
Unverified
08243a6df950f4b879fa174022767f5f542fb2f6

Add buildhook

bbdero committed 3 months ago
Unverified
c62c4925730f583e3fab4ee1a17ce0f687a80538

Port to Flutter GPU version of Flutter Scene

bbdero committed 3 months ago
Unverified
cfc93ec6b06638f507727a3b460f985ab9b2718f

merge pubspec

bbdero committed 3 months ago
Unverified
4e0b2ff3fcf178e11298ef4a46b1043bc23dd4ca

Add menu and damage vignettes

bbdero committed 9 months ago
Unverified
afb0700d3699e6a604bfe17157825425a990db2c

Add sound effects

bbdero committed 9 months ago

README

The README file for this repository.

Flutter Scene Example

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