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.
This commit is contained in:
parent
1fab1d2d6d
commit
988edf13d7
5 changed files with 16 additions and 19 deletions
6
main.cpp
6
main.cpp
|
@ -35,7 +35,7 @@ void configure_world(DinkyECS::World &world, Map &game_map) {
|
|||
world.set<Combat>(player.entity, {100, 10});
|
||||
world.set<Tile>(player.entity, {config.PLAYER_TILE});
|
||||
world.set<Inventory>(player.entity, {5});
|
||||
world.set<LightSource>(player.entity, {5,2});
|
||||
world.set<LightSource>(player.entity, {6,1});
|
||||
|
||||
auto enemy = world.entity();
|
||||
world.set<Position>(enemy, {game_map.place_entity(1)});
|
||||
|
@ -48,7 +48,7 @@ void configure_world(DinkyECS::World &world, Map &game_map) {
|
|||
world.set<Motion>(enemy2, {0,0});
|
||||
world.set<Combat>(enemy2, {20, 10});
|
||||
world.set<Tile>(enemy2, {"*"});
|
||||
world.set<LightSource>(enemy2, {6,1});
|
||||
world.set<LightSource>(enemy2, {7,1});
|
||||
|
||||
auto gold = world.entity();
|
||||
world.set<Position>(gold, {game_map.place_entity(3)});
|
||||
|
@ -59,7 +59,7 @@ void configure_world(DinkyECS::World &world, Map &game_map) {
|
|||
auto wall_torch = world.entity();
|
||||
world.set<Position>(wall_torch, {game_map.place_entity(4)});
|
||||
world.set<LightSource>(wall_torch, {2,3});
|
||||
world.set<Tile>(wall_torch, {"!"});
|
||||
world.set<Tile>(wall_torch, {"☀"});
|
||||
}
|
||||
|
||||
const int GAME_MAP_X = 40;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue