Excellent, thanks. I've been writing a simple game in Pygame for the last 3 weeks and have used lists rather than groups. I guess you live and learn...
This is my 9th lesson of python and i want to learn pygame but my tutor will teach me that in a bit. However, i wanted to learn it soon so I used this tutorial. Thanks
I guess a bit late to add code comments here, but just in case anyone else is thinking about this sometime in the future... At minute 1:20 - shouldn't you use super().__init__() instead of the way you wrote it? (your way works too, but super() is nicer)
in my code: enemy = Enemy(x, y, random.choice(colors)) enemies.add(enemy) i have initialised everything before and the problem says expected type 'AbstractGroup[_SpriteSupportsGroup]', got 'Enemy' instead what does this mean exactly
Excellent, thanks. I've been writing a simple game in Pygame for the last 3 weeks and have used lists rather than groups. I guess you live and learn...
And you keep hanging on the edge of tomorrow.
Really informational and condensed video! Thanks!
Thanks, glad it was useful!
Thanks for this video, you explained this theme better than other authors. I think you decerve to have more subscribers and you have a nice voice)
Thank you! Glad it helped :)
This is my 9th lesson of python and i want to learn pygame but my tutor will teach me that in a bit. However, i wanted to learn it soon so I used this tutorial. Thanks
This is perfect video and you're professional, thank you.
Thanks :)
Straight to the point, great video!
Thanks :)
Great explanation! Thanks!
Cheers!
I guess a bit late to add code comments here, but just in case anyone else is thinking about this sometime in the future... At minute 1:20 - shouldn't you use super().__init__() instead of the way you wrote it? (your way works too, but super() is nicer)
Thank you, great sage!
TOP SPOT VIDEO!!! BIG HELP I HAVE LIKED AND SUBBED!!!
Thanks!
why when i try my code the block just stoped dropping when i click again.. but when i copy and paste your code it worked perfectly
then you did something wrong
Great tutorial!
Thanks!
Great! Should have watched this video before writing this all myself using my own classes and list :-|
hey Russ! that's great, keep up please :)
Thanks! Will do :)
My anti virus warns me from going to you're site? But other then that great video! Seems like a realy usefull way to use classes for games.
for some reason it doesn't show sprites in a Group as yours does, for me it just stays at
that's the same behavior as in the video though? If you're talking about 1:43, he's printing the sprite, not the group
how do i use custrom sprites?
Thank you
Welcome
It says error for squares.draw(screen)
liked!! thanks
Cheers!
Thanks
If your heart leaves your body, you will break your opponent's eye. Please remind me of your name.
Nice one, but i still dont use sprite class. :(
I designed my own for this what suits more with my needing, then the built in sprite group.
Nice. The sprite class gives you some functionality but making your own one for specific requirements makes sense.
I love pixel art...
me too...
Used it for all the sprites in my first game lol
Wonderful! Thank you!
Glad you like it!
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
:)
in my code:
enemy = Enemy(x, y, random.choice(colors))
enemies.add(enemy)
i have initialised everything before and the problem says
expected type 'AbstractGroup[_SpriteSupportsGroup]', got 'Enemy' instead
what does this mean exactly