Commit graph

12 commits

Author SHA1 Message Date
Zed A. Shaw
4c019048d0 Making Icons a thing again since it's convenient. 2025-07-23 13:49:16 -04:00
Zed A. Shaw
0d91c554c6 Fix the clicker demo. 2025-07-23 12:51:51 -04:00
Zed A. Shaw
9e9b9620c9 Major refactoring but now centering text and sprites works. See Issue #16 for why only those and not anything else yet. 2025-07-23 12:48:29 -04:00
Zed A. Shaw
2c22da022f Text can be centered wither with the centered attribute on a class or with = in the spec. 2025-07-23 00:25:00 -04:00
Zed A. Shaw
3752522597 Fixed Icon vs. Sprite and now Icon is just a subclass of Sprite. Closes #12. 2025-07-22 17:11:02 -04:00
Zed A. Shaw
a22342cd7e Now Sprite can do either aspect_ratio scaling or stretching and Icon is just a subclass. 2025-07-22 16:22:05 -04:00
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
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
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
9a4b0adc1f Clicker has a bark now. 2025-05-11 00:44:35 -04:00
Zed A. Shaw
04f6fef921 Started a tiny idle clicker demo called 'Clicker the Dog'. No idea what that means. 2025-05-11 00:15:09 -04:00