currently it will try to play any filetype in the directory. use glob to get only mp3 extension like doing for decks:
import glob
mainDir = bge.logic.expandPath("//")
fileName = mainDir + "textures\\decks\\*.png"
deckList = glob.glob(fileName)
dict['deckList'] = deckList
currently it will try to play any filetype in the directory. use glob to get only mp3 extension like doing for decks:
Working on this currently
hmm, so now it’s not playing on startup when it should. looking at it.
fixed startup, double press and duplicated global dict key. merged. Congrats!