Fix up the colors and rendering so that tilemap just uses components::Tile all the time. Need to load all of the config data from json one time on system start instead of constantly, although constantly does make debugging live easier.

This commit is contained in:
Zed A. Shaw 2025-02-09 15:54:17 -05:00
parent a4c13f7fc9
commit 0cbe20af35
10 changed files with 36 additions and 44 deletions

View file

@ -1,7 +1,7 @@
{
"PLAYER_TILE": {
"components": [
{"_type": "Tile", "chr": "\ua66b",
{"_type": "Tile", "display": "\ua66b",
"foreground": [255, 200, 125],
"background": [30, 20, 75]
},
@ -13,7 +13,7 @@
},
"EVIL_EYE": {
"components": [
{"_type": "Tile", "chr": "\u08ac",
{"_type": "Tile", "display": "\u08ac",
"foreground": [75, 200, 125],
"background": [30, 20, 75]
},