Commit graph

10 commits

Author SHA1 Message Date
Zed A. Shaw
5a7c096b52 Fix up the backend so it has sane names like get_sprite and get_icon, then implemented a guecs::Icon for icons. Those don't scale and typically have other properties different from a Sprite. 2025-07-22 12:59:10 -04:00
Zed A. Shaw
ad78c186c6 Implement a way to map entities to their names, which comes up often enough. 2025-07-07 10:54:23 -04:00
Zed A. Shaw
e1d61dc2c1 You can now set a sprite as a background in Background which will simplify a lot of games that just place sprites over a single image. 2025-06-01 22:52:54 -04:00
Zed A. Shaw
b7c49711b6 Make the sfml parts a separate dependency so you can use them if you want. 2025-05-16 10:31:04 -04:00
Zed A. Shaw
4d71f552aa Refactoring the GUECS UI::render and the components so that it's just calling a .render on each one. This will then let me allow registering any components people want. 2025-05-12 00:09:21 -04:00
Zed A. Shaw
a9e219ea96 Clicker now moves when you click him. 2025-05-11 16:08:55 -04:00
Zed A. Shaw
cf3da32681 Fixed two bugs in Effect. 1. The shaders weren't being applied to everything, only shapes. 2. The Textual components were getting a not-shape shader but should be shapes. 2025-05-10 12:54:11 -04:00
Zed A. Shaw
adc192c6dc Removed dbc and replaced with plain asserts everywhere. 2025-05-10 10:53:53 -04:00
Zed A. Shaw
a18d60dcb0 Added direct theme support and will slowly move more things into this struct for configuring the look. 2025-05-09 11:20:22 -04:00
Zed A. Shaw
3bc05ad164 Move everything under the guecs/ directory in src/ so that it meshes better with other projects. 2025-05-08 11:20:00 -04:00
Renamed from src/guecs.cpp (Browse further)