Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • 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 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

    Ahh, thanks man :)

    That was a huge help and I finally got the game to run.

    You defiantly deserve more views.

  • Very good, looks pretty good channel and content, visit my channel I am also writing on its channel, success ...

  • 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.

  • Thank you for the compliment. Pygame didn't take long to learn by using pygame.org and all their support.

  • 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?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more