New answers tagged

1 vote

Create list of images for animation

You can simply put sprite_sheet.get_image into the loop: ...
user avatar
  • 1,516
0 votes
Accepted

Pygame moving only once when key pressed intagrated into player class

The main issue is that you process all the events in two places (the first is in the main loop and the second is in the player), the first one ignores the KEYDOWN ...
user avatar
  • 15.7k

Top 50 recent answers are included