blender/source/gameengine/PyDoc
Benoit Bolsee bc8f002a4c BGE state system improvement: the sensor with Level option enabled will trigger the controller of a newly activated state, even if the sensor is already connected to an active state; new isTriggered() python function to determine which sensor triggered the current controller.
Previously, this behaviour was available only for sensors
that were not connected to any active state, which was
forcing the game designer to duplicate sensors in some 
cases.
For example the Always sensors used to initialize the 
states needed to be duplicated for each state. With this
patch, a single Always sensor with Level option enabled
will suffice to initialize all the states. 
A Python controller can determine which sensor did trigger
with the new SCA_ISensor::isTriggered() function.

Notes:
- When a sensor with level option enabled is connected
  to multiple controllers, only those of newly activated
  states will be triggered. The controllers of already
  activated states will receive no trigger, unless the 
  sensor internal state toggled, in which case all the
  controllers are triggered as always.
- The old isPositive() function returns the internal
  state of the sensor, positive or negative; the new 
  isTriggered() function returns 1 only for sensors
  that generated an event in the current frame.
2008-08-23 11:54:27 +00:00
..
BL_ActionActuator.py Adding an option for action actuator - "Continue" this means animations always play from where they left off. Continue was the 2.46 operation too, so new functionality is the option to disable. 2008-07-10 14:23:19 +00:00
BL_ShapeActionActuator.py BGE patch: Add PyDoc for new logic bricks, set exception message on Py error, remove args on Py functions that don't take any to save CPU time 2008-07-23 21:37:37 +00:00
epy_docgen.sh replacing epydoc generation script with one copied from bpy docs 2008-05-20 05:55:12 +00:00
GameKeys.py Minor Fixes: 2004-06-26 09:15:41 +00:00
GameLogic.py BGE Python API - GameLogic.getBlendFileList(path='//') to return a list of blend's in the current directory. Needed for creating a level selector that lists all files in the level directory. 2008-08-22 06:02:01 +00:00
KX_ActuatorSensor.py BGE patch: Add PyDoc for new logic bricks, set exception message on Py error, remove args on Py functions that don't take any to save CPU time 2008-07-23 21:37:37 +00:00
KX_Camera.py Added support for cameras in Blender's Ortho mode. 2004-07-20 12:07:06 +00:00
KX_CameraActuator.py Python API get/setObject update for Actuators. (SetParent, AddObject, Camera and TrackTo) 2008-08-14 08:58:25 +00:00
KX_CDActuator.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
KX_ConstraintActuator.py BGE patch: Add PyDoc for new logic bricks, set exception message on Py error, remove args on Py functions that don't take any to save CPU time 2008-07-23 21:37:37 +00:00
KX_GameActuator.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
KX_GameObject.py BGE patch #17398 approved: implementation of BGE method getVectTo(). 2008-08-03 21:59:36 +00:00
KX_IpoActuator.py BGE patch: Add PyDoc for new logic bricks, set exception message on Py error, remove args on Py functions that don't take any to save CPU time 2008-07-23 21:37:37 +00:00
KX_Light.py Lighting updates: 2004-06-07 11:01:31 +00:00
KX_MeshProxy.py Added the docs & use Python booleans for physics reinstance. 2005-04-23 12:25:21 +00:00
KX_MouseFocusSensor.py Added Python module for Lights. 2004-05-30 11:09:46 +00:00
KX_NearSensor.py Added Python module for Lights. 2004-05-30 11:09:46 +00:00
KX_NetworkMessageActuator.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
KX_NetworkMessageSensor.py Use epydoc for generating game python reference (like the bpython guys) 2004-05-31 13:06:04 +00:00
KX_ObjectActuator.py BGE patch: Add PyDoc for new logic bricks, set exception message on Py error, remove args on Py functions that don't take any to save CPU time 2008-07-23 21:37:37 +00:00
KX_ParentActuator.py Python API get/setObject update for Actuators. (SetParent, AddObject, Camera and TrackTo) 2008-08-14 08:58:25 +00:00
KX_PolygonMaterial.py Big patches: 2005-03-25 10:33:39 +00:00
KX_RadarSensor.py Added Python module for Lights. 2004-05-30 11:09:46 +00:00
KX_RaySensor.py Added Python module for Lights. 2004-05-30 11:09:46 +00:00
KX_SCA_AddObjectActuator.py Python API get/setObject update for Actuators. (SetParent, AddObject, Camera and TrackTo) 2008-08-14 08:58:25 +00:00
KX_SCA_EndObjectActuator.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
KX_SCA_ReplaceMeshActuator.py Convert and use actuators with no target object set. 2004-09-19 01:33:08 +00:00
KX_Scene.py Minor Fixes: 2004-06-26 09:15:41 +00:00
KX_SceneActuator.py Convert and use actuators with no target object set. 2004-09-19 01:33:08 +00:00
KX_SoundActuator.py Port Python updates from Tuhopuu2: 2004-07-17 05:28:23 +00:00
KX_StateActuator.py BGE patch: Add PyDoc for new logic bricks, set exception message on Py error, remove args on Py functions that don't take any to save CPU time 2008-07-23 21:37:37 +00:00
KX_TouchSensor.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
KX_TrackToActuator.py Python API get/setObject update for Actuators. (SetParent, AddObject, Camera and TrackTo) 2008-08-14 08:58:25 +00:00
KX_VertexProxy.py Port Python updates from Tuhopuu2: 2004-07-17 05:28:23 +00:00
KX_VisibilityActuator.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
Rasterizer.py Tweek the stereo settings: allow negative eye separation. 2004-10-24 23:50:44 +00:00
SCA_AlwaysSensor.py Added Python module for Lights. 2004-05-30 11:09:46 +00:00
SCA_ANDController.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
SCA_DelaySensor.py BGE patch: New Delay sensor (derived from patch #17472) 2008-08-16 20:45:37 +00:00
SCA_IActuator.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
SCA_IController.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
SCA_ILogicBrick.py Switch fixed time system. Logic updates should now happen at 30Hz, physics at 60Hz. (By default, use Python to set.) Some actuators still run at framerate (IPO, Action) for nice smooth animation, and an excuse to buy high end hardware. 2004-10-16 11:41:50 +00:00
SCA_ISensor.py BGE state system improvement: the sensor with Level option enabled will trigger the controller of a newly activated state, even if the sensor is already connected to an active state; new isTriggered() python function to determine which sensor triggered the current controller. 2008-08-23 11:54:27 +00:00
SCA_KeyboardSensor.py Minor Fixes: 2004-06-26 09:15:41 +00:00
SCA_MouseSensor.py Added Python module for Lights. 2004-05-30 11:09:46 +00:00
SCA_ORController.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
SCA_PropertyActuator.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
SCA_PropertySensor.py Use epydoc for generating game python reference (like the bpython guys) 2004-05-31 13:06:04 +00:00
SCA_PythonController.py BGE python api addition, GameObject get/setState and Controller.getState() 2008-06-29 21:52:23 +00:00
SCA_RandomActuator.py Updates to GamePython Reference. 2004-06-02 12:43:27 +00:00
SCA_RandomSensor.py Added Python module for Lights. 2004-05-30 11:09:46 +00:00
WhatsNew.py Unified KX_BlenderPolyMaterial & GPC_PolygonMaterial into KX_PolygonMaterial. 2005-01-16 06:02:06 +00:00