Alrighty, so it’s time to learn how to use the blender game engine. First we’re going to use the links here as a starting point.
We’ll also be doing some programming with livewire, since 2D is much easier than 3D, to start out with.
First, lets look to see what blender knows about objects in the game:
Game Engine Documentation
Now, here’s an example of what we can do with what blender knows:
Blender Scripting tutorial
So, we can access the properties of any object in the blender game engine, along with the sensors and actuators. The script is run in the game main loop automatically by blender, so we don’t have to worry about that.
Programming in livewires
To start off with, we need to installl pygame and livewires on your windows machine.
Lets start out working in the interactive interpreter provided by IDLE. So lets do a quick demo of what you can do.
from livewires import *
begin_graphics()
circle(200, 200, 50)
This has drown a circle at those coordinate within the window. This PDF contains other information that you may need to do stuff with livewire and graphics. Other PDFs on the livewires library are available here.
First we’ll just get used to drawing with livewires, then we’ll be able to make a game that takes user input.