![]() |
ImagoEngine
A C++ 2D game engine built on a sparse-set ECS, with scenes, scheduled systems, events, and action-based input
|
Everything the Game needs to start. Default values for now but will later be filled by a YAML config file. More...
#include <Imago/Engine/GameConfig.hpp>
Public Attributes | |
| std::string | title = "ImagoEngine" |
| window title | |
| unsigned int | width = 1280 |
| width of the window | |
| unsigned int | height = 720 |
| height of the window | |
| FramePacing | pacing = FramePacing::VSync |
| how the frame rate is limited. VSync by default. | |
| unsigned int | targetFps = 60 |
| only read when pacing is limited. | |
| std::string | firstScene |
| name of the first Scene to load and run. | |
Everything the Game needs to start. Default values for now but will later be filled by a YAML config file.