Тёмный

Get Started With Unity - Tweening Animation 

Dapper Dino
Подписаться 60 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

9 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@amclane0726
@amclane0726 4 года назад
You've got a great voice for instructing and a nice spin on basic content. How similar is tweeting to lerp/slerping? btw, love your ecs/dots videos! Yet reviewing the basics (like this video) is paramount to creating an (effective) experience effectively. Thanks!
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Thanks for the compliments :) Lerp (linear interpolation) and Slerp (spherical interpolation) are to kinds of eases (like how I used EaseOutBack) easings.net/en. It's about how you get from A to B. DOTween has much more than just simply going from one value to another since there are also callbacks and you can chain Tweens too. There is much more that I've not mentioned so give their website a look: dotween.demigiant.com/index.php
@ben_burnes
@ben_burnes 4 года назад
Heyy I know Demigiant and I remember when he put out DOTween. He's a super cool guy who recently released a beautiful narrative puzzle game called Still There :D
@baroquedub
@baroquedub 4 года назад
More DOtween tutorials please! :) I find its docs incredibly obtuse and there seem to be very few RU-vid tutorials about it, which is surprising considering it's so widely used.
@uchihai_a_h4871
@uchihai_a_h4871 4 года назад
correct! even though it's the top one on asset store. I think the creator of Dotween assumes we will get a dream on how to use it.
@baroquedub
@baroquedub 4 года назад
@@uchihai_a_h4871 Since my comment ThousandAnt did this amazing code walkthrough: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-iuPi8Zhex50.html It was a total epiphany for me. Highly recommended
@FelipeGomesRocket
@FelipeGomesRocket 4 года назад
Really nice tutorial man! Keep going with the good work.
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Thanks :) Glad you enjoyed it!
@bridydone9252
@bridydone9252 3 года назад
Nice video. You do a good job, keep it up. There's a lot of "beginner" videos out there, but there isn't much for transitioning from beginner to advanced. You made it look easy.
@misli_kraba
@misli_kraba 4 года назад
Before watching video : great avatar of the channel, man!
@misli_kraba
@misli_kraba 4 года назад
After watching video : great content, man!
@pamhs368
@pamhs368 4 года назад
This is a great video! Thank you so much for your clear instructions. I just purchased DOTween Pro for only $15, and am wondering if the coding process is the same. The Pro version gives a component that you can add to a GameObject, and then choose the Tweens you want. I am hoping you could do videos on the Pro version of DOTween, but if not, videos on UI and Tweening. Looking forward to watching all of your videos - very professional, no stumbling around like some RU-vidrs.
@Liqvidniy
@Liqvidniy 4 года назад
You can use OnStart and OnConplete callbacks to perform code on this events. There is no need in coroutines I quess. transform.DOMove(Vector3.left * 10, 2, true) .OnStart(() => Debug.Log("Start")) .OnComplete(() => Debug.Log("Finish"));
@HadiLePanda
@HadiLePanda 4 года назад
Nice tutorial, dotween seems pretty interesting!
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
It's super useful :) This was just a simple example for getting into it but I can think of many more video ideas using it :D
@EaglePancake
@EaglePancake 4 года назад
So many good tutorials !
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Thank you :)
@V.Z.69
@V.Z.69 3 года назад
I simply cannot find a 2D tween. Is this possible on 2D objects in a 2D game? Or is the code only asking for 3D objects?
@diamondzoroark5647
@diamondzoroark5647 4 года назад
Any reason to use while(isActive) yield return null; over yield return new WaitUntil(() => !isActive); ?
@melvinheinsch5087
@melvinheinsch5087 4 года назад
Nice tutorial, but why you don't use: ... transform.DORotate(...) .OnComplete( ()=> isFlipping = false); It's a shorter and clearer way.
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
I had problems with snapping and you don't get control over which axis it changes. Even though I wanted to go from (0, 0, 0) to (180, 0, 0) it decided to change the y and z axis to get there. I just went with a simple change of the x axis only and it works just fine :)
@Mad_Luv85
@Mad_Luv85 3 года назад
Can you animate crosshairs using Tween? so it's less taxing on the performance for every frame? I've been struggling on finding information on spreading a crosshair to move on player input. trying to move a character controller in VR so when my character walks the crosshair spreads and when he Runs faster it spreads furth but always retracts slowly when going back into an idle state. I noticed when using basic UI canvas to add a crosshair, it does slow performance down because it's drawing every frame an update. if anyone has any clue how to implement this it would help or at least send me somewhere. Trying to just make some old-school 2001 Ghost recon Crosshairs or old-school Rainbow six crosshairs from the n64 days animated in a VR setting.
@SomethingWOW0
@SomethingWOW0 4 года назад
God bless you
@danielmakac583
@danielmakac583 4 года назад
how can i pause the game without pausing the DOTween animations? does Time.timeScale afftect DOTweens animations to?
@danielmakac583
@danielmakac583 4 года назад
ow wait turns out you need add : ....... .OnUpdate(true) .SetEase(Ease.OutBack); then it's a fix hahaha
@ajphototrekker
@ajphototrekker 3 года назад
as soon as I try to add the .update to the: var tweener = DOTween.To(() => rotation, x => rotation = x, targetRotation, 1f) .onUpdate(() => transform.eulerAngles = new Vector3(rotation, 0f, 0f)); I get 2 errors Delegate 'TweenCallback' does not take 1 arguments Cannot assign void to an implicitly-typed variable Unsure what is causing them.
@jimnewson7348
@jimnewson7348 3 года назад
Hi Sir, Can we use this for 3 D model, creating a button and then move the 3 D Object
@47Mortuus
@47Mortuus 4 года назад
DOT.... .OnUpdate()... Is this package using DOTS?
@winvidchannel7626
@winvidchannel7626 3 года назад
Great tutorial, BUT! I see zero sense in using coroutine in your example. All it does is slowing down the code and decreasing readability )
@SomethingWOW0
@SomethingWOW0 4 года назад
Hi bro I am back
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Welcome back :)
@random_precision_software
@random_precision_software 4 года назад
I don't think you should do fancy coding when teaching a simple thing like tweening. People need to learn basics first. No disrespect.. just my point of view..BUT keep up the good work !
Далее
Get Started With Unity - Input System
13:49
Просмотров 10 тыс.
Get Started With Unity - Unity Events
11:17
Просмотров 5 тыс.
Get Started With Unity - Scriptable Objects
14:53
Просмотров 12 тыс.
Game Architecture Tips - State Machines - Unity
19:04
How to Start Making Games with No Experience
10:55
Просмотров 97 тыс.
How to make 2D GLOW in Unity!
15:56
Просмотров 599 тыс.
I Made the Same Game in 8 Engines
12:34
Просмотров 4,1 млн
Game Architecture Tips - Unity
19:52
Просмотров 141 тыс.
Get Started With Unity - The Animator
12:40
Просмотров 18 тыс.
How to animate like Kurzgesagt using ONLY PowerPoint!
16:50
DoTween - Simple Animations in Unity
14:38
Просмотров 20 тыс.
2D Water Shader in Unity
23:03
Просмотров 83 тыс.