Commit graph

26 commits

Author SHA1 Message Date
Zed A. Shaw
6c9016eb0f After some prototyping I have what I think I want for the map. Just a simple piece of paper you take out that has the ASCII map on it. 2025-03-21 02:51:02 -04:00
Zed A. Shaw
5c815cf755 Played with UI layouts but keeping this for now. Fixed up config so it has keys() and now we load a boss per level. 2025-03-05 01:01:36 -05:00
Zed A. Shaw
a3f6ba3c03 Refactored the bossfight_ui so it will work with any description of a boss fight. 2025-03-02 12:36:08 -05:00
Zed A. Shaw
54fbf22b6d We can go down a level and there's a loading screen for it. The map and motion now matches the directions shown in the raycasting. There's now a compass that shows you the direction you're facing. 2025-02-25 13:15:39 -05:00
Zed A. Shaw
dfd59065f7 Inventory and lighting improved, now to get ready for going down a level and that's most of the game loop working. 2025-02-24 01:56:16 -05:00
Zed A. Shaw
80a0f2ba75 Basic simple animations where the enemies just move forward. 2025-02-22 01:36:31 -05:00
Zed A. Shaw
f2b7871d12 Quickly pulled out some of the magic numbers but this isn't the ideal way to configure this stuff. 2025-02-19 08:56:34 -05:00
Zed A. Shaw
bfe0d797c8 Status UI now has a log and some buttons. 2025-02-18 23:58:13 -05:00
Zed A. Shaw
3a6ba8445a Added a Background guecs component. 2025-02-18 23:08:04 -05:00
Zed A. Shaw
d2700d2928 You now have blood on your screen when below half health. 2025-02-13 13:15:20 -05:00
Zed A. Shaw
9b3b81683a Separate out the major UIs to get ready for their development, and enable debug button. 2025-02-13 10:55:45 -05:00
Zed A. Shaw
be4d0d51de Two main GUI elements are placed for the left side status and the bottom combat UIs. 2025-02-12 17:55:21 -05:00
Zed A. Shaw
9fe7cac79b Have a sort of left gui going but not sure if I like it as a real texture yet. Will need to play with it more. 2025-02-12 14:02:34 -05:00
Zed A. Shaw
21e087ded5 Basic UI positioning and layout prior to designing the UI and setting a place for the combat system. 2025-02-11 14:35:54 -05:00
Zed A. Shaw
d798d154ae We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 2025-02-07 19:32:00 -05:00
Zed A. Shaw
1d3a76e5ee Refactored out main.cpp to be a separate gui and using an FSM to keep the turn based nature straight. 2025-02-04 12:56:20 -05:00
Zed A. Shaw
2daa1c9bd5 Brought over a bunch of code from the roguelike and now will use it to generate a random map. 2025-01-30 11:38:57 -05:00
Zed A. Shaw
3519c73079 Remove some more junk from the texture thing. 2025-01-27 10:25:49 -05:00
Zed A. Shaw
51858ea399 Made a terrible animation sprite and then did a quick animation test. Won't keep it for now but this shows how it could work. 2025-01-25 12:02:57 -05:00
Zed A. Shaw
0882851b3f Switching back to 256px textures for most things, but the weapon works best as a 512px. 2025-01-25 08:29:01 -05:00
Zed A. Shaw
5e6f95513c Tried out 512px tiles and sprites and they actually look like crap. They just look like bad textures not better painted. With 256 they look nicely pixelated. 2025-01-25 07:46:57 -05:00
Zed A. Shaw
da7075864b Now have a basic sprite system that uses SFML's sprites, but the algorithm for determining how much of a sprite to display is wrong. Need to use the alternate algorithm from LODE's tutorial that draws sprites after rendering. 2025-01-23 02:42:43 -05:00
Zed A. Shaw
c98aa936ad The tracy directory now has an experiment in getting Tracy to work. It's _not_ as easy as it is touted to be. 2025-01-19 12:58:05 -05:00
Zed A. Shaw
308fe4bed2 Brought in Amit's latest and tweaked a few more build options for enabling some safety checks in GCC. 2025-01-19 11:05:42 -05:00
Zed A. Shaw
53a151511e Make it so that DNEBUG is forced on release build, and that the UI stats counter will show that this is a debug build or not via NDEBUG. 2025-01-18 03:18:44 -05:00
Zed A. Shaw
7a74877849 Fixed that crash and cleaned up more variables for some study next. I might also try out my debug macros. 2025-01-18 00:44:25 -05:00