There's a bug where the last item in tiles.json draws a black square, which is why I named ceiling_blue to zceiling_blue to temporarily solve it.

This commit is contained in:
Zed A. Shaw 2025-07-11 01:02:27 -04:00
parent b2a6262964
commit 5e01eb29a9
7 changed files with 116 additions and 102 deletions

View file

@ -2,9 +2,9 @@
"PLAYER_TILE": {
"placement": "fixed",
"components": [
{"_type": "Tile", "display": 42603,
{"_type": "Tile", "display": 41981,
"foreground": [255, 200, 125],
"background": [30, 20, 75]
"background": [0,0,0]
},
{"_type": "Combat", "hp": 200, "max_hp": 200, "damage": 10, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
@ -13,9 +13,9 @@
},
"GOLD_SAVIOR": {
"components": [
{"_type": "Tile", "display": 2189,
{"_type": "Tile", "display": 42586,
"foreground": [131, 213, 238],
"background": [30, 20, 75]
"background": [0,0,0]
},
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 1, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
@ -30,7 +30,7 @@
"components": [
{"_type": "Tile", "display": 2189,
"foreground": [131, 213, 238],
"background": [30, 20, 75]
"background": [0,0,0]
},
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 1, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
@ -45,7 +45,7 @@
"components": [
{"_type": "Tile", "display": 1898,
"foreground": [156, 172, 197],
"background": [30, 20, 75]
"background": [0,0,0]
},
{"_type": "Combat", "hp": 40, "max_hp": 40, "damage": 10, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": true},
@ -60,7 +60,7 @@
"components": [
{"_type": "Tile", "display": 2220,
"foreground": [205, 164, 246],
"background": [30, 20, 75]
"background": [0,0,0]
},
{"_type": "Combat", "hp": 50, "max_hp": 50, "damage": 2, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
@ -75,7 +75,7 @@
"components": [
{"_type": "Tile", "display": 1218,
"foreground": [205, 164, 246],
"background": [30, 20, 75]
"background": [0,0,0]
},
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 20, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},

View file

@ -8,7 +8,7 @@
{"_type": "LightSource", "strength": 50, "radius": 2.5},
{"_type": "Tile", "display": 3848,
"foreground": [24, 120, 189],
"background": [230,120, 120]
"background": [0,0,0]
},
{"_type": "Sprite", "name": "torch_horizontal_floor", "width": 256, "height": 256, "scale": 1.0},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
@ -22,7 +22,7 @@
"components": [
{"_type": "Tile", "display": 1003,
"foreground": [255, 205, 189],
"background": [255, 205, 189]
"background": [0,0,0]
},
{"_type": "Curative", "hp": 20},
{"_type": "Sprite", "name": "healing_potion_small", "width": 256, "height": 256, "scale": 1.0},

View file

@ -7,122 +7,122 @@
},
{
"centered": false,
"display": 35,
"x": 32,
"y": 0
},
{
"centered": false,
"display": 10398,
"display": 8284,
"x": 64,
"y": 0
},
{
"centered": false,
"display": 35,
"x": 96,
"y": 0
},
{
"centered": false,
"display": 35,
"display": 11590,
"x": 128,
"y": 0
},
{
"centered": false,
"display": 8820,
"x": 160,
"y": 0
},
{
"centered": false,
"display": 9608,
"display": 10899,
"x": 192,
"y": 0
},
{
"centered": false,
"display": 35,
"x": 224,
"display": 9256,
"x": 256,
"y": 0
},
{
"centered": false,
"display": 9608,
"x": 320,
"y": 0
},
{
"centered": false,
"display": 10747,
"x": 384,
"y": 0
},
{
"centered": false,
"display": 8285,
"x": 448,
"y": 0
},
{
"centered": true,
"display": 1003,
"x": 256,
"x": 512,
"y": 0
},
{
"centered": true,
"display": 3848,
"x": 288,
"x": 576,
"y": 0
},
{
"centered": true,
"display": 85,
"x": 0,
"y": 32
"y": 64
},
{
"centered": true,
"display": 8687,
"x": 32,
"y": 32
"x": 64,
"y": 64
},
{
"centered": true,
"display": 10949,
"x": 64,
"y": 32
"x": 128,
"y": 64
},
{
"centered": true,
"display": 8793,
"x": 96,
"y": 32
"x": 192,
"y": 64
},
{
"centered": true,
"display": 95,
"x": 128,
"y": 32
"x": 256,
"y": 64
},
{
"centered": true,
"display": 1898,
"x": 160,
"y": 32
"x": 320,
"y": 64
},
{
"centered": true,
"display": 42586,
"x": 384,
"y": 64
},
{
"centered": true,
"display": 2189,
"x": 192,
"y": 32
"x": 448,
"y": 64
},
{
"centered": true,
"display": 2189,
"x": 224,
"y": 32
},
{
"centered": true,
"display": 42603,
"x": 256,
"y": 32
"display": 41981,
"x": 512,
"y": 64
},
{
"centered": true,
"display": 2220,
"x": 288,
"y": 32
"x": 576,
"y": 64
},
{
"centered": true,
"display": 1218,
"x": 0,
"y": 64
"y": 128
}
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Before After
Before After

View file

@ -2,7 +2,7 @@
"floor_tile": {
"texture": "assets/textures/floor_gray_stone.png",
"collision": false,
"display": 10398,
"display": 8284,
"ceiling": "ceiling_black",
"light": 0,
"foreground": [40, 40, 40],
@ -20,10 +20,10 @@
"wall_moss": {
"texture": "assets/textures/glowing_moss_wall.png",
"collision": true,
"display": 8820,
"display": 9256,
"light": 20,
"foreground": [100, 150, 100],
"background": [100, 100, 100],
"foreground": [100, 100, 180],
"background": [100, 150, 100],
"id": 2
},
"ceiling_black": {
@ -37,37 +37,38 @@
"lava_floor": {
"texture": "assets/textures/lava_floor.png",
"collision": false,
"display": 35,
"display": 10899,
"ceiling": "ceiling_black",
"light": 20,
"foreground": [200, 100, 100],
"background": [10, 10, 10],
"background": [100, 100, 50],
"id": 5
},
"gray_stone_floor_light": {
"texture": "assets/textures/gray_stone_floor_light.png",
"collision": false,
"display": 35,
"ceiling": "ceiling_blue_light",
"display": 11590,
"ceiling": "zceiling_blue_light",
"light": 40,
"foreground": [40, 40, 40],
"background": [80, 80, 80],
"foreground": [40, 60, 180],
"id": 6
},
"ceiling_blue_light": {
"texture": "assets/textures/ceiling_blue_light.png",
"collision": false,
"display": 35,
"light": 0,
"foreground": [100, 100, 100],
"id": 7
},
"wood_wall": {
"texture": "assets/textures/wood_wall.png",
"collision": false,
"display": 35,
"display": 10747,
"light": 0,
"foreground": [70, 70, 70],
"background": [100, 100, 100],
"id": 8
},
"zceiling_blue_light": {
"texture": "assets/textures/ceiling_blue_light.png",
"collision": false,
"display": 8285,
"light": 0,
"foreground": [100, 100, 100],
"id": 7
}
}