Skip to main content
13 events
when toggle format what by license comment
Mar 24, 2019 at 15:09 vote accept GospelBG
Mar 24, 2019 at 14:56 answer added DMGregory timeline score: 0
Mar 24, 2019 at 14:41 history edited GospelBG CC BY-SA 4.0
Impoved the question and updated the code
Mar 24, 2019 at 14:35 history undeleted GospelBG
Mar 24, 2019 at 14:34 history deleted GospelBG via Vote
Mar 18, 2019 at 21:31 comment added DMGregory Right, because SpikeDown0 is a Surface, and you're trying to add it to a group made to contain Sprite objects. Did you follow the linked answer and try something like SpikeDown0Sprite = pygame.sprite.Sprite() SpikeDown0Sprite.image = SpikeDown0 ... boneSpikes.add(SpikeDown0Sprite)?
Mar 18, 2019 at 20:26 comment added GospelBG I dont know. Pygame says that the error is here bonesSpikes.add (SpikeDown0) and in a pygame file (Sprite.py)
Mar 18, 2019 at 20:01 comment added DMGregory So, like in the answer at the first link, you tried creating a Sprite object to add each image to, then add your sprites to the group? Where did this go wrong for you?
Mar 18, 2019 at 19:50 comment added GospelBG Yes, In the first URL, in the code that is "fine", i'ts exactly the same, only that change the object name. I don't know why I obtain the error.
Mar 18, 2019 at 19:42 history edited GospelBG CC BY-SA 4.0
fixed grammar
Mar 18, 2019 at 18:42 comment added DMGregory Did you search for existing Q&A discussing similar errors? How have you tried applying these existing answers to your case?
Mar 18, 2019 at 17:20 review First posts
Mar 25, 2019 at 14:40
Mar 18, 2019 at 17:18 history asked GospelBG CC BY-SA 4.0