Game PythonProject
ActivePublic

Description

Python API of the Blender Game Engine

Recent Activity

Sat, Feb 11

Aaron Carlisle (Blendify) added a comment to D1577: BGE: New Python API to add a 2D filter.

Yes

Sat, Feb 11, 8:40 PM · Game Python, Game Engine
Thomas Szepe (hg1) added a comment to D1577: BGE: New Python API to add a 2D filter.

Are there plans to merge the UPBGE back to the BGE?
If not I will reopen this diff.

Sat, Feb 11, 8:37 PM · Game Python, Game Engine
Aaron Carlisle (Blendify) abandoned D1338: BGE: Adding geometry shader API.

This has been done in the UPBGE branch. Closing

Sat, Feb 11, 8:36 PM · Game Python, Game Rendering, Game Engine
Aaron Carlisle (Blendify) abandoned D1577: BGE: New Python API to add a 2D filter.

This has become obsolete with the changes in the UPBGE branch. Closing

Sat, Feb 11, 8:27 PM · Game Python, Game Engine

Tue, Feb 7

Jorge Bernal (lordloki) added a comment to T36779: BGE texture module: Camera texture will always fail when the scene is restarted..

after investing a little bit more we have seen that it is the right procedure, we mean:

Tue, Feb 7, 12:49 PM · Game Python, Game Engine

Mon, Feb 6

Thomas Szepe (hg1) created T50606: Video texture don't load png files.
Mon, Feb 6, 8:18 PM · Game Python, Game Engine

Oct 31 2016

Inês Almeida (brita_) claimed T48099: Adress boundary error given bad input.

Confirmed in 2.78a

Oct 31 2016, 2:58 PM · Python, Game Python, Game Engine

Aug 26 2016

Bastien Montagne (mont29) closed T49171: Add 'activate actuator' function (or method). as "Invalid".

Thanks for the suggestion, but we do not accept feature requests or suggestions on this tracker (use forums or bf-funboard ML for that).
Please do not create design/todo tasks, they are reserved to developers.
Please do not set priority of tasks yourself, especially not to high priorities!

Aug 26 2016, 4:21 PM · Game Logic, Game Python, Game Engine
Vladislav (vlad1777d) edited the description of T49171: Add 'activate actuator' function (or method)..
Aug 26 2016, 4:00 PM · Game Logic, Game Python, Game Engine
Vladislav (vlad1777d) triaged T49171: Add 'activate actuator' function (or method). as "High" priority.
Aug 26 2016, 3:30 PM · Game Logic, Game Python, Game Engine
Vladislav (vlad1777d) edited the description of T49171: Add 'activate actuator' function (or method)..
Aug 26 2016, 1:50 PM · Game Logic, Game Python, Game Engine
Vladislav (vlad1777d) created T49171: Add 'activate actuator' function (or method)..
Aug 26 2016, 1:49 PM · Game Logic, Game Python, Game Engine

Aug 11 2016

Campbell Barton (campbellbarton) removed a reviewer for D1338: BGE: Adding geometry shader API: Campbell Barton (campbellbarton).
Aug 11 2016, 6:18 AM · Game Python, Game Rendering, Game Engine
Campbell Barton (campbellbarton) removed a reviewer for D1411: BGE: Add getActionNames() method to KX_Scene.: Campbell Barton (campbellbarton).
Aug 11 2016, 6:08 AM · Game Animation, Game Python, Game Logic, Game Engine

Apr 12 2016

Sergey Sharybin (sergey) updated subscribers of T48099: Adress boundary error given bad input.
Apr 12 2016, 11:15 AM · Python, Game Python, Game Engine
Sergey Sharybin (sergey) triaged T48099: Adress boundary error given bad input as "Confirmed" priority.
Apr 12 2016, 11:13 AM · Python, Game Python, Game Engine

Apr 10 2016

alabd (alabd14313) added a comment to T48099: Adress boundary error given bad input.

Blender 2.76.9 works fine.

Apr 10 2016, 7:16 PM · Python, Game Python, Game Engine
alabd (alabd14313) added a comment to T48099: Adress boundary error given bad input.

Blender 2.77a
Arch linux
Intel i915
/tmp/crash.txt :

Apr 10 2016, 6:59 PM · Python, Game Python, Game Engine
Max Voss (max12345) created T48099: Adress boundary error given bad input.
Apr 10 2016, 10:41 AM · Python, Game Python, Game Engine

Apr 3 2016

Porteries Tristan (panzergame) closed T32470: localPosition giving world coordinates as "Resolved".

As @Jerome Mahieux (littleneo) and @Jorge Bernal (lordloki) explain it's not bug, since there's 7 months without activity of the @Will Nielsen (k9crunch), i close the task.

Apr 3 2016, 3:26 PM · Game Engine, Game Python

Mar 3 2016

Sybren A. Stüvel (sybren) resigned from D1338: BGE: Adding geometry shader API.
Mar 3 2016, 5:14 PM · Game Python, Game Rendering, Game Engine

Mar 1 2016

Porteries Tristan (panzergame) added a comment to D1338: BGE: Adding geometry shader API.

Maybe replace string by constants is better, e.g BL_Shader::[VERTEX/FRAGMENT/GEOMETRY]_SHADER_TEXT

Mar 1 2016, 6:12 PM · Game Python, Game Rendering, Game Engine
Porteries Tristan (panzergame) added a comment to D1338: BGE: Adding geometry shader API.

What about use:

shaders = {
    "vertex" : vertex_shader_text,
    "fragment" : fragment_shader_text,
    "geometry" : geometry_shader_text
}
setSource(shaders, true)
Mar 1 2016, 6:10 PM · Game Python, Game Rendering, Game Engine

Dec 1 2015

Porteries Tristan (panzergame) abandoned D1247: BGE : End game python callbacks..
Dec 1 2015, 9:23 PM · Game Python, Game Engine

Nov 26 2015

Campbell Barton (campbellbarton) closed T46870: The python objects in the `bge.logic.globalDict` are not destructed at the end of the game as "Resolved" by committing rB88556d801feb: Fix T46870: bge globalDict kept between sessions.
Nov 26 2015, 1:23 AM · Game Python, Game Engine

Nov 25 2015

Dalai Felinto (dfelinto) created T46870: The python objects in the `bge.logic.globalDict` are not destructed at the end of the game.
Nov 25 2015, 2:02 PM · Game Python, Game Engine

Nov 2 2015

Jorge Bernal (lordloki) closed T46663: Game engine, Python commands (applyForce & applyTorque) don't work as "Invalid".

it doesn't work because the cube is selected as static. If you select it as rigid body or dynamics the cube will respond to applyForce and applyTorque python commands.

Nov 2 2015, 6:48 AM · Game Python, Game Engine
Campbell Barton (campbellbarton) renamed T46663: Game engine, Python commands (applyForce & applyTorque) don't work from "two python command don't work" to "Game engine, Python commands (applyForce & applyTorque) don't work".
Nov 2 2015, 6:12 AM · Game Python, Game Engine
Aaron Carlisle (Blendify) added a project to T46663: Game engine, Python commands (applyForce & applyTorque) don't work: Game Python.
Nov 2 2015, 2:14 AM · Game Python, Game Engine

Oct 28 2015

Jorge Bernal (lordloki) updated subscribers of T36779: BGE texture module: Camera texture will always fail when the scene is restarted..

@Benoit Bolsee (ben2610), Could you take a look to this report? Is it really a bug or the bypass I uploaded is the right way to restart the scene?.

Oct 28 2015, 12:30 PM · Game Python, Game Engine

Oct 24 2015

Thomas Szepe (hg1) added a dependency for D1577: BGE: New Python API to add a 2D filter: D1572: BGE: New API to get 2D filter shader program.
Oct 24 2015, 7:52 PM · Game Python, Game Engine
Thomas Szepe (hg1) created D1577: BGE: New Python API to add a 2D filter.
Oct 24 2015, 7:51 PM · Game Python, Game Engine

Sep 28 2015

Jorge Bernal (lordloki) merged task T46294: Not finding the joystick. into T43883: joystick Xbox does not work properly in Blender 2.73 and 2.74 testbuild.
Sep 28 2015, 11:02 AM · Game Python

Sep 27 2015

Dima Kiva (Tort) created T46294: Not finding the joystick..
Sep 27 2015, 9:37 PM · Game Python

Aug 11 2015

Porteries Tristan (panzergame) added a comment to T32470: localPosition giving world coordinates.

the report can be closed ?

Aug 11 2015, 2:21 PM · Game Engine, Game Python

Aug 9 2015

Daniel Stokes (kupoman) added a comment to D1338: BGE: Adding geometry shader API.

My suggestion is to create a new API and deprecate the old one. This new API should be flexible to changes so this does not happen again if we want to add support for tessellation shaders.

Aug 9 2015, 7:51 PM · Game Python, Game Rendering, Game Engine
Julian Eisel (Severin) closed T45724: Edit Object BGE, Added lamps do not work correctly. as "Archived".

Closing for the reasons mentioned by @Thomas Szepe (hg1)

Aug 9 2015, 5:53 PM · Game Rendering, Game Python, Game Engine
Porteries Tristan (panzergame) added a comment to D1338: BGE: Adding geometry shader API.

hmmm, well, setSource(v, f, a, g) is the easier currently.

Aug 9 2015, 11:25 AM · Game Python, Game Rendering, Game Engine
Thomas Szepe (hg1) added a comment to D1338: BGE: Adding geometry shader API.

i know, but setSource(v, f, g, apply) seems more logical, we already have function which had these compatibility problems before ?

Sure setSource(v, f, g, apply) is more logical, but will break all actual shaders. And I don't want to do that.

Aug 9 2015, 11:19 AM · Game Python, Game Rendering, Game Engine
Porteries Tristan (panzergame) added a comment to D1338: BGE: Adding geometry shader API.
Reorganizing the arguments will make compatibility problems. Because the actually setSource will take the parameters in this order. setSource(vertexProgram, fragmentProgram, apply). If I move geometryProgram between "fragmentProgram" and "apply" it will break compatibility.

i know, but setSource(v, f, g, apply) seems more logical, we already have function which had these compatibility problems before ?

Aug 9 2015, 10:52 AM · Game Python, Game Rendering, Game Engine
Thomas Szepe (hg1) added a comment to D1338: BGE: Adding geometry shader API.

I dislike this compatibility problem, @Campbell Barton (campbellbarton), @Mitchell Stokes (moguri) for you what the best for function setSource, add the new argument at the end or reorganize arguments order to setSource(vert, frag, geom, apply) ?

Reorganizing the arguments will make compatibility problems. Because the actually setSource will take the parameters in this order. setSource(vertexProgram, fragmentProgram, apply). If I move geometryProgram between "fragmentProgram" and "apply" it will break compatibility.

Aug 9 2015, 8:06 AM · Game Python, Game Rendering, Game Engine
Porteries Tristan (panzergame) added a comment to D1338: BGE: Adding geometry shader API.

I dislike this compatibility problem, @Campbell Barton (campbellbarton), @Mitchell Stokes (moguri) for you what the best for function setSource, add the new argument at the end or reorganize arguments order to setSource(vert, frag, geom, apply) ?

Aug 9 2015, 12:27 AM · Game Python, Game Rendering, Game Engine

Aug 8 2015

Thomas Szepe (hg1) added a comment to T45724: Edit Object BGE, Added lamps do not work correctly..

Actually this is no Bug. Blender actually don't have deferred rendering and there is no good solution for forward rendering. Rebuilding the shader in the BGE will cause a very big slow down while the shader is rebuilding. And using a non static value in for a for loop in the GLSL shader will permanently slow down the rendering.
So the GLSL shader only rebuilds in Blender it self and not in the BGE that is the reason why you can't add the same light twice. You only can add lights that you already have on an active or inactive layer.
If you want to add more light you need to put some Lamps on the inactive layer and add this lamps to the scene if the player is in range or can see the lights.

Aug 8 2015, 10:39 AM · Game Rendering, Game Python, Game Engine

Aug 7 2015

Viktor (Vikitos) created T45724: Edit Object BGE, Added lamps do not work correctly..
Aug 7 2015, 3:28 PM · Game Rendering, Game Python, Game Engine

Aug 6 2015

Viktor (Vikitos) added a comment to T45701: Edit Object BGE.

Yes, sory.
You can see the Blender Fail. In the Fail this reports in English.
This is very important when creating a game.
If this does not solve, the blender will not in good standing_ with the game creators.

Aug 6 2015, 11:34 PM · Game Rendering, Game Python, Game Engine
Sybren A. Stüvel (sybren) added a comment to D1411: BGE: Add getActionNames() method to KX_Scene..

I think that the rest of the Blender documentation is also pretty terse, and really could use some extending.
It's an ongoing effort. Of course we can overhaul the entire documentation, but nobody's got time to do that.

Aug 6 2015, 9:17 AM · Game Animation, Game Python, Game Logic, Game Engine
Julian Eisel (Severin) closed T45701: Edit Object BGE as "Invalid".

Hey @Viktor (Vikitos), please always create reports in English. Although we have a bunch of German developers, most are from other countries. Could you create a new report in English?

Aug 6 2015, 8:55 AM · Game Rendering, Game Python, Game Engine
Viktor (Vikitos) created T45701: Edit Object BGE.
Aug 6 2015, 3:37 AM · Game Rendering, Game Python, Game Engine

Aug 4 2015

Thomas Szepe (hg1) added a comment to D1411: BGE: Add getActionNames() method to KX_Scene..

The .rst documentation changes in BL_ActionActuator.rst, BL_ShapeActionActuator.rst, KX_GameObject.rst are not necessary and should be removed.
Basically I think the documentation should only describe what the method or attribute is doing and not what other method's are exiting. Except for deprecated methods or attributes.

I disagree with this. When several methods and attributes are related, this relation should be documented as wel. It makes documentation more easy to read, and to be honest I don't see a downside.

Aug 4 2015, 7:17 PM · Game Animation, Game Python, Game Logic, Game Engine

Aug 3 2015

Sybren A. Stüvel (sybren) added a comment to D1411: BGE: Add getActionNames() method to KX_Scene..

The .rst documentation changes in BL_ActionActuator.rst, BL_ShapeActionActuator.rst, KX_GameObject.rst are not necessary and should be removed.
Basically I think the documentation should only describe what the method or attribute is doing and not what other method's are exiting. Except for deprecated methods or attributes.

Aug 3 2015, 1:12 PM · Game Animation, Game Python, Game Logic, Game Engine