Python Forum
[PyGame] Game boss causing huge slowdown
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Game boss causing huge slowdown
#7
linux is case sensitive. Im not changing every single image/sound filename to the correct loaded string name associated with it. For example:
metulburr@ubuntu:~/Downloads/Block_Miner_original$ 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 1125, in <module>
    'game': Game(),
  File "main.py", line 308, in __init__
    self.load_data()
  File "main.py", line 612, in load_data
    pg.mixer.music.load(path.join(self.snd_dir, "GalacticTemple.ogg"))
pygame.error: Couldn't open 'snd/GalacticTemple.ogg'
You have it camelcase in the code, but the filename is is not
metulburr@ubuntu:~/Downloads/Block_Miner_original/snd$ ls | grep temple
galactictemple.ogg
Recommended Tutorials:
Reply


Messages In This Thread
Game boss causing huge slowdown - by michael1789 - Mar-06-2020, 03:04 AM
RE: Game boss causing huge slowdown - by metulburr - Mar-06-2020, 09:34 AM
RE: Game boss causing huge slowdown - by Windspar - Mar-07-2020, 01:33 AM
RE: Game boss causing huge slowdown - by Windspar - Mar-07-2020, 07:30 AM
RE: Game boss causing huge slowdown - by metulburr - Mar-07-2020, 11:58 AM
RE: Game boss causing huge slowdown - by Windspar - Mar-07-2020, 06:37 PM
RE: Game boss causing huge slowdown - by Windspar - Mar-07-2020, 11:51 PM
RE: Game boss causing huge slowdown - by Windspar - Mar-08-2020, 02:34 AM
RE: Game boss causing huge slowdown - by Windspar - Mar-08-2020, 08:41 AM
RE: Game boss causing huge slowdown - by metulburr - Mar-08-2020, 11:14 AM
RE: Game boss causing huge slowdown - by Windspar - Mar-08-2020, 12:14 PM
RE: Game boss causing huge slowdown - by metulburr - Mar-08-2020, 11:04 PM
RE: Game boss causing huge slowdown - by metulburr - Mar-08-2020, 11:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGame] end boss aiming at player flash77 7 412 Jun-06-2024, 06:57 PM
Last Post: flash77
  (HELP GREATLY APPRECIATED) New user- Huge Pygame Installation Problem! Jbomb 1 2,959 Jan-12-2021, 07:32 PM
Last Post: MK_CodingSpace

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020