-
-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Labels
Description
Description
Add a special_flags argument to Group.draw (and all the other group classes).
This would be useful as with this feature, I could write code like this:
group.draw(surface, special_flags=pygame.BLEND_RGBA_MAX)instead of
for s in group.sprites():
surface.blit(s.image, s.rect, special_flags=pygame.BLEND_RGBA_MAX)Also, for more complicated group classes (eg. RenderUpdates), you have to copy the entire code of the .draw functions and change just the line where the .blit method is called which is quite annoying.
See pygame/pygame#3719 for the issue I opened over there (before I found pygame-ce).
Reactions are currently unavailable