How to Use Logic Nodes in UPBGE, Mini Instruction Manual

check out to the following link

In this topic I’ll try to explain some of the uses of logic nodes that I understand periodically until the actual instruction manual is released.
If you have any knowledge of even one node, you can participate in the topic by putting pictures and texts explaining how logic nodes work.

2 Likes

First, let’s start with the colors of the inputs and outputs.
20210813_214549
red: condition
- Input: The condition or event required to run the node.
- Output: the resulting event that will trigger the connected node
-The condition input cannot be connected to any other output than the condition output

Orange: value
-Input: The value entered by a connected node
-Output: the value generated from the node
-The value can be an integer, float, string, or a file path, depending on what is required in the connected node or in the game properties

blue: object
-Input: The object on which the operation will be performed.
-Output: the object specified by the node
-The object input cannot be connected to any other output than the object output

20210813_214824
-It is not input, meaning it is not recommended to connect to the output of another logic node
20210813_214846
-It is not input, meaning it is not recommended to connect to the output of another logic node
-When check box is checked, the function written next to check box is executed

20210813_214900
Material
-Input: the material on which the operation will be performed
-Output: the material specified by the node
-It is used to control material/shader nodes during the work of the game.
-The material input cannot be connected to any other output than the material output
20210813_214908
geometry
-Input: the geometry nodes on which the operation will be performed
-Output: the geometry nodes specified by the logic node
-It is used to control geometry nodes during the work of the game.
-The geometry input cannot be connected to any other output than the geometry output
20210813_215219
shader nodes group
-Input: the shader nodes group on which the operation will be performed
-Output: the shader nodes group specified by the logic node
-It is used to control shader nodes group during the work of the game.
-The shader nodes group input cannot be connected to any other output than the shader nodes group output
20210813_215011
python list “set of values”
-Input: the list on which the operation will be performed
-Output: the list specified by the logic node
-It is used to modify the components of the list, the list can be used as a reference for the values that will be used during the operation of the game.
-The list input cannot be connected to any other output than the list output
20210813_215122
python dictionary
-Input: the dictionary on which the operation will be performed
-Output: the dictionary specified by the logic node
-It is used to modify the components of the dictionary
-The dictionary input cannot be connected to any other output than the dictionary output
20210813_215202
python code
-It is not input, meaning it is not recommended to connect to the output of another logic node.
-Select a Python file saved in the current blender file to be executed in the game
20210813_215040
sound
-It is not input, meaning it is not recommended to connect to the output of another logic node.
-It is used to perform operations on audio files
20210814_000523
color
It is used to modify the color of the material or the color of the light, it will be explained in detail later

1 Like