**Question: how can I control audio to stop or pause or play at certain points on python
**Repl link:https://replit.com/@omarahmed176/fighting-game#main.py
code snippet:
**Question: how can I control audio to stop or pause or play at certain points on python
**Repl link:https://replit.com/@omarahmed176/fighting-game#main.py
code snippet:
Currently, Python does not support the ability to play sound files, though some packages if created in other IDEs will support it, repl.it does not.
You can either do a LOT of research and learn the UI of a new IDE (I tried once, it’s a pain) or continue on throughout your game without this feature.
Take a look at replit’s own package:
https://replit-py.readthedocs.io/en/latest/api.html#module-replit.audio
you first need to add to the start of the .replit
file
audio=true
Making a website instead, e.g. using Kaboom, would allow better compatibility and performance.