Now have a working compass based directional player sprite in the map, but using the compass isn't going to work long term. Need to move that into the raycaster.cpp and get real degrees for facing direction.

This commit is contained in:
Zed A. Shaw 2025-07-18 13:09:53 -04:00
parent 3b81959aa9
commit aa72cfe4a4
9 changed files with 70 additions and 61 deletions

View file

@ -2,7 +2,7 @@
"PLAYER_TILE": {
"placement": "fixed",
"components": [
{"_type": "Tile", "display": 41981,
{"_type": "Tile", "display": 10733,
"foreground": "enemies/fg:player",
"background": "color:transparent"
},

View file

@ -109,7 +109,7 @@
},
{
"centered": true,
"display": 41981,
"display": 10733,
"x": 512,
"y": 64
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Before After
Before After

View file

@ -1,7 +1,6 @@
{
"floor_tile": {
"texture": "assets/textures/floor_gray_stone.png",
"collision": false,
"display": 8284,
"ceiling": "ceiling_black",
"light": 0,
@ -11,7 +10,6 @@
},
"wall_plain": {
"texture": "assets/textures/wall_plain.png",
"collision": true,
"display": 9608,
"light": 0,
"foreground": "tiles/fg:wall_plain",
@ -20,7 +18,6 @@
},
"wall_moss": {
"texture": "assets/textures/glowing_moss_wall.png",
"collision": true,
"display": 9256,
"light": 20,
"foreground": "tiles/fg:wall_moss",
@ -29,7 +26,6 @@
},
"ceiling_black": {
"texture": "assets/textures/ceiling_black.png",
"collision": false,
"display": 35,
"light": 0,
"foreground": "tiles/fg:ceiling_black",
@ -38,7 +34,6 @@
},
"lava_floor": {
"texture": "assets/textures/lava_floor.png",
"collision": false,
"display": 10899,
"ceiling": "ceiling_black",
"light": 20,
@ -48,7 +43,6 @@
},
"gray_stone_floor_light": {
"texture": "assets/textures/gray_stone_floor_light.png",
"collision": false,
"display": 11590,
"ceiling": "zBUGceiling_blue_light",
"light": 40,
@ -58,20 +52,18 @@
},
"wood_wall": {
"texture": "assets/textures/wood_wall.png",
"collision": false,
"display": 10747,
"light": 0,
"foreground": "tiles/fg:wood_wall",
"background": "tiles/bg:wood_wall",
"id": 8
"id": 7
},
"zBUGceiling_blue_light": {
"texture": "assets/textures/ceiling_blue_light.png",
"collision": false,
"display": 8285,
"light": 0,
"foreground": "color:BAD",
"background": "color:BAD",
"id": 7
"id": 8
}
}