I’m trying to set some window options in my game’s seperate .prc file and Panda seems to be creating the window and then ignoring my changes.
I did a search on the forums, but most people seemed to want to change the value during runtime.
# change Window Title to verify this config file is used
window-title "Arkhenia Core : Client"
#Panda Stuff
#load_up game specific config before loading panda
from pandac.PandaModules import loadPrcFile
loadPrcFile("./binaries/config/Client_Config.prc")
# Load up Panda
import direct.directbase.DirectStart
Note that Panda also has a convention for finding and loading .prc files automatically. In particular, you can set the environment variables PRC_DIR and/or PRC_PATH (or maybe they’ve been named PANDA_PRC_DIR and PANDA_PRC_PATH in the public build).