Commit graph

20 commits

Author SHA1 Message Date
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
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
9397af2a11 Rendering code stripped out of the GUI code. 2024-10-30 18:54:51 -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
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
9102bdc8ad Created a combat system to start with and also added a 'HEARING' mechanic where enemies can hear you from a certain distance before moving to you. 2024-10-27 18:44:54 -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
743f906bc7 Implemented a simple collision hash table. 2024-10-25 22:31:09 -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
e42647d727 I think I've got my head around what ECS does and am slowly reshaping the engine to use it better. 2024-10-16 20:31:00 -04:00
Zed A. Shaw
da04c5ec54 Not sure why I didn't think of this before, but you can just copy all the .wrap files to another directory, and then instead of meson wrap install you just copy them to subprojects. That's how you lock the versions of dependencies. 2024-10-16 20:01:01 -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
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
Zed A. Shaw
f9bf8f06ea Some jank test visual effects are working. 2024-10-04 18:23:14 -04:00
Zed A. Shaw
710076edfb Pulled most of the variables out so now I can carve out functions. 2024-10-02 18:14:54 -04:00
Zed A. Shaw
a7f6357e12 Refactor the entity out. 2024-10-02 17:29:49 -04:00
Zed A. Shaw
feda66defd Mostly working prototype that uses FTXUI to render to SFML and then plays a sound when you hit a wall. 2024-10-02 16:56:06 -04:00
Zed A. Shaw
4d748d1f48 Initial Dijkstra algorithm for the map, but doesn't quite work right. The walls in the wall_map are not accounted for in the algorithm. 2024-09-26 01:22:25 -04:00
Zed A. Shaw
ad143dca05 Initial commit that has most of what I need. 2024-09-24 18:28:01 -04:00