I need some help… Again!
I created a little game with BGE. I got it to work (more or less…), but Monster, here on the BA forum, made me realize I had used the bpy library in my project. And of course this is a BIG problem, because the standalone does not work AT ALL.
For this reason, I am trying to eliminate all the bpy-based commands from my code. The problem is, I’m stuck when it comes to these commands:
myObject = bpy.data.objects[obj_name[i]] #deselect all objects in the scene bpy.ops.object.select_all(action='DESELECT') #activate the object bpy.context.scene.objects.active = myObject
I need bge-based commands that do the same things these commands do. So, what I need to be able to do is
objects within the scene without using bpy code… How do I do this??
Thank you very much!