Deflectouch
Deflectouch copied to clipboard
Game crashes if no audio support
Audio support should be an optional thing. But if there is not audio support, then all calls to SoundLoader.load will return None, which causes problems later when you try to call play() on them without checking. Perhaps wrap these calls?
[INFO ] Kivy v1.3.0-dev
[INFO ] [Logger ] Record log in /home/neil/.kivy/logs/kivy_12-05-09_88.txt
[INFO ] [Factory ] 107 symbols loaded
[WARNING] [Audio ] Unable to use
BTW, cool game. I'm reading it to try to get the hang of Kivy programming, as it's better than their examples.
Thanks :) Unfortunately, I won't have the time to debug this by catching an exception because i've lots of things going on at the moment. But thanks anyway for setting up the issue.