The Blender game engine
Supported by PySV
Help to improve is always welcome!
Adjustments by: At Mind - B3d101
Blender 2.73 or higher
Foreknowledge: Modules & classes
Blender has a Game Engine (BGE) but in the following tutorials we'll be mainly using Python to develop the games. The Blender Game Engine will be used as minimal as possible. If you want to develop games with the BGE, have a look at Gaming.
There are two ways to create games in Python using Blender:
- The object-oriented way, where every object has it’s own script, that is executed per frame.
- Using a mainloop, where the game runs in a mainloop, which calls different functions of the objects (like in pygame).
Both use cases are shown in the following sections.
First let's get to know more about the Blender Game Engine.Print