blender/source/gameengine
Benoit Bolsee 672492f563 BGE: New function GameLogic.setMaxLogicFrame() to allow better control over the time spent on logic.
This function sets the maximum number of logic frame executed per render frame.
Valid values: 1..5

This function is useful to control the amount of processing consumed by logic.
By default, up to 5 logic frames can be executed per render frame. This is fine
as long as the time spent on logic is negligible compared to the render time. 
If it's not the case, the default value will drag the performance of the game
down by executing unnecessary logic frames that take up most of the CPU time. 

You can avoid that by lowering the value with this function. 
The drawback is less precision in the logic system to physics and I/O activity.
	
Note that it does not affect the physics system: physics will still run 
at full frame rate (actually up to 5 times the ticrate).
You can further control the render frame rate with GameLogic.setLogicTicRate().
2009-05-01 16:35:06 +00:00
..
BlenderRoutines added Geometry as a BGE module, removed its dependency on gen_utils.c 2009-04-30 12:45:13 +00:00
Converter BGE fux #17796: Glsl + bones + set smooth = bug on vertext groups. 2009-04-30 08:02:26 +00:00
Expressions error in last commit 2009-04-29 23:59:59 +00:00
GameLogic Not sure why this INCREF is needed since making a replica wont use the m_bytecode so why should it add a user? 2009-04-30 00:51:11 +00:00
GamePlayer added Geometry as a BGE module, removed its dependency on gen_utils.c 2009-04-30 12:45:13 +00:00
Ketsji BGE: New function GameLogic.setMaxLogicFrame() to allow better control over the time spent on logic. 2009-05-01 16:35:06 +00:00
Network BGE patch #18350: Add sendMessage() to GameLogic. Added sendMessage to both GameLogic and KX_GameObject. 2009-04-08 16:57:08 +00:00
Physics BGE: New function GameLogic.setMaxLogicFrame() to allow better control over the time spent on logic. 2009-05-01 16:35:06 +00:00
PyDoc BGE: New function GameLogic.setMaxLogicFrame() to allow better control over the time spent on logic. 2009-05-01 16:35:06 +00:00
Rasterizer needed this minor change to build on gcc 2009-04-29 11:16:26 +00:00
SceneGraph BGE Scenegraph and View frustrum culling improvement. 2009-04-07 22:14:06 +00:00
VideoTexture python modules in the game engine could point to builtin modules like GameLogic that was cleared. 2009-04-29 23:39:27 +00:00
CMakeLists.txt VideoTexture module. 2008-10-31 22:35:52 +00:00
Makefile Makefile fixes for compiling with new videotexture code. 2008-11-02 18:12:45 +00:00
SConscript Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID. 2009-02-25 12:07:51 +00:00