pygame - tutorial part 1

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
10,914
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 18, 2010

Creating a Simple Windows with pygame.
http://FilmsByKris.com

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (metalx1000)

  • When I run the program and hit the exit button on the window, it doesn't respond and I have to have task manager close it. Anyone know what might fix that?

  • @MrRyanholder: post your code at pastebin and send me a link and I'll have a look at it.

  • @metalx1000 im having the same problem, however when i leave out everything after the screen line. i.e. set_mode(size) and run it, the python game window opens and then becomes non responsive.. there are no variances between the code your using and the one i am, any help would be greatly appreciated.

  • @Quinny977: If you could please post your code at some place like pastebin, so I can view it, I'll be glad to look over it and get back to you.

  • @metalx1000 Here we go Sir, im sure im doing something embarrassingly stupid but there we go.

    /wVzyRBhx

  • @Quinny977: Well, your script runs perfectly fine for my. But, I think one of these 3 things might be your problem:

    1) I did the last 'if' statement all on one line and really it should be on 2. see pastebin /i9edjF6S (it works for me, but your system might be different. I don't know why I did it all on one line in the video.)

  • @Quinny977:

    2) you're running windows, so it could be something wrong with the version of pygame you are using for windows or it might be pickier about the 'if' statement in reason #1

    3) you might be using a different version of python or pygame that has some issues.

    I'm betting that it is a combination. I think the problem is #1, but it works fine for me because I'm running a different OS or a different Python/Pygame version.

Top Comments

  • dude i hope this tutorial isnt like the new bostons, he never continued

  • @Alpeche21: TheNewBoston is awesome!

see all

All Comments (58)

Sign In or Sign Up now to post a comment!
  • i have a question for you .. how would you get a small image off the image that you put on the screen and place that image in mem.

  • @metalx1000, I'd like to point out that you forgot to mention apt-get install python-pygame

  • Finally! Something better than Buckys Tutorials

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