r/Unity2D • u/Krons-sama • Feb 06 '21
Show-off Added some satisfying level unlock animations.
10
u/Krons-sama Feb 06 '21 edited Feb 06 '21
If you're making a 2D game, there is no rule saying that you always have to use 2D cameras. When it zooms into the purple node at the end, it actually moving in the z axis. It's not as obvious here but regular navigation in the level unlock screen makes it obvious.
The animations were done in Dotween.
The level selection screen actually serves multiple purposes.
Green nodes = level.
Yellow nodes = Unlocked Files(more will be added)
Purple nodes = Story beats. It's necessary to be able to replay cutscenes due to having mutiple endings
2
u/YummyRumHam Beginner Feb 06 '21
How do you rate DoTween? I hear about these assets people use for animations and am very curious about how much time they save and which one is the best.
3
u/Krons-sama Feb 07 '21
I'd say it's a huge step up from manually creating animators for every minute difference in animation. Especially since you can't tune animations with variable like you can in DoTween or any other tween engine.
Technically, you can do everything DoTween does with coroutines and manual interpolation. But it's much more convenient to use DoTween as it typically takes one line and you don't have to manage all the state. In fact, it actually integrates very nicely with coroutines as you can just tell DoTween to animate something and wait for that to complete very easily.
There are quite a few tTeening engines. I'd say it honestly doesn't matter what you use. Among the ones I've used, DoTween is the best imo.
DoTween has a free version with a lot of features.. I recommend trying that out to make some UI animations to see if you like it.
1
u/YummyRumHam Beginner Feb 08 '21
Thanks for the reply! Iโll check out the free version to see how it works ๐
4
2
2
1
1
1
1
1
1
43
u/ErikWDev Feb 06 '21
Maybe make the animation speed increase exponentially for when you unlock a lot at one time, was a bit long. But damn that's some smooth motion though xP