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!
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
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
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 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
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.
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.
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"));
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 :)
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.
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.
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 !