bridge library

The half of a shooter that meets a screen.

flutter3d_game_shooter.dart is the simulation and names neither flutter3d nor Flutter; this is where the two meet for what only a shooter wants — the weapon in the player's hands, drawn in its own pass with its own field of view, and the readouts a game lays out over the picture. The weapon sat in flutter3d_bridge until the genres became packages, where it made the bridge know what a weapon was.

Classes

AmmoReadout
What is in the weapon, or infinity when the weapon does not spend anything.
HealthBar
How much of the player is left, and what is in front of it.
KeyPips
The keys the player is carrying, as a pip each.
ReadoutStyle
How a game wants its readouts drawn.
WeaponView
The weapon in the player's hands, and everything that makes it feel held.