0

How to set icon(image) to pygame window in python

Example 'snake.png'

21st Apr 2020, 2:25 PM
Grof Nula
4 odpowiedzi
0
Google that ,or watch YouTube vids :)
21st Apr 2020, 3:53 PM
Abhay
Abhay - avatar
0
I have done that before but I can't remember , Also search for things ,put your effort and then ask if you are having problem or getting some error :-)
21st Apr 2020, 3:55 PM
Abhay
Abhay - avatar
0
I watched many videos and I tried different version of the code, but get it same error every time: pygame couldn't open "snake.png"
21st Apr 2020, 4:05 PM
Grof Nula
0
Then put that snake.png in the same directory in which your main game file is
21st Apr 2020, 4:06 PM
Abhay
Abhay - avatar