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 And to access the config inside a program (for a one-off change),

If you just want to change the title, see In particular, the .setTitle function. You will need to get the current window properties ( 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