Upcoming update! Version 0.3!
Two new experimental features will be added to the plugin: 3D Tweening and Export to Script!
3D Tweening allows you to preview tween animations for 3D spaces! For example, a gate sliding open, the ground floating up and down, and more! Export to Script allows you to export the tween animations you’ve been previewing. There will be only two options you can choose to export from: LocalScript or Script.
WARNING: Before you check out the hidden details of the two experimental features, just remember that the visuals and some instructions might change because this isn’t final!
Understanding how 3D Tweening works in Tween Tester
Now you might be asking yourself, “How do you do this kind of thing?!” Well, it’s pretty simple, actually! You’ll be given two and only two parts; they’ll be your points for the tween animation.
TweenPointA is your starting point.
I highly recommend putting this part in the same position as the part you want to tween with. It’s your starting point, so it has to be in the original position, or else it might look a little bit funky during the preview of the tween in action.
TweenPointB is your end point.
There’s not much I could really describe about this other than it being your finishing goal.
Now if you want to find where all of these parts are found, check underneath workspace, and you’ll find a folder named “3DTweeningParts.”.
You can change each part’s size, but I highly recommend that they both should have the same size. It might affect the tween’s path before you preview it!
In order to actually get those two tween-point parts that I’ve talked about before, you’ll need to click on this button.
Now let’s get an example of 3D Tweening in action!
In this screenshot, we can see a huge door and myself. Now what if I wanted to make a tween animation of that door slowly opening? Well, let’s grab the two tween-point parts that I’ve talked about and start to position them in the correct fashion.
You’ll also need to select the object to tween with. In order to do this, you’ll need to click on the Object Selector button, then select your part and click the check mark button.
We’ll get something like this:
The first tween-point part is in the middle point of the door; this is to state the tween path that this is the starting point. The second tween-point part is at the far right; this is to also state on the tween path that this is the finishing point, or finishing line, etc.
Now what is different between 3D Tweening’s preview and UI Tweening’s preview is that UI Tweening has its own separate window to display everything that is going to happen. Meanwhile, 3D Tweening’s preview will all happen in front of you if you click “Preview.”.
Exporting tween animation to script
When you’re ready to export your tween animation, you’ll need to click “Export,” and then you’ll be given this separate window.
You can select which script type you want this tween animation to be exported to. Now, when you’re ready to export your tween animation, click the “Export!” button.
You’ll know if you done everything correctly when you’ll get this notice.
All of your exported scripts will be in ReplicatedStorage, then inside this folder named “TweenTesterExportedScripts.”.