A Rogue style game in C++ which renders the ANSI terminal into an SFML graphics window.
Find a file
2024-11-08 13:24:31 -05:00
assets Got some new sounds and camera shake came back but has a bug. 2024-11-08 13:18:43 -05:00
scratchpad 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
scripts A bit more cleanup, but still looking for more organization. 2024-10-16 23:15:56 -04:00
tests Removed the ambient sound until I can redesign it. 2024-11-08 13:24:31 -05:00
wraps Cereal works pretty well so I may use it, but there's one more library I want to try first called tser. 2024-11-04 05:07:49 -05:00
.gitignore Ignore more irrelevant things. 2024-10-02 17:01:30 -04:00
.tarpit.json Ignore more irrelevant things. 2024-10-02 17:01:30 -04:00
.vimrc_proj 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
ansi_parser.cpp Have to tweak when to test that true color is set, and also when to do it for the test. 2024-11-03 01:21:00 -05:00
ansi_parser.hpp Refactored the ansi_parser into a class that can be reused between render calls. 2024-11-02 16:56:46 -04:00
ansi_parser.rl Have to force the terminal detected by FTXUI to use full color no matter what it detects in the actual terminal. 2024-11-03 00:16:52 -04:00
collider.cpp Learned yesterday that you can do a multi-return assing to auto[] by just returning a struct. 2024-11-01 00:40:04 -04:00
collider.hpp Learned yesterday that you can do a multi-return assing to auto[] by just returning a struct. 2024-11-01 00:40:04 -04:00
combat.cpp Almost working save sytem but the data I store is totally wrong. I need to also save the entity IDs being used and map them to the components. 2024-11-05 02:38:36 -05:00
combat.hpp Almost working save sytem but the data I store is totally wrong. I need to also save the entity IDs being used and map them to the components. 2024-11-05 02:38:36 -05:00
components.hpp More notes on the next things to do. 2024-11-07 02:06:22 -05:00
config.cpp Have to force the terminal detected by FTXUI to use full color no matter what it detects in the actual terminal. 2024-11-03 00:16:52 -04:00
config.hpp Have to force the terminal detected by FTXUI to use full color no matter what it detects in the actual terminal. 2024-11-03 00:16:52 -04:00
dbc.cpp Initial commit that has most of what I need. 2024-09-24 18:28:01 -04:00
dbc.hpp Initial commit that has most of what I need. 2024-09-24 18:28:01 -04:00
dinkyecs.hpp Event system now accepts any data and the GUI receives simpler events with data for them. 2024-11-07 09:16:21 -05:00
events.hpp Event system now accepts any data and the GUI receives simpler events with data for them. 2024-11-07 09:16:21 -05:00
flecs.wrap Brought in FLECS to play with, tomorrow we learn it. 2024-10-05 18:15:14 -04:00
fsm.hpp Conver to using \ for member variables in classes. In structs just use the name. 2024-10-03 17:05:23 -04:00
gui.cpp Removed the ambient sound until I can redesign it. 2024-11-08 13:24:31 -05:00
gui.hpp Got some new sounds and camera shake came back but has a bug. 2024-11-08 13:18:43 -05:00
LICENSE Initial commit 2024-09-25 00:10:33 +02:00
main.cpp More notes on the next things to do. 2024-11-07 02:06:22 -05:00
Makefile Renderer of ANSI codes to SFML is now working. Does seem to be a little slow but that'll be easy to fix later. 2024-11-02 03:53:33 -04:00
map.cpp Cereal works pretty well so I may use it, but there's one more library I want to try first called tser. 2024-11-04 05:07:49 -05:00
map.hpp A little bit nicer but ultimately the way the system talks to the GUI needs a redesign to be more 'coarse grain' 2024-11-07 01:00:17 -05:00
meson.build Got some new sounds and camera shake came back but has a bug. 2024-11-08 13:18:43 -05:00
point.hpp Almost working save sytem but the data I store is totally wrong. I need to also save the entity IDs being used and map them to the components. 2024-11-05 02:38:36 -05:00
rand.cpp Just wrote my own entity system to figure it out. 2024-10-10 17:34:33 -04:00
rand.hpp Just wrote my own entity system to figure it out. 2024-10-10 17:34:33 -04:00
README.md Fixes to make it build on OSX with old gear. I have an ancient OSX laptop that uses Clang 14 and it actuall works there. Amazing. 2024-10-13 14:01:18 -04:00
render.cpp Have to force the terminal detected by FTXUI to use full color no matter what it detects in the actual terminal. 2024-11-03 00:16:52 -04:00
render.hpp Couldn't debug the map size crash so just did this small change until I can. 2024-11-06 23:38:01 -05:00
save.cpp More notes on the next things to do. 2024-11-07 02:06:22 -05:00
save.hpp More notes on the next things to do. 2024-11-07 02:06:22 -05:00
sound.cpp Rendering code stripped out of the GUI code. 2024-10-30 18:54:51 -04:00
sound.hpp Rendering code stripped out of the GUI code. 2024-10-30 18:54:51 -04:00
status.txt Got some new sounds and camera shake came back but has a bug. 2024-11-08 13:18:43 -05:00
systems.cpp Event system now accepts any data and the GUI receives simpler events with data for them. 2024-11-07 09:16:21 -05:00
systems.hpp Event system now accepts any data and the GUI receives simpler events with data for them. 2024-11-07 09:16:21 -05:00
tser.hpp Almost working save sytem but the data I store is totally wrong. I need to also save the entity IDs being used and map them to the components. 2024-11-05 02:38:36 -05:00
tser.wrap Stripped tser.hpp down to the essentials so I can study it. No base64 encoding, less than comparison (wtf is that for), and I may even remove the 'json' output. 2024-11-04 09:10:27 -05:00

roguish

The next little game in the series where I make a fancy rogue game.

OSX Build Notes

  • Quite a bad experience. Need to install Python, cmake, meson, and ninja all which are in homebrew but if you don't use homebrew then this is a problem.
  • You need to run the .command script in Application/your python that updates the SSL certs.
  • You have to give iTerm access to your keystrokes...because wtf it already has them?
  • This points out a problem that I'm getting the keys using FTXUI but should either get them from SFML or connect FTXUI to SFML's keyboard input events instead.
  • Takes forever to load on older computers, and I've got no idea why SFML is like that. It seems the sound system is a pig that takes forever to load, so am I using it wrong?
  • No actually this first run delay seems to be related to the security feature that blocks keyboard access on iTerm, so probably fixing that would speed it up.