I would like to code a puzzle game using the Blender Game Engine.
At start of each level, I have to generate the it through a python script.
The size of each level will be approximatively 20x20 tiles.
Each tile might be a wall, a floor or something else.
In blender, I will then create an object ‘wall’, an object ‘floor’, etc…
My question is how can I instanciate those objects using python code?
For instance, what will be the Python code to create a matrix of 2x2 ‘wall’ objects?