photo_mode library
Photo mode for a game on flutter3d: the run stopped, a camera to fly, a filter to pick and a picture larger than the window.
PhotoMode holds the engine's PhotoCamera and PhotoFilter together
and owns the keys while it is open; PhotoBar is the strip it shows.
How a game's own keys fly the camera is a PhotoControls: its actions
and mouse (ActionPhotoControls) or the keyboard read as held
(KeyPhotoControls).
A library rather than a plugin: photo mode stops the loop rather than running in it, and the game decides which key opens it.
Classes
- ActionPhotoControls
- The game's own actions fly the camera, and the mouse turns it.
- KeyPhotoControls
- The keyboard, read as held each frame: WASD fly, up and down take the camera up and down, Shift is faster, and — when turnRate is given — the arrows turn it at that many radians a second.
- PhotoBar
- The strip along the bottom of the screen in photo mode: the filter, the keys, and the last picture's sentence.
- PhotoControls
- How a game's own controls fly the photo camera while the run is stopped.
- PhotoMode
-
Photo mode —
N8: the run stopped, a camera to fly, a filter to pick and a picture larger than the window. - PhotoSteerContext
- What PhotoControls.steer is handed, once a frame.