ProtoFlux:Once Per Frame: Difference between revisions

From Resonite Wiki
create One Per Frame ProtoFlux node page
 
forgot examples and category
Line 27: Line 27:


Will send an impulse only once in a game tick after * (Call) has been called during a game tick.
Will send an impulse only once in a game tick after * (Call) has been called during a game tick.
== Examples ==
{{Stub}}
[[Category:ProtoFlux:Flow]]

Revision as of 22:34, 3 February 2024

Once Per Frame
*
Next
Flow

This node will restrict the amount of impulses that go through Next (Continuation) to one impulse per game tick. This is useful if you have multiple code branches that may or may not execute at the same time, but you want to run code after all of those branches only once.

Currently, Game Ticks and Framerate are locked and bound to one another. That is until Sauce replaces Unity and the engine threads are made separate.

Inputs

* (Call)

Tell this node to send an impulse out of Next (Continuation). Will only send one impulse in a game tick, ignoring every subsequent request during the game tick.

Outputs

Next (Continuation)

Will send an impulse only once in a game tick after * (Call) has been called during a game tick.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.