@LaurieHeyworth Hi Laurie: I found two images from a google search, downloaded them and placed them in the folder with the python file. So, whatever image you want to use, call up that file name. Say you downloaded a file named sky.png for your background image. Then you would type background=pygame.image.load('sky.png'). good luck!
Thanks so much for this. I've looked through dozens of tutorials but they all seem to skip one thing or another, step by step explanation as the code is being entered helped me out immensely.
It's just inspiring to see someone willing to teach, im done with my python learning, and now im interested in game programming, your videos are step by step and easy to understand by anyone, there should be more guys like you around here ;), and one question, how much time did it take to acquire this pygame knowledge?
Hey; great tutorial!
I only have one problem that is probably quite easy to fix but I'm too ignorant to figure it out.
Anyway, the problem is that my pygame can't find the images.
For example:
background=pygame.image.load('bg.jpg')
target=pygame.image.load('ball.png')
The folders are named as I saved them it's just pygame can't find them ;/
Thanks for reading :)
LaurieHeyworth 2 months ago
@LaurieHeyworth Hi Laurie: I found two images from a google search, downloaded them and placed them in the folder with the python file. So, whatever image you want to use, call up that file name. Say you downloaded a file named sky.png for your background image. Then you would type background=pygame.image.load('sky.png'). good luck!
electricteaching 2 months ago
@electricteaching
Ahh, thanks man :)
That was a huge help and I finally got the game to run.
You defiantly deserve more views.
LaurieHeyworth 2 months ago
Very good, looks pretty good channel and content, visit my channel I am also writing on its channel, success ...
SamuelSantos2008 2 months ago
Thanks so much for this. I've looked through dozens of tutorials but they all seem to skip one thing or another, step by step explanation as the code is being entered helped me out immensely.
neoncamouflage 5 months ago
Thank you for the compliment. Pygame didn't take long to learn by using pygame.org and all their support.
electricteaching 7 months ago
It's just inspiring to see someone willing to teach, im done with my python learning, and now im interested in game programming, your videos are step by step and easy to understand by anyone, there should be more guys like you around here ;), and one question, how much time did it take to acquire this pygame knowledge?
folip111 8 months ago