Compare commits

...

1 Commits

Author SHA1 Message Date
6df1310bdc Fix assets 2023-01-14 10:02:47 +01:00
7 changed files with 9 additions and 12 deletions

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -21,12 +21,9 @@ MAP_WIN_HEIGHT = MAP_SIZE * MAP_SCALE
# Textures cfg # Textures cfg
TEXTURES = [ TEXTURES = [
"../assets/texture_wall3.png", "assets/texture_wall.png",
"../assets/texture_wall3.png", "assets/texture_wall.png",
"../assets/texture_wall3.png", "assets/texture_wall.png"
# "../assets/texture.png",
# "../assets/texture.png",
# "../assets/texture.png",
] ]
TEXTURE_SIZE = 64 TEXTURE_SIZE = 64

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -23,16 +23,16 @@ MAP_DOOR_CELL_TYPE = 3
# Textures cfg # Textures cfg
# Index is shifted by 1 relative to map, because 0 is no wall # Index is shifted by 1 relative to map, because 0 is no wall
TEXTURES = [ TEXTURES = [
"../assets/texture_wall_brick.png", # = map index 1 "assets/texture_wall_brick.png", # = map index 1
"../assets/texture_wall_brick_door_left.png", # = map index 2 "assets/texture_wall_brick_door_left.png", # = map index 2
"../assets/texture_wall_brick_door_center.png", # = map index 3 "assets/texture_wall_brick_door_center.png", # = map index 3
"../assets/texture_wall_brick_door_right.png", # = map index 4 "assets/texture_wall_brick_door_right.png", # = map index 4
] ]
TEXTURE_SIZE = 64 TEXTURE_SIZE = 64
# Raycast cfg # Raycast cfg
RAYCAST_WIN_WIDTH = 600 RAYCAST_WIN_WIDTH = 1024
RAYCAST_WIN_HEIGHT = 600 RAYCAST_WIN_HEIGHT = 1024
RAYCAST_RENDER_WIDTH = int(RAYCAST_WIN_WIDTH / 4) RAYCAST_RENDER_WIDTH = int(RAYCAST_WIN_WIDTH / 4)
RAYCAST_RENDER_HEIGHT = int(RAYCAST_WIN_HEIGHT / 4) RAYCAST_RENDER_HEIGHT = int(RAYCAST_WIN_HEIGHT / 4)
DOF = 2*MAP_SIZE # Depth Of Field DOF = 2*MAP_SIZE # Depth Of Field