Readme for pyaudiogame
pyaudiogame is a toolkit for creating audio games in python
In just a few lines of code, you can have a game window running and a place for your game logic.
You can download pyaudiogame from
The Git Releases page
or, if you would like to get all the new updates
go here for the latest git version
Also checkout
The official website for the latest news
#Hello world example import pyaudiogame spk = pyaudiogame.speech.speak #First create a basic app app = pyaudiogame.App("My hello world app") #Now make some game logic def logic(actions): """Our game logic function that gets run every iteration of our app's running loop""" if actions['key'] == "space": spk("Hello world") #Put our logic into the app app.logic = logic #Run our app app.run()
Now run the above code and press space to hear "Hello world"
#Documentation
See the documentation page
There you can find guides and the API.