0
$\begingroup$

The scene has two selection texts saying "Selection (1)" and "Selection (2)". The red circle on the left should be used to make a selection with the keys (up/down).

I tried to implement that logic in the Game Editor which I thought shouldn't be to complicated.

The logic in one sentence: "You can only press up/down if the user has pressed the opposite key before." This is the first project I'm doing with blender so I took a look at the documentation and added the Keyboard sensor which is working fine. But I struggle to implement the logic constraint. I tried to use the "Property" sensor but I don't know which values for Property are valid and the documentation on blender does not contain an example: https://docs.blender.org/manual/en/dev/game_engine/logic/sensors/types/property.html

Szene

Logic Editor

$\endgroup$

1 Answer 1

0
$\begingroup$

It turned out that the properties are not the custom properties of the object - more like variables on the right side of the logic editor which I didn't see because the view was to small.

Game Properties

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.