Commit Graph

245 Commits (b7948f81544f57321abc5bfe3b5f8dfeb8aedf17)
 

Author SHA1 Message Date
Zed A. Shaw a7991a8f06 Fixing more bugs related to percentages and then prototype a more complex UI. 3 weeks ago
Zed A. Shaw e106ad4be7 Can click on buttons and make them change color. 3 weeks ago
Zed A. Shaw 7f9e200abe LEL can now do hit detection on squares. 3 weeks ago
Zed A. Shaw aa149b6574 Can now use lel::center to center something inside a cell. 3 weeks ago
Zed A. Shaw c03a384372 You can now prefix a size with % and it will do percentage for the size, even over 100. 3 weeks ago
Zed A. Shaw d558da1620 Just move all the one-liner functions straight into the parser. 3 weeks ago
Zed A. Shaw 60ed686eb0 Already better than CSS because I can center stuff. 3 weeks ago
Zed A. Shaw 1620a5420f Use a lel:: namespace. 3 weeks ago
Zed A. Shaw cebf61a794 LEL is able to position right/left/top/bottom and expand out too. 3 weeks ago
Zed A. Shaw 872cedc8e1 LEL is working at a basic grid level, able to render boxes where I want. 3 weeks ago
Zed A. Shaw 846b7aaf16 Initial cut of the lel parser mostly working but none of the basic alignment properties work. 3 weeks ago
Zed A. Shaw e7e0df6b70 New rat enemy. 3 weeks ago
Zed A. Shaw 02a385e707 Make the DinkyECS test fully isolated. 3 weeks ago
Zed A. Shaw f8dd5d816f Basic combat system prototype works, but needs more GUI love to really work in the game. 3 weeks ago
Zed A. Shaw bfd2718cc9 Found my old LEL code and got the shell working, so tomorrow I'll try to make it layout some gui element. 3 weeks ago
Zed A. Shaw 8a6b38c1a4 Start of V1 combat system where you get locked into combat when in range and have to work the turn system to get out. 3 weeks ago
Zed A. Shaw d2700d2928 You now have blood on your screen when below half health. 3 weeks ago
Zed A. Shaw 1c8f542c21 Nuke taught me the other way to make class enums not suck so I guess no FU? 3 weeks ago
Zed A. Shaw 9b3b81683a Separate out the major UIs to get ready for their development, and enable debug button. 3 weeks ago
Zed A. Shaw 7eec67ffc8 Got some buttons down now to make them do stuff. 4 weeks ago
Zed A. Shaw be4d0d51de Two main GUI elements are placed for the left side status and the bottom combat UIs. 4 weeks ago
Zed A. Shaw 1790eec697 Went with just making the left gui frame monochrome to sort out its value structure compared to the scene. 4 weeks ago
Zed A. Shaw 9fe7cac79b Have a sort of left gui going but not sure if I like it as a real texture yet. Will need to play with it more. 4 weeks ago
Zed A. Shaw d38e2cb0f2 All of the assets I need right now are done. 4 weeks ago
Zed A. Shaw 4027b70867 More assets. 4 weeks ago
Zed A. Shaw 583ad6d9c5 Create a bunch of textures for sprites in the game. 4 weeks ago
Zed A. Shaw ebaf4fc0ee Fix map, it was moved over but scaled for the whole screen. 4 weeks ago
Zed A. Shaw 21e087ded5 Basic UI positioning and layout prior to designing the UI and setting a place for the combat system. 4 weeks ago
Zed A. Shaw 90351ce0fe The lighting now uses the original grid based lighting calculations rather than a global single source from the player. 4 weeks ago
Zed A. Shaw 6da830595c Clean up the GUI some by moving the map_view out into its own file. 4 weeks ago
Zed A. Shaw 421cca308b Fixed player showing up as an enemy and did better map centering. 4 weeks ago
Zed A. Shaw e2bd61a1e4 Let the jank FLOW through my veins like pure cocaine! We have animations now and can attack enemies. It's all garbage to replace next session but the idea is there. 4 weeks ago
Zed A. Shaw abd843d5ec Very basic attack system. 4 weeks ago
Zed A. Shaw 6bca6d021e Sprite is now a component we can place on anything to render it. 4 weeks ago
Zed A. Shaw 9c37960283 Raycaster mostly cleaned up. Only thing I can think of is bringing in CameraLOL as the coordinates directly. 4 weeks ago
Zed A. Shaw 2de4b43914 Remove this formula comment. #NOTE 4 weeks ago
Zed A. Shaw 51972b0c35 Converted all the variable names from Lode's tutorial style to the one I use in prep for some review and cleanup. 4 weeks ago
Zed A. Shaw 0cbe20af35 Fix up the colors and rendering so that tilemap just uses components::Tile all the time. Need to load all of the config data from json one time on system start instead of constantly, although constantly does make debugging live easier. 4 weeks ago
Zed A. Shaw a4c13f7fc9 Maps are back and have color now. TileCell needs a rework. 4 weeks ago
Zed A. Shaw 27bb08d62c Tell json to be more strict about missing fields to avoid that bug in the future, then fix all of the data. 4 weeks ago
Zed A. Shaw b6831b75a3 This fixes the stupid 'bug' where nothing would render because I actually had the data type wrong in the json after moving to the new format. 4 weeks ago
Zed A. Shaw a69be90464 Game now builds and is using the new dynamic component loading but enemies do not spawn in and device events are really working. Also inventory is a giant bag of fail and needs a rewrite. 4 weeks ago
Zed A. Shaw 9e91c71125 BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 4 weeks ago
Zed A. Shaw 96efc990c1 Brought in nuke's idea for json serialize now to use it. 4 weeks ago
Zed A. Shaw d798d154ae We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 4 weeks ago
Zed A. Shaw 55b67dcf5d Fix a bug where enemies will path into the player's space because collision isn't done at the right time. I think this may need another fix in the future when we get to the combat. 1 month ago
Zed A. Shaw 3986e6978e Sprites now have a distance lighting calculation that's the same as the raycaster using a shader. 1 month ago
Zed A. Shaw a19bc47904 FINALLY fix that stupid bug. The cause was two-fold: I was giving every 'enemy' a sprite, but that automatically included the player in the list of enemies, which meant that I was rendering the player's sprite while moving. Then in the sprite casting loop I was rendering things at 0. 1 month ago
Zed A. Shaw 25ad9b51f8 Really crappy minimap now displays. 1 month ago
Zed A. Shaw e85b5d998b System now controls the motion better since it's not GUIs job. 1 month ago