Merge pull request #208 from flame-engine/add-splash-screen-docs

Add splash screen
This commit is contained in:
Erick (CptBlackPixel)
2020-01-28 20:32:58 -03:00
committed by GitHub
3 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,6 @@
## 0.17.4
- Fixing compilations errors regarding changes on `box2_flame`
- Add splash screen docs
## 0.17.3
- Tweaking text box rendering to reduce pixelated text (thanks, @kurtome)

View File

@ -57,3 +57,4 @@ And start using it!
- [Box2D](box2d.md)
- [Tiled](tiled.md)
- [Debugging](debug.md)
- [Splash screen](splash_screen.md)

16
doc/splash_screen.md Normal file
View File

@ -0,0 +1,16 @@
## Splash screen
![](https://raw.githubusercontent.com/flame-engine/flame_splash_screen/master/demogif.gif)
Style your flame game with a beautiful splash screen.
Flame splash screen is a very customizable splash screen package.
```dart
FlameSplashScreen(
theme: FlameSplashTheme.dark,
onFinish: (BuildContext context) => Navigator.pushNamed(context, '/your-game-initial-screen')
)
```
Check the [package's repo](https://github.com/flame-engine/flame_splash_screen) and the [pub page](https://pub.dev/packages/flame_splash_screen) for more details.