Hi Jason
Tnx for the answer. I wouldnt call it "reinvent the wheel", I see it more like using another wheel. If I check two surfaces rectangles overlapping for collision then its probably no difference to use sprite collision or is sprite collision on pixel lvl? Then its of course better. Using sprite groups would make sense to me if there are many sprites (so project related) but no must or great features when using sprite routines.
Greetings Farai
Am 13.11.2006 um 16:47 schrieb Jason Massey: The big thing about sprites is that you don't have to reinvent the wheel. Since there are already very good routines in place for handling collisions and managing groups of sprites you can spend more time coding your actual game. Hi all
General question about using sprites in Pygame: Whats the big thing of sprites in Pygame? To be honest I didnt use Pygame's sprite functions yet, but except creating groups I dont see many more great features to make my programming life easier than just using surfaces. If sprites move are around I also have to care about the background refresh, as far as I understand the functions. A simple collision detection can also be done by checking overlapping rectangles. So whats the big thing of using sprites?
Greetings Farai
|