I would like to ask how could i make a script load external texts (not-scripts).
My game actually uses text files to extend information for the game. But i want to avoid it to be in an separate folder.
It has been always this:
beatmaps="beatmaps/" with open(bge.logic.expandPath("//"+beatmaps+vm['beatfile']), 'r') as f: for lines in f: line=lines.strip()
Is it possible to replace expandPath by something else, so that these lines with open the text internally from the game?