You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using code from UPBGE python API doesn't work. Tested in current master.
With always sensor:
# The all keys thing without a keyboard sensor (but you will
# need an always sensor with pulse mode on)
importbge# Just shortening names here
keyboard=bge.logic.keyboardJUST_ACTIVATED=bge.logic.KX_INPUT_JUST_ACTIVATEDifJUST_ACTIVATEDinkeyboard.inputs[bge.events.WKEY].queue:
print("Activate Forward!")
EXP_ListWrapper wasn't constructed with flag FLAG_FIND_VALUE which is
allowing to do python comparaison when searching for a value in a container.
List such as queue, values and status are most of the times used this
way.
The flag is restored.
Fix issue #873.
EXP_ListWrapper wasn't constructed with flag FLAG_FIND_VALUE which is
allowing to do python comparaison when searching for a value in a container.
List such as queue, values and status are most of the times used this
way.
The flag is restored.
Fix issue #873.
Using code from UPBGE python API doesn't work. Tested in current master.
With always sensor:
With keyboard sensor "Q":
Test blend: http://pasteall.org/blend/index.php?id=50473
The text was updated successfully, but these errors were encountered: