lithekod / snake-ribs

A simple python code skeletons for making games.
MIT License
0 stars 2 forks source link

Add playing of sounds #4

Closed FredTheDino closed 4 years ago

FredTheDino commented 4 years ago

Not much in this one. But there are some "gotchas" in the code, like not being able to load sounds BEFORE the mixer is initalized. Pygame also doesn't change the sample rate of sounds. So sounds play at a different pitch if you have a different sample rate. Unsure how this should be documented... I'm overweighing fixing pygame myself...