World builder now loads the tile map json and usese the keys to figure out how to randomize the floor configurations.
This commit is contained in:
parent
6b4bc6cc11
commit
03c5546cdf
12 changed files with 45 additions and 39 deletions
|
@ -1,12 +1,4 @@
|
|||
{
|
||||
"map": {
|
||||
"WALL_TILE": "\ua5b8",
|
||||
"FLOOR_TILE": "\u2849",
|
||||
"PLAYER_TILE": "\ua66b",
|
||||
"ENEMY_TILE": "\u1d5c",
|
||||
"BG_TILE": "█",
|
||||
"WATER_TILE": "\u224b"
|
||||
},
|
||||
"enemy": {
|
||||
"HEARING_DISTANCE": 8
|
||||
},
|
||||
|
|
12
assets/enemies.json
Normal file
12
assets/enemies.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"PLAYER_TILE": {
|
||||
"foreground": [255, 200, 125],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\ua66b"
|
||||
},
|
||||
"ENEMY_TILE": {
|
||||
"foreground": [255, 200, 125],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\u1d5c"
|
||||
}
|
||||
}
|
|
@ -24,25 +24,15 @@
|
|||
"background": [200, 29, 75],
|
||||
"display":"\u1378"
|
||||
},
|
||||
"PLAYER_TILE": {
|
||||
"foreground": [255, 200, 125],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\ua66b"
|
||||
},
|
||||
"ENEMY_TILE": {
|
||||
"foreground": [255, 200, 125],
|
||||
"background": [30, 20, 75],
|
||||
"display":"\u1d5c"
|
||||
},
|
||||
"BG_TILE": {
|
||||
"foreground": [230, 20, 125],
|
||||
"background": [230, 20, 125],
|
||||
"display":"█"
|
||||
},
|
||||
"WATER_TILE": {
|
||||
"foreground": [132, 200, 180],
|
||||
"background": [147, 220, 100],
|
||||
"display":"\u098c"
|
||||
"foreground": [156, 164, 238],
|
||||
"background": [200, 15, 75],
|
||||
"display":"\u2a93"
|
||||
},
|
||||
"SAND_TILE": {
|
||||
"foreground": [24, 106, 180],
|
||||
|
@ -53,5 +43,10 @@
|
|||
"foreground": [41, 180, 180],
|
||||
"background": [75, 100, 100],
|
||||
"display":"\u0799"
|
||||
},
|
||||
"BROKEN_TILE": {
|
||||
"foreground": [159, 164, 15],
|
||||
"background": [199, 15, 79],
|
||||
"display":"\u2274"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue