Added window icon
This commit is contained in:
parent
d59468d1bc
commit
04927589c2
2
game.py
2
game.py
@ -23,6 +23,8 @@ WINDOW_WIDTH = PLAY_WIDTH
|
|||||||
WINDOW_HEIGHT = PLAY_HEIGHT
|
WINDOW_HEIGHT = PLAY_HEIGHT
|
||||||
GAMEWINDOW = display.set_mode((WINDOW_WIDTH, WINDOW_HEIGHT), 0, 32)
|
GAMEWINDOW = display.set_mode((WINDOW_WIDTH, WINDOW_HEIGHT), 0, 32)
|
||||||
display.set_caption('Smieciarz WMI')
|
display.set_caption('Smieciarz WMI')
|
||||||
|
icon = image.load('images/icon.png')
|
||||||
|
display.set_icon(icon)
|
||||||
######################################
|
######################################
|
||||||
|
|
||||||
##
|
##
|
||||||
|
BIN
images/icon.png
Normal file
BIN
images/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
Loading…
Reference in New Issue
Block a user