You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep running into this problem and I think its because of the Mac paths but I don't know how to fix it, please help ,
File "/Users/mac/Desktop/ISS1/code/main.py", line 30, in
game = Game()
^^^^^^
File "/Users/mac/Desktop/ISS1/code/main.py", line 15, in init
self.level = Level()
^^^^^^^
File "/Users/mac/Desktop/ISS1/code/level.py", line 22, in init
self.create_map()
File "/Users/mac/Desktop/ISS1/code/level.py", line 41, in create_map
self.player = Player((1000,1000),[self.visible_sprites],self.obstacle_sprites)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/Desktop/ISS1/code/player.py", line 13, in init
self.import_player_assets()
File "/Users/mac/Desktop/ISS1/code/player.py", line 35, in import_player_assets
self.animations[animation] = import_folder(full_path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/Desktop/ISS1/code/support.py", line 19, in import_folder
image_surf = pygame.image.load(full_path).convert_alpha()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pygame.error: Unsupported image format
thank you
The text was updated successfully, but these errors were encountered:
I keep running into this problem and I think its because of the Mac paths but I don't know how to fix it, please help ,
File "/Users/mac/Desktop/ISS1/code/main.py", line 30, in
game = Game()
^^^^^^
File "/Users/mac/Desktop/ISS1/code/main.py", line 15, in init
self.level = Level()
^^^^^^^
File "/Users/mac/Desktop/ISS1/code/level.py", line 22, in init
self.create_map()
File "/Users/mac/Desktop/ISS1/code/level.py", line 41, in create_map
self.player = Player((1000,1000),[self.visible_sprites],self.obstacle_sprites)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/Desktop/ISS1/code/player.py", line 13, in init
self.import_player_assets()
File "/Users/mac/Desktop/ISS1/code/player.py", line 35, in import_player_assets
self.animations[animation] = import_folder(full_path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mac/Desktop/ISS1/code/support.py", line 19, in import_folder
image_surf = pygame.image.load(full_path).convert_alpha()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pygame.error: Unsupported image format
thank you
The text was updated successfully, but these errors were encountered: