import bge

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Thu Oct 27, 2011 10:51 am

import bge

Post by BlenderFan123 »

When I try to import the bge in blender python, I get an error message that the module doesn't exist. Where can I download that bge module for blender python?! I'm using blender 2.60
Thanks in advance! :-)

Posts: 0
Joined: Sun Nov 06, 2011 4:17 pm

Post by Droghio »

I have been having the same problem, from what I can gleam from documentation it seems that you don't have to explicitly declare an import, blender will do it automatically with a call to bge, for example, bge.something.something, should autoload the bge module.

Of course this hasn't worked for me but it may for you, anyone else know what's going on, I believe this is a common issue. :PP

Posts: 0
Joined: Sun Nov 07, 2010 11:30 pm
Location: Hamilton, New Zealand

Re: import bge

Post by ldo »

I think the bge module is only available while the Game Engine is actually running.

Post Reply