Commit graph

12 commits

Author SHA1 Message Date
Zed A. Shaw
d93bc1615c Big changes to use the new lel-guecs setup but now almost everything works. Only thing missing is Issue #16 in quecs. 2025-07-23 14:03:41 -04:00
Zed A. Shaw
ff7111b006 Icons now work way better and don't have the the 'Rayview cuts icons' bug. It actually was a bug in the lel-guecs Sprite class that was using the TextureRect from the source sprite. Now its initialized with the framesize from the .json. This also uses the new guecs::Icon, but I have to fix that as it doesn't scale correctly. Closes #2. 2025-07-22 15:04:22 -04:00
Zed A. Shaw
e0588847fa Tracked down the bug that was caused by picking up an item but not removing its Position in the world, so when you go to another level it gets brought back to life causing a dupe. 2025-06-22 12:50:09 -04:00
Zed A. Shaw
2aa4f0a2e8 Finally can pick things up, but it's really bad so far. Need a bunch of refactoring in how the collision system works, and make it so collision and maps can have multiple entities in the same square. 2025-06-12 13:06:36 -04:00
Zed A. Shaw
38159a5f84 Fix the window coordinates so that you can resize. 2025-06-11 00:56:41 -04:00
Zed A. Shaw
4a48910273 There's a UISystem now for to compliment the entities and components in GUECS. I now use that to do the drag/drop transfers instead of raw code right in the FSM. 2025-06-10 13:13:40 -04:00
Zed A. Shaw
e01e697535 Move now works better, and the API is a lot cleaner. Now just need to make it not crash. 2025-06-10 11:12:04 -04:00
Zed A. Shaw
570b70ab0c More of the drag/drop is handled by the GrabSource/DropTarget components. 2025-06-09 23:59:44 -04:00
Zed A. Shaw
4b0d76bbcc Even better API, but still not the best organization. This will let me implement both sides, then I can pull it out and try to generalize it into a few guecs components. 2025-06-08 23:55:59 -04:00
Zed A. Shaw
461ad03d27 Taking things from the LootUI to the StatusUI works way better now and there's a DropTarget to match the GrabSource. 2025-06-08 00:37:30 -04:00
Zed A. Shaw
5c47a0151c Basic loot UI mostly working. Each time you open there's a torch and you can place it visually on any slot on your character. 2025-06-03 13:43:16 -04:00
Zed A. Shaw
cc44c9d37a Move the guecstra stuff into the gui. 2025-05-15 22:50:59 -04:00
Renamed from guecstra.cpp (Browse further)