Collision between masks in pygame
I have a problem with collisions in my game, spaceship’s mask doesn’t collide properly with a background and I believe that offset is a problem, however I’m not sure.
I have a problem with collisions in my game, spaceship’s mask doesn’t collide properly with a background and I believe that offset is a problem, however I’m not sure.
I want to make a script in pygame where two balls fly towards each other and when they collide they should bounce off from each other but I don’t know how to do this so can you help me?