May-20-2019, 12:43 AM
(May-16-2019, 07:13 PM)pfaber11 Wrote: My question is what do I put here (sprite.image)?replace sprite.image with what is returned by
And sprite.mask at the beginning can it be changed to say image3.mask?
pygame.image.load('image_name.png')
it doesnt have to be sprite.mask. You can just do mask.
They are just informing that what is returned is a sprite.mask / sprite.image (not that you have to name them anything like that).
(May-17-2019, 05:31 PM)pfaber11 Wrote: It runs but does not detect a hit when the two sprites collide .You do not show any code referring to your collision detection, so we could not know.
Recommended Tutorials: