mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Merge pull request #208 from flame-engine/add-splash-screen-docs
Add splash screen
This commit is contained in:
@ -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)
|
||||
|
||||
@ -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
16
doc/splash_screen.md
Normal file
@ -0,0 +1,16 @@
|
||||
## Splash screen
|
||||
|
||||

|
||||
|
||||
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.
|
||||
Reference in New Issue
Block a user