Tiles now record their textures and this is loaded from the map then converted to an indexed integer on the fly.
This commit is contained in:
parent
9e3e347e4a
commit
a67d25ee10
10 changed files with 64 additions and 66 deletions
|
@ -1,27 +1,27 @@
|
|||
{
|
||||
"FLOOR_TILE": {
|
||||
"id": 0,
|
||||
"texture": "assets/floor_tile_test-256.png",
|
||||
"foreground": [40, 15, 125],
|
||||
"background": [200, 15, 75],
|
||||
"collision": false,
|
||||
"display":"\u289e"
|
||||
},
|
||||
"WALL_PLAIN": {
|
||||
"id": 1,
|
||||
"texture": "assets/wall_simple-256.png",
|
||||
"foreground": [230, 20, 30],
|
||||
"background": [230, 20, 120],
|
||||
"collision": true,
|
||||
"display": "\ua5b8"
|
||||
},
|
||||
"WALL_VINES": {
|
||||
"id": 2,
|
||||
"texture": "assets/wall_with_vines-256.png",
|
||||
"foreground": [40, 15, 125],
|
||||
"background": [200, 29, 75],
|
||||
"collision": false,
|
||||
"display":"\u19f0"
|
||||
},
|
||||
"WALL_PILLAR": {
|
||||
"id": 3,
|
||||
"texture": "assets/wall_with_pillars-256.png",
|
||||
"foreground": [40, 15, 125],
|
||||
"background": [200, 29, 75],
|
||||
"collision": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue