flame_gallery_core 0.1.0
flame_gallery_core: ^0.1.0 copied to clipboard
Core contracts, host page, themed overlays and HUD widgets shared by Flame Gallery mini games. Build your own drop-in Flame game on top of it.
Unreleased #
GameBackground(color / gradient / image) viaGameTheme.background, drawn behind every game.GameTheme.themeDatafor full control of menu buttons, cards and text.GameOverlayBuilders+GameUito replace the start, HUD, pause and game over overlays.GameSounds/GameSoundCue/CallbackSounds: sound effect cues without an audio dependency.GameAnimation: horizontal sprite strips.GameStrings.combo/distance/accuracy: overridable in-game value templates ({value}placeholder,GameStrings.fill).GameEndCause<C>mixin: end a round withfinishWith(cause); the cause is reported asstats['endedBy'].RoundCountdown(time limit →secondsLeft) andDuration.asSeconds.GalleryFlameGamecreates the game's privateImages(prefix: '')cache, plusloadSprites(parallel) andaddBackgroundhelpers.HudScoreChipandHudTimerChip.GameStatKeys.endedBy: const key for the end cause stat.GameHostPageinternals split into a state mixin and per-overlay parts (no public API change).
0.1.0 #
- Initial release.