pygame - tutorial part 1
Loading...
10,914
Loading...
Uploader Comments (metalx1000)
Top Comments
-
dude i hope this tutorial isnt like the new bostons, he never continued
-
@Alpeche21: TheNewBoston is awesome!
see all
All Comments (58)
-
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...
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 3 months ago
@MrRyanholder: post your code at pastebin and send me a link and I'll have a look at it.
metalx1000 3 months ago
@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 1 month ago
@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 1 month ago
@metalx1000 Here we go Sir, im sure im doing something embarrassingly stupid but there we go.
/wVzyRBhx
Quinny977 1 month ago
@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.)
metalx1000 4 weeks ago
@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.
metalx1000 4 weeks ago