Added a couple of test enemies to the game for the next stream.
This commit is contained in:
parent
8d661b785b
commit
59bbae0af0
3 changed files with 23 additions and 2 deletions
|
@ -5,8 +5,28 @@
|
|||
"display":"\ua66b"
|
||||
},
|
||||
"ENEMY_TILE": {
|
||||
"foreground": [255, 200, 125],
|
||||
"foreground": [100, 200, 125],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\u1d5c"
|
||||
},
|
||||
"SNAKE": {
|
||||
"foreground": [90, 172, 74],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\u06b1"
|
||||
},
|
||||
"GOBLIN": {
|
||||
"foreground": [50, 200, 125],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\u06bf"
|
||||
},
|
||||
"UNICORN": {
|
||||
"foreground": [25, 200, 125],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\u17a5"
|
||||
},
|
||||
"RAT": {
|
||||
"foreground": [75, 200, 125],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\u08ac"
|
||||
}
|
||||
}
|
||||
|
|
2
save.cpp
2
save.cpp
|
@ -90,7 +90,7 @@ void save::load_configs(DinkyECS::World &world) {
|
|||
world.set_the<Config>(config);
|
||||
world.set_the<MapConfig>({
|
||||
enemies["PLAYER_TILE"]["display"],
|
||||
enemies["ENEMY_TILE"]["display"],
|
||||
enemies["UNICORN"]["display"],
|
||||
});
|
||||
|
||||
auto enemy = config["enemy"];
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
TODAY'S GOAL:
|
||||
|
||||
* Components::Tile must also die.
|
||||
* MapConfig must die.
|
||||
* Tile component needs to go, use the Tiles from the json.
|
||||
* Fire icon \u2034
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue