Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The (BGE) Blender Game Engine (discontinued, blender 2.41 - 2.79) allows you to create interactive 3D applications, game prototypes and simulations.
3
votes
Is there a way to use a MIDI controller as a sensor in the Game Engine?
Blender has nothing out-of-the-box to support MIDI, however people have used many different input devices with blender including OSC & MIDI.
If you are interested to use this you may be able to follo …
2
votes
Accepted
Is there any way to publish game for android
No, the game-engine was ported to Android for a GSOC project, but this didn't make it into an official release yet.
There is however work being done for Blender to use EGL, which will help Blender ru …
5
votes
Accepted
What is the difference between module and script execution methods in the Game Engine?
These docs explain:
Script Mode
In Script mode, the controller is linked to a script, the whole script
will be executed before the logic moves on. Everything in the script
will happen at the same fra …
6
votes
How can I do a one-time Initialization?
The existing answer from @Polosson is correct, however Im a bit biased against globals since I have had to debug other peoples code with many globals - it can become difficult, if the code becomes com …
2
votes
Accepted
Create an object in the BGE via python without using an inactive layer
Yes, but only via LibLoad (which likely isn't what your after).
You can use LibLoad/LibNew to dynamically load data, then instance that.
You can load data from another blend file or, you can load an …
2
votes
Accepted
How do you check for a specific game engine property with python? (2.7x only)
sensor = cont.sensors["Ray"]
if sensor.positive:
trigger = sensor.hitObject
if "property" in trigger:
# do something
You may also want to check if the property exists and get it (all …
15
votes
How to get the distance between two objects in the game engine?
You can use mathutils.Vector locations
import bge
scene = bge.logic.getCurrentScene()
# the object the sensor is connected to
owner = bge.logic.getCurrentController().owner
# the other object you wa …
3
votes
Error ImportError: No module named 'bpy'
The blenderplayer doesn't include bpy
0
votes
Accepted
Blender use as world editor, level editor..etc, License problem?
If you don't re-distribute the modified Blender, you can do what you like.
You can sell your own modified Blender if you like, as long as you include the source code.
11
votes
How can I generate camera shake?
As has been mentioned - fcurves modified with noise can do this.
For the game engine you can use an action with noise too (access action through the action actuator).
Note that while noise modified …
5
votes
Deforming a mesh in realtime (Game Engine)
Firstly you'll need to use the bge module, bpy data access wont work since the game engine stores its own data.
For this you will need to use KX_MeshProxy, In the link there is an example for changin …
3
votes
Accepted
Selection Problems with Converting Quads to Tris in Game Engine?
Running bpy.ops operators in the game engine wont work well (if at all),
Best have the triangulated mesh on a hidden layer, and swap in the triangulated mesh when you need it.
Note, if you really wa …
6
votes
Can python be used to edit a Text Object?
No this isnt supported, you have to replace the string with a new one each time.