Commit graph

34 commits

Author SHA1 Message Date
Zed A. Shaw
c8fa68815b A bit more cleanup of render but kind of stuck on what to do further. 2024-11-18 13:29:22 -05:00
Zed A. Shaw
7cb03594a3 Renderer now knows how to render panels as grid/text based on how the panel is configured. 2024-11-18 12:51:57 -05:00
Zed A. Shaw
f79e7638c0 Panel now holds data on how it should be rendered and render just uses that instead of calculating it. 2024-11-18 12:07:44 -05:00
Zed A. Shaw
1a3bbaedda Use the MID value for borders. 2024-11-18 11:34:49 -05:00
Zed A. Shaw
64855f3c90 The gui can now pop open a modal based on clicking a button but I need to manage focus next. 2024-11-17 13:23:18 -05:00
Zed A. Shaw
89a70f398a Rewrote the ansi parser to exactly callback on color setting, so now just need to clean this all up and fix a few little bugs. 2024-11-16 12:10:14 -05:00
Zed A. Shaw
e3cff8142c Barely working stripped down version of ScreenInteractive. Now to bring on the SFML events. 2024-11-13 12:48:42 -05:00
Zed A. Shaw
6e848004c4 Panel is working and now I can work on the gui interactions parts. 2024-11-11 13:03:31 -05:00
Zed A. Shaw
9bc9c9007f Now have a nice panel to hold all the UI panels we'll use later. 2024-11-11 12:23:40 -05:00
Zed A. Shaw
7b5c84b5f7 Cleaned up the gui display some more for future GUI elements. 2024-11-10 12:53:29 -05:00
Zed A. Shaw
824a384ffd Font sizes and map view now work with arbitrary map sizes. 2024-11-09 10:56:22 -05:00
Zed A. Shaw
113811bc84 Got some new sounds and camera shake came back but has a bug. 2024-11-08 13:18:43 -05:00
Zed A. Shaw
ed9d0de8e0 Event system now accepts any data and the GUI receives simpler events with data for them. 2024-11-07 09:16:21 -05:00
Zed A. Shaw
0e79288afc More notes on the next things to do. 2024-11-07 02:06:22 -05:00
Zed A. Shaw
67cacd5dcd Can actually save the game now. 2024-11-06 22:24:23 -05:00
Zed A. Shaw
e864e14eab Rendering with color is working now but still has problems with enabling/resetting the default colors. 2024-11-02 06:02:13 -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
04350cb51e GUI is now decoupled from the ECS using the new DinkyECS event queues. That makes it easier to update and change the GUI without having to constantly alter the systems. 2024-10-29 18:33:11 -04:00
Zed A. Shaw
3f87d19911 Simple event system for entities in the world. 2024-10-29 17:27:12 -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
4162287841 Implement a simple combat system and killing off enemies. See status for next steps. 2024-10-26 20:29:55 -04:00
Zed A. Shaw
c19cd707d1 Better unit test for the collision system. 2024-10-26 18:13:06 -04:00
Zed A. Shaw
743f906bc7 Implemented a simple collision hash table. 2024-10-25 22:31:09 -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
a3eaf78fd3 Brought in FLECS to play with, tomorrow we learn it. 2024-10-05 18:15:14 -04:00
Zed A. Shaw
b8a0d9bbd1 Now able to render the map at a different size from the rest of the UI and also only shake the map. 2024-10-05 17:24:07 -04:00
Zed A. Shaw
77945be4d7 Record some bugs. 2024-10-04 18:32:04 -04:00
Zed A. Shaw
243d15c123 Just don't prevent start points being in walls. 2024-10-04 17:09:28 -04:00
Zed A. Shaw
6f952bfd28 Fixed the screen sizing issue. It was just using the terminal size and not the window graphic size. 2024-10-04 16:57:11 -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
6cb3366912 I can make a map with one room 'randomly' generated and calculate paths. 2024-09-27 00:10:41 -04:00
Zed A. Shaw
d7b1cf0bf9 Got a really terrible map in the middle of a two panel UI. Next step is to get the dijkstra algorithm working and make a real map with it. 2024-09-25 19:55:30 -04:00