Commit graph

29 commits

Author SHA1 Message Date
Zed A. Shaw
079734941c Amit's 1d->2d matrix that I can base a rewrite of mine on. 2025-01-11 14:47:05 -05:00
Zed A. Shaw
8d3ccd935d Bringing in Amit's matrix for study and comparison. 2025-01-10 10:59:23 -05:00
Zed A. Shaw
9c03e850b5 Now have more fancy rooms with different floors to play with. 2024-12-27 12:52:23 -05:00
Zed A. Shaw
70cd963e5c Iterators are now working far more reliably and have more extensive tests that randomize inputs and fuzz them to check they keep working. 2024-12-15 19:38:16 -05:00
Zed A. Shaw
381b82ee4e Small fix to build on non-windows platforms. 2024-12-03 06:08:25 -05:00
Zed A. Shaw
e86d474c7c Now have more test for the base functionality but need to push render tests and find a way to test the GUI. I've also brought in sol2 for lua integration but not sure what to do with it. 2024-11-30 10:43:25 -05:00
Zed A. Shaw
fb1fd9d8bc A bit of some clean up, API unifying, and some performance tweaks. 2024-11-22 23:12:18 -05:00
Zed A. Shaw
a4926bedcb Get a better cell size for the rendering of the image. 2024-11-21 16:43:39 -05:00
Zed A. Shaw
6f0f3f01d9 A bit of playing with sizes and motion on the image. 2024-11-21 16:33:29 -05:00
Zed A. Shaw
15a302d133 Renderer is now more standalone and doesn't try to protect against small maps, that's the GUI's job. 2024-11-21 15:51:22 -05:00
Zed A. Shaw
19b8bf1850 Totally a pile of garbage with a bunch of debug prints because I'm going to have to rewrite the renderer resizing to allow for any size image, not just the map. But this does display an image using averaged squares. 2024-11-21 02:49:58 -05:00
Zed A. Shaw
111429b974 A slight improvement to avoid rendering boxes behind text that is default bg color. 2024-11-18 22:12:40 -05:00
Zed A. Shaw
be144e2a05 Start of image to ansi converter. 2024-11-18 14:45:06 -05:00
Zed A. Shaw
2d550978b8 This seems to be the best way to do this, but I kepts a few other experiments in scratchpad. 2024-11-01 04:08:16 -04:00
Zed A. Shaw
f32b39afe2 Barely working ansi color codes parser but I _really_ don't like this one. Too much code to just get it to process correctly which means it'll be brittle as hell later. 2024-11-01 00:40:42 -04:00
Zed A. Shaw
3394327981 Better working but still picks up stray numbers I didn't specify. 2024-10-31 10:08:46 -04:00
Zed A. Shaw
74310304bd Start of a ragel parser that can do the ansi code parsing for me. 2024-10-31 02:53:38 -04:00
Zed A. Shaw
ea6cf1362b Create a test for the ECS before we add more functionality. 2024-10-29 16:04:40 -04:00
Zed A. Shaw
143fe7784c Clean up the DinkyECSso that it's easier to understand and more obvious what a fact vs. component is. 2024-10-29 07:33:00 -04:00
Zed A. Shaw
4ed06b10b1 Need the hit.wav to be mono, but now we have a sound we can move around, just not sure how to place it based on the visuals. 2024-10-28 19:46:55 -04:00
Zed A. Shaw
753bc70b77 Basic ragel test that can parse 1 ASNI sequence and do nothing with it. 2024-10-27 17:34:49 -04:00
Zed A. Shaw
dbc2a10933 Very basic collision and combat to work out the idea and a logging system on the left. 2024-10-25 20:49:11 -04:00
Zed A. Shaw
98993481b0 Playing around with it some more to see how a move would work. 2024-10-22 02:09:28 -04:00
Zed A. Shaw
98baa13264 Tried out Google's AI response to the question of a C++ spatial hash and it kind of came close. This took some massaging but it could work. 2024-10-22 01:52:15 -04:00
Zed A. Shaw
33327154ad DinkyECS is now controlling the game and can handle multiple enemies easily. Next is to clean this up so it's not just one gross pile of code in the gui. 2024-10-16 15:01:53 -04:00
Zed A. Shaw
b9c27cd6ba Now calling this DinkyECS and will use it in the game to move the enemies and such. 2024-10-10 23:20:00 -04:00
Zed A. Shaw
085777706e A few more little features like facts and the ability to store a system for later running. 2024-10-10 23:05:38 -04:00
Zed A. Shaw
cc4f83a1d1 Just wrote my own entity system to figure it out. 2024-10-10 17:34:33 -04:00
Zed A. Shaw
a3eaf78fd3 Brought in FLECS to play with, tomorrow we learn it. 2024-10-05 18:15:14 -04:00