Config File

How do access the Config files to change things like the Game title on the window, and stuff like that?

The config file is used to configure your panda3D environment (every panda3D app will start with these settings)

If you want to do this, See http://panda3d.org/manual/index.php/Configuring_Panda. And to access the config inside a program (for a one-off change), http://panda3d.org/manual/index.php/Accessing_Config_Vars_in_a_Program.

If you just want to change the title, see http://panda3d.org/apiref.php?page=WindowProperties. In particular, the .setTitle function. You will need to get the current window properties (p=base.win.getProperties or something like that), add your properties, then request that the new properties are applied to the window.

You can also change the window title by changing the config variables at runtime before importing DirectStart, like so:

from pandac.PandaModules import loadPrcFileData
loadPrcFileData("", "window-title My New Panda Window")
import direct.directbase.DirectStart

This can work for other config variables too.

[edit] I just realized I’m giving info from the manual page aurilliance mislinked to which is here.

Whoa, sorry. Just fixed that, the full stops at the end of my urls were being read as part of the url :confused: I suppose using the url tag is a good idea after all…

Fixed my above post now. Thnx ZeroByte