Commit graph

28 commits

Author SHA1 Message Date
Zed A. Shaw
8a30fafabb Quick ability to set the countdown timer length. 2025-04-23 01:04:00 -04:00
Zed A. Shaw
d4d8c780a4 Bring over my bag of shit shaders and use one as a placeholder for the build status indicator. 2025-04-23 00:20:08 -04:00
Zed A. Shaw
8f3a3c10c2 UI is now working the same as last time but using GUECS. 2025-04-22 11:54:35 -04:00
Zed A. Shaw
70c2ce7d51 Reworked the gui to use GUECS now so lots of code soon to die. 2025-04-22 03:08:43 -04:00
Zed A. Shaw
e78340a0cd Remove most of the image/sound managing stuff. 2025-04-22 01:22:33 -04:00
Zed A. Shaw
2d81f900be Updated to use the latest libgit2 1.9.0 and GCC14. 2025-04-16 23:44:22 -04:00
Zed A. Shaw
e1c667d816 The images for my reactions to your bad code are now up. Went with a more 'pixel video' look than a pixel art hand drawn thing. 2024-09-20 18:47:14 -04:00
Zed A. Shaw
3cb4fcfeb5 Stupid self-portrait for the game's 'bad guy'. 2024-09-18 10:46:17 -04:00
Zed A. Shaw
95cd84b09d Get the build fail to actually play and keep the building sound looping until the build is done. 2024-09-16 17:24:02 -04:00
Zed A. Shaw
0aeb5b4ceb Make the FSM_STATE work better with optional loggins set by a define and standardize on using enum class by default. 2024-09-16 06:53:49 -04:00
Zed A. Shaw
5ae24d9b0a Moved the main event loop out of GUI so it's not so tightly coupled to everything else. 2024-09-10 22:58:45 -04:00
Zed A. Shaw
c0ad0c8d23 Rework the GUI so it uses SFMLBackend by moving the SoundQuip into SFMLBackend. 2024-09-10 22:40:02 -04:00
Zed A. Shaw
152d4cf037 A bit more source refactoring. 2024-09-10 21:29:01 -04:00
Zed A. Shaw
fff182b457 Refactored out the main_loop so that it's not tightly coupled inside builder, and in the process found I was accidentally copying GUI and GameEngine because Builder wasn't using a &ref for them. Now they don't have a copy constructor to catch that. 2024-09-10 04:38:21 -04:00
Zed A. Shaw
0bac4dbfd9 First step in refactoring out the build running from the gui for later thread fiascos. 2024-09-08 20:01:10 -04:00
Zed A. Shaw
453c50c563 Big cleanup of rampant using std. 2024-09-07 22:26:57 -04:00
Zed A. Shaw
cacf72604f Very janky barely working coroutine version of the game, the UI is more responsive, but not as much as it should be. Still, take a look and study the coro.hpp and other files in this commit for some coroutine stuff. 2024-09-06 23:35:17 -04:00
Zed A. Shaw
4bd2d12219 The new SFMLGui is now worked into the code and barely works. Cleanup is next. 2024-09-01 18:11:33 -04:00
Zed A. Shaw
fee724e637 Fix a bug where a failinb build that causes death would play both the death sound and build failed sound. 2024-08-27 16:34:38 -04:00
Zed A. Shaw
eb6c7b0e33 Working config file also configures the build and git dir. 2024-08-26 19:32:39 -04:00
Zed A. Shaw
90f4f727ba I can now load a json config file name .tarpit.json to configure everything. It now works to configure the sounds used. 2024-08-26 19:04:50 -04:00
Zed A. Shaw
268d8abf52 Sounds are working...BUT...I have to make ones I own so hang on until I do that. 2024-08-25 22:09:13 -04:00
Zed A. Shaw
f83c0c7ff9 Rework the GUI so that I can place my face while I stream. 2024-08-23 16:06:40 -04:00
Zed A. Shaw
9a012813ae Game now keeps track of deaths, rounds, streaks and other fun stuff. You can also die finally. 2024-08-22 18:34:20 -04:00
Zed A. Shaw
a13704fe33 Got a simple GUI layout working for the most part. 2024-08-22 17:59:53 -04:00
Zed A. Shaw
c52bc8fafd Make the game engine use a start/end round and do healing if you don't make any mistakes. 2024-08-21 18:44:32 -04:00
Zed A. Shaw
e35536c7e3 More refactoring in prep for a real design. 2024-08-21 18:34:46 -04:00
Zed A. Shaw
ceba46c658 GUI is now in its own unit. 2024-08-20 18:02:46 -04:00