31 Commits (2d5490131d0bfd3db883496b6c1a60f980b17125)

Author SHA1 Message Date
Zed A. Shaw c7607533ce A bit of a quick test for the GUI system, but not sure how to make this do more. 1 week ago
Zed A. Shaw bdfd61c8e7 GUI had old code when I was toying with doing lighting with a png. 1 week ago
Zed A. Shaw 3f7a9cc124 Lighting is now in its own class using the new Pathing class. This should allow me to make it more consistent and possibly make Pathing more efficient. 2 weeks ago
Zed A. Shaw 1bb04b4562 Tried to set the background color in the ftxui canvas and weirdly it started doing almost what I want with lighting, but I didn't write any code to do that. There's some bug in how I'm doing it that's causing it to set the colors...correctly. Must find out why. 3 weeks ago
Zed A. Shaw 15a302d133 Renderer is now more standalone and doesn't try to protect against small maps, that's the GUI's job. 3 weeks ago
Zed A. Shaw 958c8545a7 It's actually better to just use FTXUI's Modal system than to invent my own. 4 weeks ago
Zed A. Shaw 64855f3c90 The gui can now pop open a modal based on clicking a button but I need to manage focus next. 4 weeks ago
Zed A. Shaw 96ee16e598 Figured out that I don't need a special screen, just send events to the component directly with OnEvent. However, you have to component->Add() or call Render(component, []) with it or else it's not considered a child. 4 weeks ago
Zed A. Shaw 9bc9c9007f Now have a nice panel to hold all the UI panels we'll use later. 1 month ago
Zed A. Shaw 7b5c84b5f7 Cleaned up the gui display some more for future GUI elements. 1 month ago
Zed A. Shaw 113811bc84 Got some new sounds and camera shake came back but has a bug. 1 month ago
Zed A. Shaw d113dba42f 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. 1 month ago
Zed A. Shaw 9397af2a11 Rendering code stripped out of the GUI code. 1 month ago
Zed A. Shaw 009b1e63a7 More refactoring to get the GUI dumber. 1 month ago
Zed A. Shaw 2fdbd63f4c Cleaning up and sorting out how to use the new events best. 1 month ago
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. 1 month ago
Zed A. Shaw e57a13846f A bit more caching and optimization then determine how to center glyphs in the center of the background if it fits. 2 months ago
Zed A. Shaw 9083582420 Make it possible to zoom in/out, but I may make this a combat thing where it's zoomed out until you encounter an enemy. 2 months ago
Zed A. Shaw 02a45d890f Make it so the canvas for the map view is calculated based on the font size, which will allow for zooming. 2 months ago
Zed A. Shaw 9f1e9717a0 Super jank prototype of my idea but I am rendering multiple characters per cell to give the effect of a more complex character. Now to make this a data setup so it's easy to make characters. Also, probably have little add ons to show things like weapons equiped, etc. 2 months ago
Zed A. Shaw 31c86fa2b3 Cleanup before trying to make the tile rendering faster by pre-loading the sprites needed, or caching as they're requested. 2 months ago
Zed A. Shaw fe5f7673ea Remove some unused variables. 2 months ago
Zed A. Shaw da64e526c4 Systems now control most of the game's operations and a lot of the rendering logic, this now brings in a camera so maps can be larger than the viewport. 2 months ago
Zed A. Shaw 1bb8999610 A bit more cleanup, but still looking for more organization. 2 months ago
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. 2 months ago
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. 2 months ago
Zed A. Shaw f9bf8f06ea Some jank test visual effects are working. 2 months ago
Zed A. Shaw 6f952bfd28 Fixed the screen sizing issue. It was just using the terminal size and not the window graphic size. 2 months ago
Zed A. Shaw 5cf66aad02 Conver to using \ for member variables in classes. In structs just use the name. 2 months ago
Zed A. Shaw 187edb898e Mostly all cleaned up now. 2 months ago