ok I am a lazy man so I don’t want to create a soundtrack for any game I will make, but I also know that games without music are boring. Sooooooooooo… is there away to “stream” music from a folder on the host computer to the game or does all music need o be preloaded?
have a look at the CD Actuator
that is if you have an audio CD inserted. is there a way to get it from a folder on the computer?
well using pygame you can play OGG like so
import pygame.mixer as M #init mixer M.init() # this load an ogg named "level1" in the folder named "music" which is in the same folder as the blend M.music.load("Music/level1.ogg") M.music.set_volume(0.3) M.music.play(-1) #"-1" is infinite
So just tell the people to put ogg named “level1.ogg” in the music folder then voila