Home Ask Login Register

Developers Planet

Your answer is one click away!

n0tis February 2016

Pygame, how to print content of a sprite group?

I have a sprite group called pygame.sprite.LayeredUpdates()

How do I view the sprite that are inside this group ? (for debugging )

I want the name of every sprite that are indide this group


furas February 2016

Read PyGame doc - you have sprites() methods which gives you list of all sprites in group.

Post Status

Asked in February 2016
Viewed 2,083 times
Voted 13
Answered 1 times


Leave an answer

Quote of the day: live life