Compare commits
1 Commits
master
...
fix-assets
Author | SHA1 | Date | |
---|---|---|---|
6df1310bdc |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@ -21,12 +21,9 @@ MAP_WIN_HEIGHT = MAP_SIZE * MAP_SCALE
|
||||
|
||||
# Textures cfg
|
||||
TEXTURES = [
|
||||
"../assets/texture_wall3.png",
|
||||
"../assets/texture_wall3.png",
|
||||
"../assets/texture_wall3.png",
|
||||
# "../assets/texture.png",
|
||||
# "../assets/texture.png",
|
||||
# "../assets/texture.png",
|
||||
"assets/texture_wall.png",
|
||||
"assets/texture_wall.png",
|
||||
"assets/texture_wall.png"
|
||||
]
|
||||
TEXTURE_SIZE = 64
|
||||
|
||||
|
BIN
v3/assets/texture_wall_brick.png
Normal file
After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@ -23,16 +23,16 @@ MAP_DOOR_CELL_TYPE = 3
|
||||
# Textures cfg
|
||||
# Index is shifted by 1 relative to map, because 0 is no wall
|
||||
TEXTURES = [
|
||||
"../assets/texture_wall_brick.png", # = map index 1
|
||||
"../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_right.png", # = map index 4
|
||||
"assets/texture_wall_brick.png", # = map index 1
|
||||
"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_right.png", # = map index 4
|
||||
]
|
||||
TEXTURE_SIZE = 64
|
||||
|
||||
# Raycast cfg
|
||||
RAYCAST_WIN_WIDTH = 600
|
||||
RAYCAST_WIN_HEIGHT = 600
|
||||
RAYCAST_WIN_WIDTH = 1024
|
||||
RAYCAST_WIN_HEIGHT = 1024
|
||||
RAYCAST_RENDER_WIDTH = int(RAYCAST_WIN_WIDTH / 4)
|
||||
RAYCAST_RENDER_HEIGHT = int(RAYCAST_WIN_HEIGHT / 4)
|
||||
DOF = 2*MAP_SIZE # Depth Of Field
|
||||
|