Description
Changelog
Reviews (0)

Interaction Feedback

Static Badge

Plug-n-play UI animations for Control or Node2D nodes

Scale Offset Modulation
Pulse Wobble Shake on press
Sticky Elastic Squishy
Heartbeat Floating Offset + scale + z

Enjoy interactive example: https://paufau.itch.io/godot-interaction-feedback

...or open addons/interaction_feedback/demo/demo.tscn in the editor to click through all of them

Usage

  1. Install the addon from source (copy addons folder to your project directory)
  2. Enable the plugin in your Project Settings
  3. Add an InteractionFeedback node as a child of a Button node
  4. Add an effect node as children of InteractionFeedback (e.g: FeedbackScaleEffect)
Scene tree with InteractionFeedback and effect nodes FeedbackShakeEffect in the inspector
Node setup Fine tune per effect

...or do same thing from code:

var feedback := InteractionFeedback.attach(button)
feedback.add_effect(FeedbackScaleEffect.new())
feedback.add_effect(FeedbackShakeEffect.new())

Effects

Effects naming convention:

  • Feedback<Property>Effect - applied all time during hover/press
  • Feedback<Property>OnceEffect - fires once per state update
  • Feedback<Property>OscillatedEffect - loops continuously
Effect What it does Control Node2D
FeedbackScaleEffect Scale on hover/press
FeedbackScaleOnceEffect Scale kick
FeedbackScaleOscillatedEffect Scale breathe
FeedbackRotationEffect Tilt on hover/press
FeedbackRotationOnceEffect Rotation kick
FeedbackRotationOscillatedEffect Rotation sway
FeedbackOffsetEffect Position shift
FeedbackOffsetOnceEffect Positional kick
FeedbackOffsetOscillatedEffect Vertical bob
FeedbackStickyEffect Leans toward the pointer
FeedbackModulateEffect Color tint
FeedbackModulateOnceEffect Color flash
FeedbackModulateOscillatedEffect Color breathe
FeedbackZLevelEffect Raises z_index
FeedbackHapticEffect Vibrates the device
FeedbackCursorEffect Changes the cursor shape
⚠️ FeedbackPulseEffect Alias -> FeedbackScaleOscillatedEffect
⚠️ FeedbackWobbleEffect Alias -> FeedbackRotationOscillatedEffect
⚠️ FeedbackShakeEffect Alias -> FeedbackRotationOnceEffect

⚠️ marks deprecated classes, use their analogs instead

Note: On touch screens hover effects are skipped by default, since there is no pointer to hover with. Override per node with touch_mode

Sponsor & Support

⭐ _Star_ ⭐ the repo if it saved you time

You can also support me here:

Buy Me a Coffee at ko-fi.com

Changelog for version 1.1.0

No changelog provided for this version.

Reviews

Interaction Feedback has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.