Quick Start
The fastest way to see Game Feel Flow in action is with the GFUtil helpers.
One-shot Effects
# Shake
GFUtil.shake(target_node, 1.0)
# Flash white
GFUtil.flash(target_node, Color.WHITE)
# Scale punch
GFUtil.scale(target_node, 1.0)
# Freeze frame
GFUtil.freeze(0.05)
Using GFFPlayer
For reusable, configurable effects, use the GFFPlayer node:
- Add a
GFFPlayernode as a child of the target node. - In the Inspector, create a Combo.
- Add effects to the Combo.
- Trigger it from code:
Play by Effect Name
You can also play individual effects by their registered name:
Next
Learn how to build your first timeline-based Combo: Your First Combo