Тёмный

Custom Tween Easings: Godot Guide 

Bramwell
Подписаться 18 тыс.
Просмотров 6 тыс.
50% 1

How to create and use a Tween that interpolates to and from values using a curve - thus allowing you to create any easing you want. This also allows overshooting, undershooting, returning to your start value and meandering through points. This is a powerful tool that has made standard tweens redundant in my personal game development.
All the code is avaliable on my Github here:
github.com/bramreth/godot_tut...
Timestamps:
what are easings: 1:00
The CurveTween: 2:40
Using CurveTweens: 7:01
Examples: 8:54
Social links:
Twitter: / bramreth
Instagram: / bramreth
My games: bramreth.itch.io/

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

 

10 июн 2020

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@error7studios535
@error7studios535 4 года назад
Great job! You should add a proposal for this so it can be officially implemented in Godot 4.0
@vatan2578
@vatan2578 4 года назад
I look forward to the continuation of your lessons. I wish you and your loved ones health and happiness.
@BramwellWilliams
@BramwellWilliams 4 года назад
Thankyou Kenan, likewise :)
@danniemi9990
@danniemi9990 3 года назад
Thanks! Coming to Godot from After Effects, this is perfect to do what I'm used to doing with Flow.
@Energy0120
@Energy0120 3 года назад
yeah exactly same for me, the only thing i noticed is that maybe it's not as fluid as ae's graph, but maybe it's just because the video wasn't recorded at 60fps i should try that by myself
@rungeon83
@rungeon83 4 года назад
I was using my own custom Curves pretty by interpotlating a value from 0 to 1f at speed * delta, but the set up was awkard and lenghty, this is much better, Just converted this to C#, fantastic tutorial again :)
@BramwellWilliams
@BramwellWilliams 4 года назад
Oh sweet thanks! Love your stuff Rungeon, really glad this was helpful, I'd be really interested to see the c# version c:
@languagelearningexperience6814
2 years later and this is awesome still.
@mapopi-mm
@mapopi-mm 4 года назад
This is really useful, specially for UI animations. Thank you!
@BramwellWilliams
@BramwellWilliams 4 года назад
really glad! anytime Mauricio c:
@5minutemovies977
@5minutemovies977 3 года назад
I needed to come back to this video for something I'm doing, and while browsing your channel, I was amazed at how "few" videos you have, although all very useful, from what I've seen (this one included)
@PlayWithFurcifer
@PlayWithFurcifer 3 года назад
Well produced video and an interesting script!
@mesolagic
@mesolagic 3 года назад
Wow, this is quite a gem. Thank you for making this!
@anasalshikhkhalil2044
@anasalshikhkhalil2044 4 года назад
Immediately subscribed, great idea! I used to use 2 tweens to make this overshooting behavior
@BramwellWilliams
@BramwellWilliams 4 года назад
Super stoked I could help c: that was exactly the spot I was in!
@syedrizvi6408
@syedrizvi6408 3 года назад
Super tutorial. Very impressive. One freindly request, kindly go a little bit slow on new things. I found it difficult to follow on Tween node selection and selecting the curve for pop up. Other people must be OK with it, as they may be familiar with these parts Fanstastic tutorial, no doubt
@rcjvet
@rcjvet Год назад
So glad I found this. I needed a little bounce to my tree falling tween and the Godot TRANS_BOUNCE with EASE_OUT was just way too bouncy. Extending Tween with your implementation was perfect. Thank you for sharing this!
@KrystofKlestil1337
@KrystofKlestil1337 4 года назад
Fantastic! Everything was clearly explained plus the timestamps in the description helped skip parts I already knew about.
@BramwellWilliams
@BramwellWilliams 4 года назад
Very happy to hear it! Thanks Krystof
@cmds.learning7426
@cmds.learning7426 4 года назад
great!
@BramwellWilliams
@BramwellWilliams 4 года назад
Thanks! c:
@optionaldev2876
@optionaldev2876 4 года назад
Oh man, the production quality is really high on this vid, with all the zooms and text animations etc. Great stuff. Though I also really liked the short ~3 minute quick tips you did in the beginning. They would also still be appreciated ;)
@BramwellWilliams
@BramwellWilliams 4 года назад
Thankyou! I'll bear that in mind c:
@danieldrew2356
@danieldrew2356 4 года назад
Amazing quality!! Found u through the Godot discord :) Subbed
@BramwellWilliams
@BramwellWilliams 4 года назад
Thankyou so much, great to hear c:
@CarbsCode
@CarbsCode 4 года назад
Awesome work Bram! Got to love creating custom tools :)
@BramwellWilliams
@BramwellWilliams 4 года назад
Sorry I missed this carbs, thanks a bunch c: it was really nice working on a tool as a change of pace
@CarbsCode
@CarbsCode 4 года назад
@@BramwellWilliams No worries! We are all busy people hahaha And yes working on tools can be very fun and extremely useful later on when you keep using them over and over :D
@stevemcwin
@stevemcwin 2 года назад
Thanks for making this, you really helped me out!
@bodhii
@bodhii 4 года назад
Nice tutorial, very useful! I also really like the demonstrations at the end
@BramwellWilliams
@BramwellWilliams 4 года назад
Thought of your last comment as I added them c: thanks bodhi
@bodhii
@bodhii 4 года назад
@@BramwellWilliams lol never felt so powerful before
@QuantumCode
@QuantumCode 4 года назад
Thank you ! This video is really great !
@BramwellWilliams
@BramwellWilliams 4 года назад
Sorry I missed this, thanks a bunch man c:
@Democracyphobia
@Democracyphobia 4 года назад
please keep up this golden content . would be really cool if you do some volumetric fog and lighting techniques you use .
@BramwellWilliams
@BramwellWilliams 4 года назад
Thankyou! Can do most of my lighting is fairly simple but I'm happy with the effect I get - I think I describe it under the glow section in my fire video but it definitely warrants more fleshing out c:
@thedupy124
@thedupy124 4 года назад
Amazing tutorial !
@BramwellWilliams
@BramwellWilliams 4 года назад
thankyou Mathieu! glad you liked it c:
@jotasantos9398
@jotasantos9398 3 года назад
I can rotate a object in 90 degrees using this? I try to use "transform/rot" but dont work.
@BramwellWilliams
@BramwellWilliams 3 года назад
It may be rotation_degrees if you hover over any variable in the inspector it will tell you it's name in a tooltip. I will check tonight c:
@ioxu
@ioxu 4 года назад
Great presentation and I really appreciate the format of showing a useful tool (And making a factory tool even more intuitive) and then showing how to build it. This is a great idea that solves a problem I had where I wanted to have a tween controlling a slider which had a pause button to let me control the slider directly, but then turning the new slider value to resume the tween was difficult because I had a funky ease type on the tween. Having a linear middle man would have solved that! Also when you assert an undefined curve, did you know you can also add the warning icon in the scene tree panel? godotengine.org/qa/28046/showing-the-alert-icon-in-the-editors-scene-tree
@BramwellWilliams
@BramwellWilliams 4 года назад
Thanks Ben glad I could help! I had no idea you could add a custom icon to asserts that's awesome c:
Далее
Smooth Drag N Drop: Godot Guide
9:28
Просмотров 44 тыс.
I Melted Wood With Friction
8:44
Просмотров 746 тыс.
Fixing Jittery Movement In Godot
5:19
Просмотров 52 тыс.
Remaking LOOP HERO's CRT Effect
8:08
Просмотров 49 тыс.
How to ACTUALLY get into Gamedev
14:01
Просмотров 702 тыс.
Godot Engine 2D Smooth Look At
5:03
Просмотров 16 тыс.
GODOT TUTORIAL: Shockwave shader for noobs
15:48
Просмотров 50 тыс.
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
Просмотров 493 тыс.