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.

This commit is contained in:
Zed A. Shaw 2024-11-28 02:41:01 -05:00
parent 0e8a2e520a
commit 54fa1a23ce
7 changed files with 168 additions and 112 deletions

View file

@ -1,9 +1,9 @@
TODAY'S GOAL:
* Neighbors needs a rewrite
* Neighbors algo isn't using greater parameter
* Refine the lighting to support multiple lights.
* Think up an enemy system.
* Revisit map generation.
* Create a index based light system and a unit test for it.
TODO:
* Write a method for renderer that can translate coordinates.
@ -16,7 +16,7 @@ TODO:
* Probably a system for mapping collision types to sound effects, rather than having the GUI do it.
* Write a test that generates a ton of maps then confirms there's a path from one room to every other room?
* Lua integration?
* Lua integration
* check out SoLoud.