Comments

Log in with itch.io to leave a comment.

Ah, it works now. Thanks!
Nice concept. I do wish there was a kiss at the end :-)
Good to know pygame on linux doesn't read mp3 files!

I could't run in on Linux. Maybe a problem with cx_freeze and how it resolves paths?

Traceback (most recent call last):

  File "/home/shubin/virenv/pygame391/lib/python3.9/site-packages/cx_Freeze/initscripts/__startup__.py", line 74, in run

  File "/home/shubin/virenv/pygame391/lib/python3.9/site-packages/cx_Freeze/initscripts/Console.py", line 36, in run

  File "main.py", line 197, in <module>

  File "/home/shubin/love_love_love/simplified_pygame.py", line 691, in play_music

  File "/home/shubin/love_love_love/simplified_pygame.py", line 438, in _get_sound

pygame.error: Unable to open file '/home/rick/Downloads/love/assets/opus6b.mp3'

Hey! Thx for the letting me know, Ill try to check it out

Hey, thx again for bringing this issue up.


I uploaded the new Linux version, which, I hope, should work fine.


I checked cx_freeze and path resolution. To my surprise, these components were all working fine. The problem turned out to be in pygame itself: it is unable to open *.mp3 files under Linux. I replaced .mp3 file with .ogg, and now it should do fine.