Shaker | ANTIPIXEL Godot Update 1
๐ Shaker Just Got an Upgrade! ๐
Iโve made a major update (now version 1.1) to my dynamic motion tool with three key improvements:
๐ Improved Algorithm
The shake system now works based on what I call cycles: Each shake is made up of a series of micro-movements (cycles) from one point to another, with full control over direction, speed, and return.
How It Works:
-
Start Shake: I save the original position so the object can return to it at the end.
-
Start Cycle: A random target value is generated within the defined shake magnitude. If there is already a defined sign, it is reversed (-1 becomes 1 or vice versa).
-
Target Refinement (NEW!): Previously, movements were fully random, which often caused unpredictable or visually jarring results. Now, I assign a random sign (-1 or 1) to the target value, giving each cycle a clear positive or negative direction. Iโve also added progressive interpolation, which gradually pulls the object closer to its original position over time. This fixes issues like the final position being too far off, which used to cause sudden jumps at the end.
-
Movement: The object moves toward the target. Higher frequency = faster movement = more total cycles.
-
End Cycle: If thereโs still time left, it loops back to start a new cycle.
-
End Shake: Finally, the object moves smoothly back to its original saved position.
๐งฉ Custom Shakes
You can now easily create your own custom shake behaviors, like using noise functions or other parameters. Shaker gives you the flexibility to define how each cycle behaves, perfect for advanced use cases or stylized effects. Check the documentation for details on how to implement custom shake logic.
๐ฎ Now with Full Unity Support
Iโve ported the entire logic into Unity 6, and itโs now fully functional within any Unity project. The system is optimized, clean, and ready to use.
๐ง With this update, Shaker is smoother, more stable, and way more visually pleasing. Itโs perfect for camera or screen shakes, impact reactions, object tremors, or any effect that needs dynamic movement with control.
Files
Get Shaker | ANTIPIXEL Godot
Shaker | ANTIPIXEL Godot
Make your explosions and impacts feel real!
Status | Released |
Category | Tool |
Author | Antipixel |
Tags | camera-shake, earthquake, Effects, Explosions, Godot, impacts, juice, random, screen-shake, shake |
More posts
- Shaker | ANTIPIXEL Godot Update 24 days ago
Leave a comment
Log in with itch.io to leave a comment.