Let’s suppose i have a package called for instance python_game and within that package i have a few classes to load data files like GameData and LoadSaveManager. I would like to use these classes inside python controller scripts by importing them with an import command like “from game_python import GameData, LoadSaveManager”. My question when the game is save to a runtime where are we supposed to copy our python_game folder containing the game classes so that python will find them when importing?
I don’t want to force players to install Python 2.5 to run my game, but i would still like to use packages like ElementTree to read xml data. Is there a way to install these packages with the game engine runtime so that Python can access it?