Oct-25-2023, 01:34 PM
(This post was last modified: Oct-25-2023, 01:34 PM by deanhystad.)
Things in a sprite group must act like sprites. A sprite must have a rectangle attribute, not be a rectangle. A sprite must have an image (a surface), though I think you can get around that one by supplying your own update and draw methods. A function is not going to satisfy the requirements of being sprite-like.