Python Basics Tutorial Deep Dive Pygame Sprite Update Method

preview_player
Показать описание
Learn more about the update method for a Sprite object from pygame for python programming

twitter: @python_basics

#pythonprogramming #pythonbasics #pythonforever
Рекомендации по теме
Комментарии
Автор

Yes, thanks for another helpful video. On 5:33 i saw part of code which i asked about. In WHILE cycle, you have SPRITES.DRAW(SURFACE). Because when you first time made Sprite class (in 502ep), you just write "body' of sprite. And in the next video you already run this code and have green square on screen. I didn't understand how that can be without this row "sprites.draw(surface)". Was this row there all the time since episode 502? Hope this time I asked more clearly. And, again, thanks for helpful video about Sprites.

ДенисБеспалов-эм