For my game I am making most of my objects as separate blender files and then linking them all into a blend that contains a game level. The player object has a number properties that I would like to view ingame while testing, but it isn’t working right. The properties that are set to show up only display the default value set to each, even if that value is changed. I have confirmed that the properties are changing by using the console with python. I’ve only set up the game this way since I moved it to 2.5 and up to 2.56. Is there some way to make the properties display correctly? The only other thing I can think of is to copy the properties to an unlinked object in the level itself.
The displayed values are always the values of the converted object at game start.
If you use an object instance (a copy) created by addObject or a group instance you do not get it’s value shown, but the original one (which is inactive).
You have some options:
- print the values to the console (as you already discovered)
- change the properties of another (not instanciated) object, display the properties of that object.
- add a bitmap font text object, let it show the values you want to see.
all of that suggestions require a Python controller (except the bitmap font text object).