giant_toad_runtime library
Input, audio, persistence, scene, project, and runtime service APIs.
Classes
- GiantToadAction
- A semantic input action, independent of keyboard, touch, or controller APIs.
- GiantToadActionInput
- Device-neutral input sink for keyboard, pointer, joystick, and gamepad adapters. Platform gamepad packages can forward events here without entering the semantic action layer.
- GiantToadActionMap
- Maps physical control identifiers to semantic game actions.
- GiantToadActionMapCodec
- Encodes persisted action bindings without coupling to a storage backend.
- GiantToadActionState
- Stores the currently held physical controls and exposes semantic actions.
- GiantToadAssets
- Canonical project asset roots. Games may add folders but must not reinterpret these paths across platforms.
- GiantToadAudio
- Audio buses and music crossfades over Flame Audio. Web hosts can construct this with requiresActivation and call unlock from their first pointer or keyboard gesture; requests are queued rather than lost.
- GiantToadAudioBackend
- GiantToadAudioHandle
- GiantToadAutosaveCoordinator
- Coalesces frequent save requests and exposes an explicit lifecycle flush.
- GiantToadCapabilities
- Explicit platform contract used by examples and production fallback paths.
- GiantToadCapabilityStatus
- GiantToadControl
- Stable physical-control identifiers shared by bindings and platform adapters.
- GiantToadFlameAudioBackend
- GiantToadJoystickActions
-
Polls Flame's standard
JoystickComponentand forwards its normalized delta into semantic action bindings. - GiantToadKeyboardActions
-
Flame keyboard component that feeds a GiantToadActionInput. Add it to a
game using
HasKeyboardHandlerComponents. - GiantToadMemoryStore
- Deterministic in-memory GiantToadStore, useful for tests and prototypes.
- GiantToadPreferencesStore
- Cross-platform Flutter store backed by the asynchronous shared-preferences API. JSON encoding gives every platform the same supported value shapes.
- GiantToadPreloadableAudioBackend
- Optional backend contract for decoding short effects before gameplay.
- GiantToadProject
- Versioned metadata for a typed Giant Toad pixel-art project.
- GiantToadSaveData
- Versioned JSON save payload.
- GiantToadSaveSlots
- Named save slots with explicit schema migration.
- GiantToadSceneResources
- Resources tied to a scene route and released when Flame unmounts it.
- GiantToadSceneRoute
-
Flame
Routewith explicit typed scene activation and resource lifecycle. - GiantToadSceneRouter
-
Small naming convenience over Flame's standard
RouterComponent. - GiantToadSettings
- Typed settings facade over the same platform store.
- GiantToadStore
- Storage abstraction suitable for game settings and save-data backends.
- GiantToadWorker
- Runs a sendable operation outside the UI isolate.
Enums
- GiantToadAudioBus
- GiantToadCapability
- GiantToadPlatformKind
- Runtime families that materially affect game feature availability.
Typedefs
- GiantToadSaveMigration = GiantToadSaveData Function(GiantToadSaveData oldData)