Add new rune assets from Max Deas
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
output/*.png
|
||||
.DS_Store
|
||||
assets/*.old
|
||||
BIN
assets/blue.png
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 211 KiB |
BIN
assets/green.png
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 221 KiB |
BIN
assets/red.png
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 144 KiB |
BIN
assets/white.png
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 249 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 195 KiB |
2
main.py
|
|
@ -43,7 +43,7 @@ def draw_symbol(img, symbol, color, x, y):
|
|||
|
||||
def draw_rune(img, color):
|
||||
with Image(filename='assets/{}.png'.format(color)) as rune:
|
||||
rune.resize(110,122)
|
||||
rune.resize(220,244)
|
||||
img.composite(
|
||||
rune,
|
||||
left=int((img.width - rune.width) / 2),
|
||||
|
|
|
|||