rename imgs, add IMAGES_MAPPING
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
16
src/const.py
@ -11,17 +11,21 @@ IMAGES = []
|
|||||||
for img in [
|
for img in [
|
||||||
'grass_01',
|
'grass_01',
|
||||||
'grass_02',
|
'grass_02',
|
||||||
'grass_mine_01',
|
|
||||||
'grass_mine_02',
|
|
||||||
'grass_mine_02a',
|
|
||||||
'grass_mine_02a',
|
|
||||||
'grass_mine_02b',
|
|
||||||
'grass_mine_03a',
|
|
||||||
'grass_rock_01',
|
'grass_rock_01',
|
||||||
'grass_rock_02',
|
'grass_rock_02',
|
||||||
|
'grass_01_mine_01',
|
||||||
|
'grass_01_mine_02',
|
||||||
|
'grass_01_mine_03',
|
||||||
|
'grass_01_mine_04',
|
||||||
|
'grass_02_mine_01',
|
||||||
|
'grass_02_mine_02',
|
||||||
|
'grass_02_mine_03',
|
||||||
]:
|
]:
|
||||||
IMAGES.append(image.load(main_path + '/images/Tiles/' + img + ".png"))
|
IMAGES.append(image.load(main_path + '/images/Tiles/' + img + ".png"))
|
||||||
|
|
||||||
|
IMAGES_MAPPING = [0 for _ in range(11)]
|
||||||
|
IMAGES_MAPPING[-3:] = [1 for _ in range(3)]
|
||||||
|
|
||||||
ICON = main_path + '/images/mine_icon.png'
|
ICON = main_path + '/images/mine_icon.png'
|
||||||
SAPPER_IDLE = image.load(main_path + '/images/sapper_idle/cpt_bomba.png')
|
SAPPER_IDLE = image.load(main_path + '/images/sapper_idle/cpt_bomba.png')
|
||||||
|
|
||||||
|