Open LGgameLAB opened 2 weeks ago
Definitely not necessary but it would be helpful for the way sprites get organized in the Framework by default.
Advantages:
super().__init__()
draw()
Pygame.sprite.Sprite
Disadvantages
@https123456789 What is your take on this?
Definitely not necessary but it would be helpful for the way sprites get organized in the Framework by default.
Advantages:
super().__init__()
calls can pass a rendering layer as well as sprite type(s) - (this mimics unity's rendering layer and type attributes)draw()
functionPygame.sprite.Sprite
and still have the grouping and default functionality of that typeDisadvantages
Pygame.sprite.Sprite
inheritance