Create card backimage

master
En Yi 2019-06-05 20:51:21 +01:00
parent af49fb6294
commit 4b0425c480
2 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ def prepare_playing_cards(display_w, display_h):
width = 71 width = 71
height = 96 height = 96
suits_position = [2, 3, 1, 0] suits_position = [2, 3, 1, 0]
card_backimg = card_sprites.image_at((offset + (width+spacing)*3, 5*(height+spacing) + offset, width, height)) card_backimg = card_sprites.image_at((offset + (width+spacing)*9, 5*(height+spacing) + offset, width, height))
for i in range(4): for i in range(4):
y = suits_position[i] * (height+spacing) + offset y = suits_position[i] * (height+spacing) + offset
for j in range(13): for j in range(13):

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 87 KiB