Feb-23-2021, 04:07 PM
(Feb-23-2021, 02:11 PM)djwilson0495 Wrote: Can someone help me with this error, I'm confused as I don't have 454 lines of code but that is where the error is reported.
Look and see how the error
Error: ite-packages\pygame\sprite.py", line 454, in add
sprite.add_internal(self)
is from "pygame\sprite.py" not your game. You try to add an object to a sprite group, which can only accept pygame sprite objects. Make sure your sprites are initialized:class Star(pygame.sprite.Sprite): pygame.sprite.Sprite.__init__(self):