Spawn characters indefinitely.
video tutorial part 1 video tutorial part 2
- 23 Flutter Flame Tutorial Videos - All free (this is a hobby)
- load image from cache instead of continually hitting network or disk to load image for every spawn
Tappable
mixin onSpriteComponent
- by using
Tappable
, you can remove the dragon with aremove()
method specific to each dragon HasTappableComponents
mixin onBaseGame
- needed to useTappable
in theSpriteComponent
Timer
utility from Flame to control the rate of dragon spawn
- Dart 2.14.0
- Flutter 2.5
- Flame 1.0.0-releasecandidate.13