Commit graph

104 commits

Author SHA1 Message Date
Zed A. Shaw
8d1570f44a Figured out threads for the next round. 2024-09-02 17:46:45 -04:00
Zed A. Shaw
fdb3f24377 Cleanup the engine since I won't do the brainfuck thing, then fix up the log a bit. 2024-09-02 16:13:21 -04:00
Zed A. Shaw
8edb37ceb4 Tried to avoid makefile for as long as possible but it's just too useful. 2024-09-02 15:43:21 -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
70d1389c54 Move the GUI to its own file for the next stage. 2024-09-01 16:43:15 -04:00
Zed A. Shaw
58a5a415ec Now using a simple text size grid system for laying out the GUI. 2024-08-31 18:06:15 -04:00
Zed A. Shaw
fda281be1d Refactored into a class. 2024-08-31 17:11:12 -04:00
Zed A. Shaw
846d5964fe GUI mostly laid out but the code needs more refining and cleanup. Currently it creates too many assets in the render function. 2024-08-29 18:47:03 -04:00
Zed A. Shaw
e7a226f1db Log window is now working. 2024-08-29 17:21:39 -04:00
Zed A. Shaw
8707982907 Have a basic template for the gui up, but obviously not using it right. The ImGui does pop up when I hit space, but fails a second time claiming I need to run render again. Needs more research. 2024-08-28 23:55:07 -04:00
Zed A. Shaw
df6944b0fb A really bad quick SFML based UI to get started with the FTXUI removal, and a slight reworking of the default .tarpit.json so that it's just a sample and I can use my own config for my dev and have different sounds. 2024-08-28 18:56:43 -04:00
Zed A. Shaw
015b4aac45 Basic sfml window going for the gui redesign. 2024-08-27 17:12:48 -04:00
Zed A. Shaw
29a6a565d9 Document the config file real quick. 2024-08-27 16:36:05 -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
e8163bbeaf Make some temporary sounds for each of the build actions. 2024-08-27 16:24:00 -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
7309ec2f40 Now I can play a sound! Yay! 2024-08-24 17:33:48 -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
07677068ab Reformat. 2024-08-23 15:34:11 -04:00
Zed A. Shaw
f56fd26e85 Forgot the libgit2 patch. 2024-08-23 14:53:30 -04:00
Zed A. Shaw
8f48627c72 Rough cut on install instructions. 2024-08-23 14:39:18 -04:00
Zed A. Shaw
f73d3fbfd8 Added in an openal dependency for today's stream. 2024-08-23 14:11:31 -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
4520e20ab7 Improve the GameEngine test. 2024-08-21 18:49:25 -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
b9e9119832 A bit less wait time before running the build so it's more responsive. 2024-08-20 18:04:59 -04:00
Zed A. Shaw
ceba46c658 GUI is now in its own unit. 2024-08-20 18:02:46 -04:00
Zed A. Shaw
6d4aa9390a First kind of working FTXUI for the game. 2024-08-20 17:29:58 -04:00
Zed A. Shaw
6fc74ca199 DBC didn't work on its own. Needed the functional stuff to get the lambdas. 2024-08-20 17:29:43 -04:00
Zed A. Shaw
9cc6724df8 Sort of working scrolling window thing. 2024-08-20 16:52:54 -04:00
Zed A. Shaw
4227ee1cdc Use an ostringstream for the output and make the test actually confirm the results. 2024-08-12 13:33:36 -04:00
Zed A. Shaw
38104f60f3 Looks like the brainfuck is working. It can do a hello world program. 2024-08-11 12:34:37 -04:00
Zed A. Shaw
5b18849ddc Just a little cleanup before getting serious again. 2024-08-10 15:09:54 -04:00
Zed A. Shaw
52b59d38ad Move the tests to catch2 so I can get tap output for the game. 2024-08-10 06:59:28 -04:00
Zed A. Shaw
1fb99618bf A simple brainfuck interpreter for the game's idea. 2024-08-10 03:21:11 -04:00
Zed A. Shaw
984031bf33 Test passes now, and most of the gear is working, but now I think I can't use doctest because it doesn't support TAP output. 2024-08-09 23:16:00 -04:00
Zed A. Shaw
440be444ea Moved the game engine into its own unit and then made a failing test for it. 2024-08-09 23:01:06 -04:00
Zed A. Shaw
fb5bf9d733 A quick and dirty test with doctest. Should be good enough. 2024-08-09 12:47:44 -04:00
Zed A. Shaw
4365bfa98d A thread version of a UI that updates the the background. 2024-08-09 12:31:38 -04:00
Zed A. Shaw
20999eddd7 Finally got the buttons working on a simple UI that also does other things behind the scenes. Need to study FTXUI more though as I didn't catch the error with Render(). 2024-08-09 09:41:52 -04:00
Zed A. Shaw
aee2ac5b27 Rename the hack spike of the game idea to its final name. Start a test of FTXUI for the game. 2024-08-06 01:38:28 -04:00
Zed A. Shaw
00597c0aaa A bit of restructuring and some color output for fun. 2024-08-06 01:02:08 -04:00
Zed A. Shaw
5c1b6d9243 Way quicker and easier to simply use the .gitignore to figure out if an important file has changed. This is probably chock full of bugs and memory leaks but it is working. 2024-08-04 08:51:22 -04:00
Zed A. Shaw
83b6aa7cd0 I now have the kernel of the game prototyped. 2024-08-01 20:59:34 -04:00
Zed A. Shaw
f1ee5e82f4 The watchgit works but I don't think I really need libgit2 at all if I can just process the .gitignore correctly. 2024-08-01 18:30:29 -04:00
Zed A. Shaw
899e481c9d A little better build but I really need to clean this up and use a state machine to handle the process. 2024-08-01 07:01:27 -04:00