When building a game made with the Blender Game Engine, is the resulting program native? If not what is it compiled into?
1 Answer
The binary that executes the game (i.e. Blenderplayer) is native code compiled from a combination of C and C++. I don't think there are any Python based Blender operators that run when you play a game. So yes it's completely 'native'.
If you choose to extend the game with Python script, which will be interpreted at runtime with a Python 3.3 (as of Blender 2.70) interpreter, then it will be a mix of 'native' component and interpreted scripts.
Unless you are doing some serious Python coding, the performance overhead of Python is very small.
-
$\begingroup$ very nice, so this would theoretically make a blender built game more efficient than one made using java (in an IDE such as eclipse), am i correct? $\endgroup$ Mar 27, 2014 at 18:01
-
2$\begingroup$ @KonnerRasmussen One could correctly assume that yes with respect to the languages. $\endgroup$– iKlsRMar 27, 2014 at 20:57