metulburr@ubuntu:~/Downloads/Tile Based Game$ python3 main.py pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "main.py", line 254, in <module> g = Game() File "main.py", line 35, in __init__ self.load_data() File "main.py", line 71, in load_data self.item_images[item] = pg.image.load(path.join(img_folder, ITEM_IMAGES[item])).convert_alpha() pygame.error: Couldn't open img/shotgun.png
(Jan-14-2020, 06:24 PM)michael1789 Wrote: Try running it, get to where and enemy is trying to get you behind a wall and click and hold the title bar for a second or two and let go.
You should use the exact filename as linux is case sensitive. It would make your programs more available. I had to change all the filenames to even run it.
Regarding your issue...i dont have that happen based on what you explained to replicate the issue. Nothing odd happens when i hold the title bar mid game or move the window behind a wall with enemies on the other side.
Recommended Tutorials: