Commit Graph

53 Commits (7c90eb6da1606bc8f87d805f1d5aecf76c1e5cdc)

Author SHA1 Message Date
Zed A. Shaw 7c90eb6da1 GUECS now doesn't have the facts feature from DinkyECS and instead you refer to the whole area with gui.MAIN. This is an entity that's at 0 and represents the whole grid. Background is placed there. 2 days ago
Zed A. Shaw abea6da2e0 More GUECS cleanup before releasing. Still need to sort out events and reduce the amount of stuff that GUECS needs. 2 days ago
Zed A. Shaw 1780a758b3 Initial GUECS refactor is done, it's now on its own with no other dependencies, but now I need to trim it down to do only what it needs. 2 days ago
Zed A. Shaw 9d55b2954a The rituals can now craft from items taken from dead enemies and they go into the blanket right away. 1 week ago
Zed A. Shaw 1a9e068d02 Junk items are now transfered to your blanket so you can use them in crafting. No UI for that though. 1 week ago
Zed A. Shaw bc557652ba The player now has some starting items to craft a first weapon, and it is craftable in the UI. 1 week ago
Zed A. Shaw ad1d08ca96 There's now an hp status indicator 'doll' when you click on it your host (character) will tell you how they're doing for HP. 1 week ago
Zed A. Shaw 2fb1687997 Now have sounds and shaders working on the button for each of the different elements. 2 weeks ago
Zed A. Shaw 57e8774fad Make the make more linux friendly. 2 weeks ago
Zed A. Shaw eb709930f5 Combat UI now uses different icons for different attack elements. 2 weeks ago
Zed A. Shaw ebb69dd589 Rituals are now taken from the belt and shown in th combat_ui and in the system::combat. They aren't used in combat calcs yet though. 2 weeks ago
Zed A. Shaw bf8a2dc0c5 Simple quick way to do different attacks that play different shaders. 2 weeks ago
Zed A. Shaw 1b4f55804c The flame shader now only turns on when facing an enemy. Next is tagging enemies with specific shaders to apply at a specific time. 3 weeks ago
Zed A. Shaw 57e042e786 Now have a do_if on GUECS for many of the 'if this exists do this' patterns. 3 weeks ago
Zed A. Shaw 2ecef8d9f9 Have a basic little click sound going, but hover events will need some work. I'm doing those on every mouse move. 3 weeks ago
Zed A. Shaw 7186c2ecb0 I think this is the best I can do for a hover vs. click shader effect. Just do it in a shader based on a uniform setting. 3 weeks ago
Zed A. Shaw 84a5f06dac Reworked the way shaders are configured to reduce the amount of times clicks on buttons cause the shared shaders to reset. 3 weeks ago
Zed A. Shaw 19b9a4affd The reload mechanism for shaders is a bit better, but still to make them unique. 3 weeks ago
Zed A. Shaw 08bc48df3d GLSL smoothstep is NOT lerp, it's 'Hermite linear interpolation' which basically means not a damn thing anyone says it is. mix is what I want. 3 weeks ago
Zed A. Shaw a5b8e411e3 I can now apply shaders to any GUI element, but I need a shader manager that will allow for hot reloading and tracking input/output variables. 3 weeks ago
Zed A. Shaw b5d93399d5 Converted the buttons to reflect the actions you can take. 4 weeks ago
Zed A. Shaw d7e9944e58 Change the buttons to text for development until I can get the icons/art. 4 weeks ago
Zed A. Shaw 07ce8a4148 New debug_ui that shows perf data, other debug info, and allows spawning enemies. 1 month ago
Zed A. Shaw 5af9a6664e Have a few basic monochrome test items and the first little leather pouches on the 'tool belt'. 1 month ago
Zed A. Shaw 5c815cf755 Played with UI layouts but keeping this for now. Fixed up config so it has keys() and now we load a boss per level. 2 months ago
Zed A. Shaw 64807174c0 Initial idea for the boss fight UI but it's just a temporary holder for now. 2 months ago
Zed A. Shaw 29e6d45dc6 Level traversal works, but it's very immediate. Next is a little 'confirm level' modal and a transition screen. 2 months ago
Zed A. Shaw 1886c99920 A few tweaks to make the HP bar work constnantly, probably not the most efficient but it's good enough for now. 2 months ago
Zed A. Shaw 389690e5c3 Optimize GUECS a bit so that it automatically sets up the cell names and lel::Cell contents in the world, making it easier to work with. 2 months ago
Zed A. Shaw f3e1413022 Intermediate refactor to move everything over to using the textures module rather than everyone using one TexturePack thing. 2 months ago
Zed A. Shaw 59d10a4506 Get rid of the sprite on buttons until I have a better idea about the overall design. 3 months ago
Zed A. Shaw bfe0d797c8 Status UI now has a log and some buttons. 3 months ago
Zed A. Shaw 3a6ba8445a Added a Background guecs component. 3 months ago
Zed A. Shaw 69a810b5a1 Combat UI can now send events to the GUIwhen they click on buttons, and I've got a crappy wood texture for the buttons to test that. 3 months ago
Zed A. Shaw 722d55d948 Refactored the GUECS system to have its own namespace then got Meter to work. 3 months ago
Zed A. Shaw 49a71e257e GUI for combat now works better and I can create sprites for things if I want. 3 months ago
Zed A. Shaw 46de98e6f4 I now have a semi-functional GUI system that uses the ECS style to build gui elements rather than inheritance. 3 months ago
Zed A. Shaw 8d9c2d8c05 Combat UI's elements are now pulled out into gui_gadgets so we have an initial prototype on basic UI elements needed. 3 months ago
Zed A. Shaw 7c1f05c801 Combat UI is alright but need to now make a few common widgets. 3 months ago
Zed A. Shaw 232c994347 HP bar is working, and next just need to make the combat gui actually work. 3 months ago
Zed A. Shaw 3ec2bf4784 Can now do UI rendering based on the name and also have gaps in the grid reliably. 3 months ago
Zed A. Shaw f884b83809 SFML's use of fonts is bizarre. It gives you a bounding box for the font, but then just ignores it and positions the text using the baseline, which is then outside of the bounding box. This is a quick fix but still looks wrong. 3 months ago
Zed A. Shaw 6b9c67beec Add some debug boxes around the fonts to figure out why they aren't vertically centered. 3 months ago
Zed A. Shaw a7991a8f06 Fixing more bugs related to percentages and then prototype a more complex UI. 3 months ago
Zed A. Shaw e106ad4be7 Can click on buttons and make them change color. 3 months ago
Zed A. Shaw 7f9e200abe LEL can now do hit detection on squares. 3 months ago
Zed A. Shaw aa149b6574 Can now use lel::center to center something inside a cell. 3 months ago
Zed A. Shaw c03a384372 You can now prefix a size with % and it will do percentage for the size, even over 100. 3 months ago
Zed A. Shaw 60ed686eb0 Already better than CSS because I can center stuff. 3 months ago
Zed A. Shaw cebf61a794 LEL is able to position right/left/top/bottom and expand out too. 3 months ago