Pygame Tutorial: 2 - Blank Template
Uploader Comments (TheMonkeyLords)
All Comments (11)
-
I want the"next vid" annonation! Why no new videos? :'(
-
Why you no make new pygame tutorial? :(
-
Thanks 'TheMonkeyLords' for the python tutorial series. It is very very helpful for a novice like me.
thanks a lot. please keep your good work going like this
-
when can we expect the next tutorial?
-
wouldn't the following code work better than creating a whole new variable?
if event.type == pygame.QUIT: break
-
Probably unrelated, but anyway, I'm trying to get a moving object to change direction when a key gets pressed. But apparently there's something wrong with "if pygame.key.get_pressed[pygame.
K_a]:". Python says "'builtin_function_or_method' object is not subscriptable" and I've no idea what that means. Anyone? -
Thanks so much for making these tutorials
-
@TheMonkeyLords thanks :P
What's the difference between pygame.display.flip() and pygame.display.update()? as far as I can tell, they both do the same thing, is there an advantage to using one over the other?
GreenSnake750 5 months ago
@GreenSnake750 As we use it right now...no. You can use one or the other, and it really doesn't matter. However, as you get more advanced, it actually does. With flip(), you can choose to update certain parts of the window, which can greatly increase speed. I'm hoping to eventually touch on that, though I don't believe it will be for a long time. Right now, there's no need to worry about it at all.
TheMonkeyLords 5 months ago