Pygame (Python Game Development) Tutorial - 3 - Events

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

i love these short videos, they feel so easy to digest.

bradenwilson
Автор

6 years laters and this still being the best pygame tutorial.

miguelbarroso_
Автор

Dude, I'm very grateful for your videos.

martinnieva
Автор

Pie, Games, What's not to like?

Jony
Автор

Holy crap, I had the idea of making the classic Snake game when I started these tutorials since I thought it would be relatively simple, and when you mentioned making that type of game I couldn't help but smile lol.

bloodface
Автор

+Jason Fraley
The For loop is for iterating through groups, that means, doing some action using each element of a list, tuple, set or dictionary. for example:
ex_list = [1, 2, 3]
for number in ex_list:
print(number+2)

then the outpust should be:
3
4
5

GusTheWolfgang
Автор

You are the only channel that works...

I mean, you make pygame work

ymir.
Автор

You are both amazing and funny at the same time loved your tutorial.

albinmichayel
Автор

Amazing videos, make sense and all lines of code are explained clearly. Thank you!

DataWasp
Автор

I learned so much from this. Thank you!

nocraftgames
Автор

If i need do the game about tower defence, what the tutorial is better for i see?

henriquepires
Автор

Hello, when I click the left and right keys on screen, there's no motion in the object but when i minimize the window, i find that the object moved. what can be the problem

alexmutugi
Автор

"while not gameExit:" sounds like while not false cause the Boolean false is already set to the variable gameExit. Sometimes its a little bit contradicting cause a negative and a negative always gives a negative.

jetspray
Автор

man this tutorial is gonna be so fun dude lol

zach
Автор

Thanks for an informative and fun video with a good explanation

lisaolbert
Автор

I came here from sentdex pygame tutorial and im baffled xD. should I continue with that or learn these vids? Didn't even know about this channel lol

SadaraxTutorials
Автор

can you please explain the difference between pygame.event.get() and pygame.event.poll()
thanks in

sajanpoudel
Автор

you set gameExit = false, and you said 'while not gameExit' = False, this makes no sense wouldn't the not gameExit mean the opposite, so would set it to true?

thebuzz
Автор

Could someone explain the code "for event in pygame.event.get():"  I understand that pygame is going to list all the events that are created and taken from pygame.event.get.  And I understand that it is printing the events in the idle, but what exactly does a for-in loop do.  I've read a book on how to code Python and those two (loops i guess) were never mentioned.  I don't really understand the wiki def. so if someone could dumb it down that would be awesome! Thanks <3

jasonfraley
Автор

yo fam I am doing this on pycharm and I am getting an error
pls help

merkzy
welcome to shbcf.ru