|
Aegis2D
Modular C++26 2D game engine for networked games
|
Parallax starfield: layers of stars scrolling at their own speed, driven by time. More...
#include <aegis2d/core/clock.hpp>#include <aegis2d/core/math.hpp>#include <aegis2d/render/color.hpp>#include <aegis2d/render/export.hpp>#include <aegis2d/render/renderer.hpp>#include <array>#include <cstddef>#include <cstdint>#include <span>#include <vector>Go to the source code of this file.
Classes | |
| struct | aegis2d::render::StarLayer |
| One layer of a starfield: stars at one depth. More... | |
| class | aegis2d::render::Starfield |
| Stars scrolling across the screen in layers, each at its own speed: a parallax background for a side-scrolling shooter. More... | |
Namespaces | |
| namespace | aegis2d |
| Root namespace of the engine. | |
| namespace | aegis2d::render |
| OpenGL renderer: sprites, text and camera (client only). | |
Variables | |
| constexpr std::array< StarLayer, 3 > | aegis2d::render::default_star_layers |
| Three layers, from the farthest: many small dim stars scrolling slowly, then fewer, larger, brighter and faster ones. | |
Parallax starfield: layers of stars scrolling at their own speed, driven by time.