For more Pygame Tutorials visit www.codingschool4kids.com.
This course introduces you to animations, keyboard events, and mouse events in pygame.
Pygame Animations
What are animations in Pygame?
An animation is when an object "appears" to be moving on the screen. This is done by repeatedly and quickly drawing objects on the game_surface at different locations inside the game loop. For example, if we repeatedly drew a square 60px by 60px at different locations it would look like it's moving. If you have ever made a cartoon flip book, it's the same concept.
For more Pygame Tutorials visit www.codingschool4kids.com. Learn Python, Pygame, Raspberry Pi + GPIO, HTML, CSS, JavaScript, Web Development, and more.