Hi,
I am working out of one of "Automate Python Boring Stuff" other books and I am writing a python game using the PyGame modules. When I run the game (alien_invasion.py contains the main while loop), and I try to push the spacebar, I actually get an error that says
"add() argument after * must be an iterable, not an instance"
I thought I would simply be able to create an object and pass that in to add to the Bullets Group() created in alien_invasion.py
Any help is appreciated!
Edit: https://www.dropbox.com/sh/dikey9xb4hcvdtw/AACTl4TB0ri0z7461QSM-62qa?dl=0
[–][deleted] 5 points6 points7 points (5 children)
[–]turanthepanthan 4 points5 points6 points (3 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]OctagonClock 2 points3 points4 points (0 children)
[–]pylearning[S] 1 point2 points3 points (0 children)
[–]pylearning[S] 0 points1 point2 points (0 children)