Spline Tween Download

0 views
Skip to first unread message

Rode Neagle

unread,
Aug 5, 2024, 3:51:17 AM8/5/24
to tiduhepa
Thisis a list of JavaScript commands that the HTwins made for BFDI's animation. These commands or tools speed up the animator's time for its useful mechanics. So far, only 5 commands have been released and the rest are still kept private, being "Map Grayscale Symbol to Colors.jsfl", "Shaker.jsfl", "Shaker 2.jsfl", "Spline tween.jsfl", and "Recoil.jsfl". Shaker, Recoil and MGSTC are stored in the BFDI source files while Spline tween and Shaker 2 were shared online.

Map Grayscale Symbol to Colors is a command that automatically selects a color scheme for a grayscale symbol based on your optional color swatch. Have a selected color scheme for your swatch. Then, have the selected symbol (which must be in a grayscale color) to get the color by simply dragging the command onto it. This command was released to the public on September 1, 2020.


Recoil is an animation command that produces a recoil effect for a symbol motion. Two keyframes have to be made in order for this effect to be accomplished. Afterwards, simply drag the file onto the selected keyframes. This command was released to the public on August 25, 2020.


Shaker is an animation command that creates a vibrating effect on a symbol's selected keyframes. Drag it onto a prolonged, still keyframe and a menu of options for the effect will be available. Each option will chose the amount of horizontal motion, vertical motion and rotation the shake effect will have. Afterwards, it will choose if the effect wants to be faded out and wants to be in synch. This command was released to the public on March 12, 2018.


char-poster is an animation command released by Michael Huang on Github in 2015[2]. Not much more is known. It's likely it either wasn't used or was stopped being used in BFDI production as it's not present in the list of commands.


F8 replacement is a command that when pressed F8 (if the keyboard shortcut is set to F8), acts like Convert to Symbol but will generate a random name for it (similar to Frames to Graphic) and the symbol will be a graphic (by default).


An unofficial (despite being officially used in post-split BFB scenes) version of this command, made by Waddlemarco, can be downloaded here, as well as an unofficial recreation of the official version made by Natty23 that can be downloaded here.


Shaker 2 is the update to the "Shaker" command. It can be downloaded through this Google Drive link. According to the hidden messages of this command, the command has a lot of updates differencing from the previous command, with all of them listed here:


The message "(Todo: switch to a better looking spline that doesn't linger near its keyframes)" indicates that there was originally gonna be an option to switch to a better looking spline that doesn't linger near the keyframes.


Spline tween is an animation command that smoothens a line of simple keyframes to produce actual motion. A graphic symbol has to be made in order for this effect to be accomplished. Afterwards, simply drag the file onto the selected keyframes. It can be downloaded through this Google Drive link provided by Flaming Strawberry as of August 27, 2020.[4] It works on any Adobe Animate/Flash version as long as the document supports ActionScript 3.0.


Call them splines, paths or curves but regardless of their name they are a beautiful use of math for adding soul and expression to movement and more in your projects. From expressively moving a camera through a battlefiled, to creating an on-rails shooter, to visualizing paths and wires to gaining total control on how a particle system emits and flows the spline solution in Surge is extremly powerful and offers simplistic editing controls that were engineered to feel like they were part of Unity from day one.


To start a spline simply add the Spline component to a GameObject in your scene. The spline system in Surge was crafted to be extremly easy to work with. To edit the curve simply grab a node and move it around. It feels just like anything that came out of the box from Unity - no custom controls and no crazy tools to fiddle with.


To simply place things along a spline with no coding you can use the "followers" array to snap and place an object. Also note that you can even access this array through code to move things with total control.


By default a spline does not render in-game. However, adding a SplineRenderer component will cause a spline to feed its data into Unity's LineRenderer to make itself visible for creating stylish weapon trails, dynamic wires and all kinds of crazy stuff.


Splines offer a full suite of tools that can be accessed through code for placing things, offsetting things, finding the nearest point along a spline and more. Explore the Interface section at the top of this page for more information.


Returns a position on the spline at the given percentage with an overload for providing an offset as well. The "evenDistribution" and "distributionSteps" enable consistant and even distribution along a spline which is more expensive but produces far more consistant results.


After 4 years of work I finally released my developer toolset Surge for Unity. This suite of tools includes the next version of the globally used iTween, a state machine, singleton, display object, and spline. Surge is 100% free and has been battle tested on hundreds of projects and varying teams sizes to get work done faster and better in Unity.


Can I ask something about the splines? Is it possible to fill the list of followers in the inspector all at once? And what about evenly distributing them across the path automatically?



I have been doing this operations a lot.


I just having some trouble with my spline, I want to limit the face direction in two axis how I can achieve this? right now when I rotate the parent of the spline all objects that moves along the spline rotate in three axis so sometimes they are viewing correctly to the camera and sometimes they are not.


I wonder if it's possible to create automatically an average spline between two other splines. That would be very helpful for me to create new contour lines from existing ones. I have searched an answer for a while and that led me to nothing.


I doubt that there is a solution available as the meaning of "average between 2 splines" is not enough definition. Just with this wording you need some intelligence to find the result (or maybe more than one possible solutions).


I wonder if it's possible to create automatically an average spline between two other splines. That would be very helpful for me to create new contour lines from existing ones. I have searched an answer for a while and that led me to nothing. ....


Look into this, or perhaps here. Putting "spline AND average" in the Search window found those, in the Customization Forum only, but there may be others if you Search the Community [farther into the upper right corner] rather than just a single Board.


As for the tween engine, I strongly advice you Leantween, the engine is free and then you can use Leantween editor(paid) to edit the curves. The editor is not required as spline is easily editable, but still nice to have and a thanks to the author who made it for free.


Ok here are your issues, there are two. First issue is your seams. Tweens in rhino and GH work by matching points (in GH case it uses the iso of a ruled surface between curve A and B to handle many cases like when curves have discontinuities)


So first problem, your seams most likely don't align, you can check where the seams are with the adjust seam component, to fix this either rotate your curves so that the existing seams line up, or change the seam location with the seam component.


Second problem, large deviation in number of control points between two curves (specifically when tweening circles/arcs/ellipses to other drawn curves). The ruled surface or connection between the two curves is dependant on control points and the curve. The problem with circles/arcs/ellipses is that they are made differently than other nurbs, they have less control points but use varied weights to make the shape, this is to not have to use 2000xxx points to make a "perfect circle" (look at the control point polygon of a circle it has only 8 points, the corners are weighted differently.) So here you are trying to tween essentially 8 control points to however many are in the outer curve (this also destroys the structure of the weighted circle, hence the weird looking shape)


The fix, run your curves in this case each through a fit curve component. This fits a new curve through an existing curve via control point and curvature info of the input curve while maintaining the shape. This will get you a better distributed tween.


Tweening in Bongo 1.0 was a bit of a hit-and-miss affair - while we provided the ability to smoothly animate between object and view positions with very little additional work, the power to change the way the tweening was accomplished between keyframes was limited.


In animation tweening happens with respect to time - or ticks. Keyframes specify the value of a parameter (in this example, the color) at a specifc tick and the tweening defines the value for the ticks in between the key frames.


Linear interpolation is good for animating objects that should move with constant speed, start moving suddenly without accelerating and stop without decelerating. Linear interpolation over a keyframe gives a sharp change in speed.


Cardinal spline interpolation gives control over impulsiveness of linear interpolation. Tension parameter adjusts the smoothness of the curve. Higher tension results in sharper turns over keyframe ticks. Decreasing tension smoothens the curve.


Highest tension is 1, it results in straight lines between keyframes and sharp turns over them. The curve looks like a tight fishing line. The smaller the tension is the straighter the curve crosses keyframes. Curve starts to look more like a loose hose. Lowest tension is -1, it often makes the curve look a bit over relaxed.

3a8082e126
Reply all
Reply to author
Forward
0 new messages