Age | Commit message (Collapse) | Author |
|
(so one can find more about the joystick class without having to search joystick)
code untested by the way. Sorry but I can no longer build sphinx docs here. I will try to fix that later.
|
|
to the wiki for detailed cmake build setup instructions.
|
|
cross platform, patch by Lawrence D'Oliveiro.
|
|
found at:
http://www.blender.org/documentation/blender_python_api
Easier for linking wiki docs.
|
|
- update man page for new additions since last release.
- note that --start-console argument is windows only.
- correct own assertion in own recent commit.
|
|
This should make them much easier to browse.
|
|
Satoshi Yamasaki aka yamyam, thanks!).
|
|
|
|
* Undoing the previous applyMovement() changes for characters. This was causing bugs for the Motion Actuator.
* Creating a Character Motion type for the Motion Actuator with specific controls for characters. This includes moving, rotating and jumping.
* Adding a KX_CharacterWrapper.walkDirection to set the character's direction and speed.
Note, this also resolves the following bugs:
[#33585] "Setting dLoc of motion actuator [0,0,0] via python won't stop object" reported by Manuel Bellersen (urfoex)
[#33503] "Character physics type won´t accept more than one motion anymore" reported by Mr Larodos
|
|
|
|
next to image color-depth option.
having buttons labelled [8, 16] on their own is not very meaningful.
|
|
- cycles ui used 'cscene' for scene.cycles and scene.cycles_curves
- style cleanup
|
|
|
|
|
|
|
|
from Patrick Boelens (senshi). with modifications to split it into its own function.
also added C style multi-line comment support /* ... */
I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block.
For now it simply uses OSL syntax highlighting when the extension is '.osl'.
|
|
|
|
different logic for a single jump versus a double jump. For example, a different animation for the second jump.
|
|
a character can perform before having to touch the ground. By default this is set to 1, which means a character can only jump once before having to touch the ground again. Setting this to 2 allows for double jumping.
|
|
separate thread to keep the BGE from freezing. Here is an example from the docs:
# Print a message when an async LibLoad is done
import bge
def finished_cb(status):
print("Library (%s) loaded in %.2fms." % (status.libraryName, status.timeTaken))
bge.logic.LibLoad('myblend.blend', 'Scene', async=True).onFinish = finished_cb
LibLoad() now returns a KX_LibLoadStatus object for information on the library loading. LibNew() and LibFree() are unaffected by this commit. In other words, the async option only works for LibLoad(). Furthermore it only works for Scenes, not Actions or Meshes.
|
|
bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like:
if bge.logic.joysticks[0]:
activate_player_one()
if bge.logic.joysticks[1]:
activate_player_two()
etc..
The interface exposed by SCA_PythonJoystick is very similar to the joystick logic brick except for one key difference: axis values are normalized to a -1.0 to 1.0 range instead of -32767 to 32767, which is what the logic brick exposed.
|
|
|
|
- Blender/Python Addon Tutorial: a step by step guide on how to write an addon from scratch
- Blender/Python API Reference Usage: examples of how to use the API reference docs
Thanks to John Nyquist for editing these docs and giving feedback.
|
|
versions, and some minor doc edits.
|
|
supported.
also minor edits to py-api-ref
-- This line, and those below, will be ignored--
M doc/python_api/sphinx_doc_gen.py
M doc/python_api/rst/include__bmesh.rst
M source/blender/modifiers/intern/MOD_solidify.c
|
|
|
|
also added note on python3.3's faulthandler module.
|
|
already in editmode the tessfaces wouldn't get recalculated.
also minor edits to bmesh rst.
|
|
number of args as an arg.
|
|
|
|
store id()
in game object integer properties since it may not fit in 32 bits integers.
|
|
in a chain.
|
|
operator, also use :class: references.
|
|
bmesh_opdefines.c.
see:
http://www.blender.org/documentation/blender_python_api_2_64_9/bmesh.ops.html
|
|
|
|
grabbed the docs from the UI descriptions from RNA for the Steering Actuator. However, these aren't the best descriptions, and both the UI descriptions and the docs could use some attention. Also, steeringVec and facingMode didn't have corresponding UI elements, so I've left them undocumented for now. Someone who knows what they do can hopefully document them.
|
|
based on their doc strings. There was also an :rtype: in the bge.logic.setExitKey() docs that should have been :type:.
|
|
string.
|
|
|
|
|
|
|
|
to bge.logic.rst where the rest of the constants docs are.
|
|
ROT_MODE_* to match the actual constants from bge.logic.
|
|
|
|
|
|
just their names and values are in the docs, not what they actually do.
|
|
bge.types.rst to bge.logic.rst where the rest of the constants docs are.
|
|
to bge.logic.rst with the rest of the constants docs are.
|
|
|
|
bge.logic.rst with the rest of the constants docs are. Not only is this more consistent, but it also makes Campbell's script happier.
|