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've tried multiple collision techniques and checked a lot of answers to my problem, but none of them helped me. import pygame as pg import os os.environ['SDL_VIDEO_WINDOW_POS'] = "%d,%d" % (2, 29) pg.init() def gameLoop(): display_width = 1800 display_height = 1000 pg.display.set_caption("Kerbal Space Landing Simulator") clock