3
$\begingroup$

When building a game made with the Blender Game Engine, is the resulting program native? If not what is it compiled into?

$\endgroup$

1 Answer 1

4
$\begingroup$

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.

$\endgroup$
2
  • $\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$
    – iKlsR
    Mar 27, 2014 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.