What is causing my game to have really low fps [closed]

I took a look at your code and found the solution in changing line 392 inside the __init__ method of your Map object from self.currentmap = pygame.image.load(os.path.join(“assets”, “maps”, “spawn.png”)) to self.currentmap = pygame.image.load(os.path.join(“assets”, “maps”, “spawn.png”)).convert() If you have images that don’t need an alpha channel you should always call convert on them. At the beginning … Read more