Black screen while running Pygame (School assignment)

**How do I get the code to run when it is just a black screen?

I am trying to make a UFO abduction game, and it was running fine until I tried adding a background, and now running causes just a black screen. This happens anytime I try adding more code to this project. There are no errors in the console, and I am not using too much computer power or memory.

How can I fix this problem?

Note: The game title displays at the top of the screen, too

Welcome to the forums.

Could you send a link to the Repl?

3 Likes

Your background is probably on top of everything in your game, and if it’s not meant to be black you might’ve put a wrong image path

1 Like

This is a small project for school
https://replit.com/@IsaacHenkel/ShallowFlimsyHarddrives?v=1