Zed A. Shaw
|
ec6baf40a6
|
Now that bounds are using vectors we can just pass them directly.
|
1 year ago |
Zed A. Shaw
|
82216b8307
|
World copying with facts and constants is working so now new levels are possible, but need to work on previous level motion.
|
1 year ago |
Zed A. Shaw
|
18a5f6bfa9
|
Setup for the LevelManager to take charge of all level operations.
|
1 year ago |
Zed A. Shaw
|
fc61ef42ac
|
Figured out the easiest way to set a panel to be centered, but a lot of these config things need to be unified and cleaned up.
|
1 year ago |
Zed A. Shaw
|
269af02993
|
There's now a GUI that shows up when you interact with stairs down.
|
1 year ago |
Zed A. Shaw
|
d2162910f6
|
Implemented configurable randomization in the world builder, and then got the beginning of devices to work for the next part of going down a level through stairs.
|
1 year ago |
Zed A. Shaw
|
b16405cfdc
|
Better random entity placement and config of entities is now more generic.
|
1 year ago |
Zed A. Shaw
|
e9277bf052
|
Mostly cleaned up world get to handle more rooms and paths, but rando_rect needs to be actually random.
|
1 year ago |
Zed A. Shaw
|
128fc4f540
|
Turned on all the warnings I could handle and made them into errors then fixed them all. Worldbuilder needs a refactor in random_path.
|
1 year ago |
Zed A. Shaw
|
222b39c403
|
Fixed up building enemies and items using componentsin the JSON.
|
1 year ago |
Zed A. Shaw
|
9ce4fbd552
|
Reworked the way that entities are loaded so they're more dynamic and can be configured without modifying C++code.
|
1 year ago |
Zed A. Shaw
|
f2864a62ee
|
Game now loads random enemies and items into rooms but in rudimentary way. Need to now randomize more of it and make it more robust so only changing the .json is needed to get new effects and enemies.
|
1 year ago |
Zed A. Shaw
|
8e4add25a9
|
A little more cleanup and then removing any completed bug notes.
|
1 year ago |
Zed A. Shaw
|
f35b74f335
|
Results of today's code review session.
|
1 year ago |
Zed A. Shaw
|
135d9a128b
|
Basic inventory system working and can pick up items but needs to be reflected in the UI next.
|
1 year ago |
Zed A. Shaw
|
3d461bce6d
|
Very simple items system to get into the inventory work.
|
1 year ago |
Zed A. Shaw
|
d8400d0a76
|
Tinkering with a way to do modal UIs for things like inventory etc.
|
1 year ago |
Zed A. Shaw
|
59bbae0af0
|
Added a couple of test enemies to the game for the next stream.
|
1 year ago |
Zed A. Shaw
|
03c5546cdf
|
World builder now loads the tile map json and usese the keys to figure out how to randomize the floor configurations.
|
1 year ago |
Zed A. Shaw
|
8a94108874
|
Entities now look like they stand on the tiles.
|
1 year ago |
Zed A. Shaw
|
5a6494acf5
|
Fixing a stupid bug where it would crash because a fact wasn't in the world.
|
1 year ago |
Zed A. Shaw
|
93f53d1714
|
Tests are failing but catch2 is too stupid to actually tell me where so here you go. Now if you hit L it'll turn the lights up to max and if you hit P it will show the pathing.
|
1 year ago |
Zed A. Shaw
|
d916d1c383
|
A very jank circle algorithm that overdraws many of the lines but mostly works.
|
1 year ago |
Zed A. Shaw
|
1295e9631d
|
A slightly working flood iterator and a working compass iterator.
|
1 year ago |
Zed A. Shaw
|
70cd963e5c
|
Iterators are now working far more reliably and have more extensive tests that randomize inputs and fuzz them to check they keep working.
|
1 year ago |
Zed A. Shaw
|
da0b941dfd
|
A first exploration of doing a matrix iterator.
|
1 year ago |
Zed A. Shaw
|
ee1e2e5bc5
|
Started working on a random flood function for paths to do things like fill rooms with stuff.
|
1 year ago |
Zed A. Shaw
|
ffc787df64
|
Designer is working great now, and this fixes a bunch of things about the mouse.
|
1 year ago |
Zed A. Shaw
|
f05f652c26
|
Fixed the overflows and make the render handle SFML's weird window coordinates not matching world coordinates.
|
1 year ago |
Zed A. Shaw
|
a9e25668fb
|
Rought font extractor that probably has a memory error causing it to behave mysteriously, and the designer now uses a json file of the characters that will work.
|
1 year ago |
Zed A. Shaw
|
9ab064126f
|
Before freetype2 use to iterate through the font's glyphs diretly.
|
1 year ago |
Zed A. Shaw
|
0edd948101
|
A barely working tool to find font characters and pick their color.
|
1 year ago |
Zed A. Shaw
|
6b3ce5eb3d
|
Fixed a bunch of random little bugs everywhere.
|
1 year ago |
Zed A. Shaw
|
2f8c9bd1a9
|
Change the color namespace to ColorValue. Need to come up with the organizational theme for the code.
|
1 year ago |
Zed A. Shaw
|
eb0ca38e30
|
Removed the variable limit setting since it's never used and instead just have WALL_PATH_LIMIT.
|
1 year ago |
Zed A. Shaw
|
9abb39a3bf
|
Did a full code review to identify things to fix and either fixed them or noted BUG where I should come back.
|
1 year ago |
Zed A. Shaw
|
ae43dad499
|
Minor fixes to make initializing the terminal more consistent and to remove a magic number for wall limits.
|
1 year ago |
Zed A. Shaw
|
0b4392dbcc
|
Vast improvement in the world generation, with more reliable pathing, cleaner generation code, and an ability to do a random or direct walk to create paths. This also works with enemies if I want.
|
1 year ago |
Zed A. Shaw
|
aadf15e439
|
Created an initial README.
|
1 year 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.
|
1 year ago |
Zed A. Shaw
|
e86d474c7c
|
Now have more test for the base functionality but need to push render tests and find a way to test the GUI. I've also brought in sol2 for lua integration but not sure what to do with it.
|
1 year ago |
Zed A. Shaw
|
d0d62836e3
|
Now have good coverage on map but need to actually confirm results in the test.
|
1 year ago |
Zed A. Shaw
|
97255eb813
|
First coverage reports. Tests don't get near enough coverage but running the program does.
|
1 year ago |
Zed A. Shaw
|
988edf13d7
|
Map is now working well and all light is good but it's causing saturation fatigue because of the low levels and low saturation. I'll have to work on contrast and probably jut up the wall contrast.
|
1 year ago |
Zed A. Shaw
|
54fa1a23ce
|
Refactor the light calculations to be part of map instead of spread out all over. Still need to bring back lighting on walls and also pathing for enemies is currently busted.
|
1 year ago |
Zed A. Shaw
|
0e8a2e520a
|
Light works with multiple sources and strengths, walls are faked out but I think I may keep that to make it easier to play.
|
1 year ago |
Zed A. Shaw
|
6174df5ec7
|
Lighting now works, now to get multiple lights.
|
1 year 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.
|
1 year ago |
Zed A. Shaw
|
fb1fd9d8bc
|
A bit of some clean up, API unifying, and some performance tweaks.
|
1 year 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.
|
1 year ago |