Added a couple of test enemies to the game for the next stream.

main
Zed A. Shaw 1 week ago
parent 8d661b785b
commit 59bbae0af0
  1. 22
      assets/enemies.json
  2. 2
      save.cpp
  3. 1
      status.txt

@ -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"
}
}

@ -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…
Cancel
Save