Тёмный

Easy way to make a scaling UI menu in Godot 4.2 

Ranger X
Подписаться 44
Просмотров 2,2 тыс.
50% 1

A quick tutorial that clarifies the difference between control nodes and the more specific container nodes. Containers are great, but you don't always need one!

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

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@FlavioZanoni
@FlavioZanoni 2 месяца назад
Hey bro, this really helped, thanks a lot, I was like, why every godot tutorial I see does not mention the responsive part, now I can finally sleep
@RangerX___
@RangerX___ 2 месяца назад
Glad it helped!
@gracechan3039
@gracechan3039 27 дней назад
Thanks for this. I like this teaching style. Not simply copy me, but here’s the basics of what you need to know to build your own.
@soirema
@soirema Месяц назад
OMH this is golden Im still struggling with the control nodes and you explained it greatly
@yzgrdyn-WiseGuardian-
@yzgrdyn-WiseGuardian- 17 дней назад
I wish I found this earlier, I KNEW I was doing something wrong.
@mr_null1
@mr_null1 3 месяца назад
Great tutorial!
@RangerX___
@RangerX___ 2 месяца назад
Thank you!
@maxum00
@maxum00 25 дней назад
Thank you for the great tutorial. Do you maybe also know if it is possible to have the text of the button scale with the button?
@RangerX___
@RangerX___ 17 дней назад
Maybe, but I think it will require a custom implementation in script and some custom fonts!
@traumwelt1975
@traumwelt1975 3 месяца назад
thanks you saved my game ^^
@RangerX___
@RangerX___ 2 месяца назад
Glad I could help
@Vivek-qc8qo
@Vivek-qc8qo 15 часов назад
my trails have a random offset , don't know where it came from , but the trails are not starting from the body of the main player but somewhere else from the screen , anyone know how to solve this issue ? trails and player are at 0,0 in the starting
@macguffin9529
@macguffin9529 15 дней назад
Id really love something like this that maintains a consistent aspect ratio, but i cant figure it out
@RangerX___
@RangerX___ 14 дней назад
Remember, the UI elements are nodes so you can manipulate them with script.
@novisiononme
@novisiononme Месяц назад
bro my eyes...
@RangerX___
@RangerX___ 17 дней назад
Are you okay?
@ayyasif
@ayyasif 3 месяца назад
lovely tutorial, but that is not the most efficient way of doing it, as much i hate containers, they are a necessary evil to keep stuff organized.
@deltagamma1442
@deltagamma1442 2 месяца назад
explain if you don't mind. He just demonstrated that it scales perfectly.
@ayyasif
@ayyasif 2 месяца назад
@@deltagamma1442 i would recommend you to watch Godotneers's video about the UI. It's 47 min long, but you will not have any problems with UI
@ericchrisman6255
@ericchrisman6255 2 месяца назад
@@deltagamma1442 Think of a situation in which you needed to create UI elements dynamically. For instance, an inventory UI that contains any number of items in which each item would require its UI element. Using a container then would be useful for keeping everything organized during runtime for each item could be added in a vertical or horizontal container with a scroll element. Though, admitly there are other ways of solving that problem without containers, a container would typically be the quickest and simplest answer to that problem.
@oddlytimbotwillison6296
@oddlytimbotwillison6296 Месяц назад
@@deltagamma1442 It does not scale perfectly. The aspect ratio is all over the place.
@brycea5452
@brycea5452 Месяц назад
@@oddlytimbotwillison6296 This is obviously for demonstration purposes. He was trying to show that at any resolution, any aspect ratio, the buttons will try to maintain their general shape. Obviously in a finished game you would choose to maintain the aspect ratio
Далее
Эконом такси в твоем городе 😂
00:59
Мужа или парня
00:42
Просмотров 14 тыс.
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 632 тыс.
THIS Is The Key To Good UIs in Godot
9:39
Просмотров 3,2 тыс.
I Created My Own Custom 3D Graphics Engine
26:29
Просмотров 63 тыс.
Easy UI Animation in the Godot Engine
15:31
Просмотров 9 тыс.
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
Просмотров 518 тыс.
All Rust string types explained
22:13
Просмотров 169 тыс.
Tmux has forever changed the way I write code.
13:30
Просмотров 983 тыс.
Эконом такси в твоем городе 😂
00:59