The raycaster can now pair a floor with a ceiling tile and to demonstrate this I have a blue light that shines on to a stone floor. I also played with just pixelating a regular image rather than painting it and honestly it looks better in a lot of ways.
This commit is contained in:
parent
e015652f4c
commit
931d9493d2
11 changed files with 50 additions and 39 deletions
|
@ -17,12 +17,6 @@ TEST_CASE("test texture management", "[textures]") {
|
|||
auto img_ptr = textures::get_surface(0);
|
||||
REQUIRE(img_ptr != nullptr);
|
||||
|
||||
auto floor_ptr = textures::get_floor();
|
||||
REQUIRE(floor_ptr != nullptr);
|
||||
|
||||
auto ceiling_ptr = textures::get_ceiling();
|
||||
REQUIRE(ceiling_ptr != nullptr);
|
||||
|
||||
LevelManager levels;
|
||||
GameLevel level = levels.current();
|
||||
auto& tiles = level.map->tiles();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue