Skip to content

Commit

Permalink
add path & fmod nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
IzaZed committed May 29, 2024
1 parent 362e972 commit d2ee8f8
Show file tree
Hide file tree
Showing 18 changed files with 167 additions and 8 deletions.
Binary file modified exts/__pycache__/vimeo.cpython-310.pyc
Binary file not shown.
Binary file modified exts/__pycache__/youtube.cpython-310.pyc
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/images/logic_nodes/math/ln-tween_value.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/images/logic_nodes/objects/transformation/ln-move_to.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions source/manual/logic_nodes/data/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Data
variables/index
load_scene
load_file_content
path/index
24 changes: 24 additions & 0 deletions source/manual/logic_nodes/data/path/get_master_folder.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.. figure:: /images/logic_nodes/data/path/ln-get_master_folder.png
:align: right
:width: 215
:alt: Get Master Folder Node

.. _ln-get_master_folder:

==============================
Get Master Folder
==============================

Go up in directories until the directory name matches the given string.

Inputs
++++++++++++++++++++++++++++++

Name
Name of the folder to look for.

Outputs
++++++++++++++++++++++++++++++

Path
Full path to the directory. If no directory is found, an empty string is returned.
11 changes: 11 additions & 0 deletions source/manual/logic_nodes/data/path/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. _ln-data-path-index:

==============================
Path
==============================

.. toctree::
:maxdepth: 1

get_master_folder
join_path
32 changes: 32 additions & 0 deletions source/manual/logic_nodes/data/path/join_path.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.. figure:: /images/logic_nodes/data/path/ln-join_path.png
:align: right
:width: 215
:alt: Join Path Node

.. _ln-join_path:
==============================
Join Path
==============================

Join multiple components of a path regardless of operating system.

Parameters
++++++++++++++++++++++++++++++

Add Socket
Will add another socket for additional items.

Inputs
++++++++++++++++++++++++++++++

Path
Path Component.

Path
Path Component.

Outputs
++++++++++++++++++++++++++++++

Path
Full path to the directory.
19 changes: 11 additions & 8 deletions source/manual/logic_nodes/math/tween_value.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,37 @@ Type
A value type to process.

On Demand
todo
Automatically move right on the curve if the "Result" socket is being accessed.

Inputs
++++++++++++++++++++++++++++++

Forward
todo
Move right on the curve.

Back
todo
Move left on the curve.

From
Starting tween value. todo
Starting tween value.

To
Ending tween value. todo
Ending tween value.

Duration
Duration of tween. todo
Duration of Tweening.

Outputs
++++++++++++++++++++++++++++++

Done
*True* if node performed successfully, else *False*.

Reached
*True* if the factor is either 0 or 1, else *False*.

Result
Resulting tween value. todo
Resulting tween value.

Factor
todo
Current X-Axis position.
3 changes: 3 additions & 0 deletions source/manual/logic_nodes/objects/transformation/move_to.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ Output

Done
*True* if the node performed successfully, else *False*.

Reached
*True* if the object is within stopping distance, else *False*.
11 changes: 11 additions & 0 deletions source/manual/logic_nodes/sound/fmod/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. _ln-sound-fmod:

==============================
FMod
==============================

.. toctree::
:maxdepth: 1

load_bank
start_event
27 changes: 27 additions & 0 deletions source/manual/logic_nodes/sound/fmod/load_bank.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.. figure:: /images/logic_nodes/sound/fmod/ln-load_bank.png
:align: right
:width: 215
:alt: Load Bank Node

.. _ln-load_bank:

==============================
Load Bank
==============================

Load a `.bank` file from the system for later use.

Inputs
++++++++++++++++++++++++++++++

Condition
If connected, condition must be fulfilled for node to activate.

Path
Path to the `.bank` file. `.bank` files are build with the FMod application.

Outputs
++++++++++++++++++++++++++++++

Done
*True* if node performed successfully, else *False*.
45 changes: 45 additions & 0 deletions source/manual/logic_nodes/sound/fmod/start_event.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.. figure:: /images/logic_nodes/sound/fmod/ln-start_event.png
:align: right
:width: 215
:alt: Start Event Node

.. _ln-start_event:

==============================
Start Event
==============================

Start an event by name.

Parameters
++++++++++++++++++++++++++++++

Speaker Mode
If active, an object reference will be used for the position and orientation of this sound.

Inputs
++++++++++++++++++++++++++++++

Condition
If connected, condition must be fulfilled for node to activate.

Event
Name of the event. Event names are defined within the FMod application.

Position
World position of this event.

Speaker
Reference object for position and orientation.

Channel
Channel for grouping events together.

Outputs
++++++++++++++++++++++++++++++

Done
*True* if node performed successfully, else *False*.

Event
The `Event` or `EventSpeaker` python object.
2 changes: 2 additions & 0 deletions source/manual/logic_nodes/sound/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ Sound
resume_sound
stop_sound
stop_all_sounds

fmod/index

0 comments on commit d2ee8f8

Please sign in to comment.