|
Aegis2D
Modular C++26 2D game engine for networked games
|
The controls of a player ship, with the default keys the subject asks for and a gamepad. More...
#include <aegis2d/core/config.hpp>#include <aegis2d/ecs/components.hpp>#include <aegis2d/platform/actions.hpp>#include <aegis2d/platform/gamepad.hpp>#include <aegis2d/platform/keyboard.hpp>#include <aegis2d/platform/latched_action.hpp>#include <array>#include <bit>#include <cstddef>#include <cstdint>#include <iterator>#include <string_view>Go to the source code of this file.
Classes | |
| class | aegis2d::shmup::ShipControls |
| The controls of a player ship: arrows move it and Space fires, or a gamepad's D-pad or left stick and its South button (A, Cross) or right trigger. More... | |
Namespaces | |
| namespace | aegis2d |
| Root namespace of the engine. | |
| namespace | aegis2d::shmup |
| Shoot'em up building blocks on top of the ECS: player ships, their controls, weapons and their shots. A game of another genre leaves the module out. | |
The controls of a player ship, with the default keys the subject asks for and a gamepad.
Client side only: the header uses the platform module, which the game links next to aegis2d::shmup (the shmup library itself does not depend on it, so a server links it without platform).