I am setting up a simple variable exchange using the below code:
object 1
def main():
cont = bge.logic.getCurrentController()
scoreDisplay = cont.owner
bge.logic.loadGlobalDict()
score = 0
scoreDisplay ['Text'] = score
bge.logic.globalDict ["HUD"] = {score : 0}
main()
object 2
def main():
cont = bge.logic.getCurrentController()
own = cont.owner
bge.logic.loadGlobalDict()
score = bge.logic.globalDict["HUD"]
if own ['live #1'] == FALSE:
score += 1
every time I try to run it however, I get the following message:
WARNING: could not open .bgeconf
what really stumps me is that I saved a test bge with almost identical code earlier and it worked! When i purposely mess with the code to make it wrong I still get the same message! I have been searching all day and have yet to find a solution! If this information helps any, the bge is saved in its own folder and I am running windows 7 with blender version 2.69