Тёмный
No video :(

Level Select Screens in Godot 

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

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

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@codernunk
@codernunk Год назад
Thanks for watching! Which game has your favorite level select screen?
@wheatwhole_
@wheatwhole_ 2 месяца назад
maraioh
@Azzavhar
@Azzavhar 8 дней назад
Thank you for the video. & my favourite level select screen is Donkey Kong Country 2! 😁
@codernunk
@codernunk 8 дней назад
@@Azzavhar That's one of my favorite platformers of all time. Great game
@Azzavhar
@Azzavhar 8 дней назад
@@codernunk Nice! 👍 Same! I recently met the developers of Donkey Kong Country in person! And they signed my copy of the game. 😁 Good times! ✨ 🎉
@starbarzs7160
@starbarzs7160 9 месяцев назад
Incredible video! I'm learning godot and this video gave me so much information I needed about making a main menu / level select. Loading scenes, connecting scenes, class names and exports - so much good info for learners!! ty
@skepsys_d
@skepsys_d 9 месяцев назад
Very cool implementation of old school world/level select screens. Thanks for sharing and stay safe out there.
@user-nc9on4bp2o
@user-nc9on4bp2o Год назад
Excellent tutorial similar to an eighteen-wheeler truck-trailer loaded with information. Exceptional video 10/10.
@codernunk
@codernunk Год назад
Not as excellent as your metaphor though! Thank you!
@DarkBowserVR
@DarkBowserVR 8 месяцев назад
Incredible explanation, really helped me out here 🙏
@kee5069
@kee5069 Год назад
Great tutorial! Thank you!
@codernunk
@codernunk Год назад
No problem!
@redcyberdragon29
@redcyberdragon29 5 месяцев назад
Exactly what i was looking for. thank you!
@codernunk
@codernunk 5 месяцев назад
Glad I could help!
@meraklmuskulpesent8313
@meraklmuskulpesent8313 Год назад
Thanks dude! Keep up the good work.
@codernunk
@codernunk Год назад
No problem, and thank you too!
@aaamott
@aaamott 3 месяца назад
If you get the error, 'Identifier "Functions" not declared...' replace "Functions.load_screen_to_scene..." with use the same code used to load the level select from world select (but adapt it to the levels), *or* follow this tutorial to get the "Functions" script: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-n0HXRToIZBc.html
@codernunk
@codernunk 3 месяца назад
Thanks for letting us know!
@Azzavhar
@Azzavhar 7 дней назад
Hey, @aaamott I don't suppose you have the code for this adaptation at all do you? I'm looking into it now and I'm struggling a bit with this particular code adaptation. :) Thank you.
@aaamott
@aaamott 7 дней назад
@@Azzavhar I have it somewhere, but I've changed it quite a bit. If you follow the tutorial I linked though and write the Functions script, then save it where it says to in that tutorial but in this project, your code should work!
@Azzavhar
@Azzavhar 7 дней назад
@@aaamott Gotcha 👌 I'll go create a 'functions' script then as you suggest and as the other video suggest. ✅ If that'll do the trick then I'll go bash out that script. Thank you for your help. 😁 👍
@vinnmarty
@vinnmarty 11 месяцев назад
Wonderful tutorial and exactly what I was looking for, the only thing I think I'm doing wrong is this line in the level_select script: Functions.load_screen_to_scene(current_level.next_scene_path) It gives out this error, not quite sure why: Parse Error: Identifier "Functions" not declared in the current scope.
@codernunk
@codernunk 11 месяцев назад
I appreciate the feedback! That particular line was just to demonstrate how you could load a scene using a loading screen and is not necessary code. The loading screen tutorial explains that logic more, if you are interested in implementing something like that. Otherwise, you should be able to omit that code and just use the get_tree().change_scene_to_file() function, if I remembered it correctly. Let me know what you find - I can provide more help tomorrow as needed. Not trying to promote this as a shameless plug, but here's the loading screen tutorial I made for reference: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-n0HXRToIZBc.html
@agriasoaks6721
@agriasoaks6721 Год назад
Is there a longer and slow-paced version if this? 😅
@codernunk
@codernunk Год назад
I wish I could say I do, but this is the slowest I go 😂
@Spikky037
@Spikky037 7 месяцев назад
i just put the video at .5 times speed
@slogwastaken
@slogwastaken 11 месяцев назад
Can you pls make a tutorial that lets you lock levels
@codernunk
@codernunk 11 месяцев назад
Certainly! There's no promise that I will get it out soon, though, as I have quite a bit of a backlog to work through. In the meantime, what you can do is add some metadata to your level list (such as a number of collectables you need to unlock), and then in the _ready function of that level tile, lock that level if the condition is not met yet. Then, in the code that handles moving the player icon, check if the destination level is locked first before letting the icon move toward it. Hope this helps!
@slogwastaken
@slogwastaken 11 месяцев назад
Thank you very much!👍 You're a lifesaver! Definetely earned yourself a sub
@azeemiqbal181
@azeemiqbal181 8 месяцев назад
Hello! The Code was running well until 9:40 when it gave me an error on the code "Functions.load_screen_to_scene(current_level.next_scene_path)". The error was "Parse Error: Identifier "Functions" not declared in the current scope.". I don't know what to do. Can you help? :(
@codernunk
@codernunk 8 месяцев назад
These may be your potential issues: 1) Did you remember to add Functions to your AutoLoad scripts? Go to the Project Settings, and you should be able to add it via the AutoLoad tab. 2) Alternatively, you should be able to make load_screen_to_scene a static function and it should allow you to call it in other scripts without adding it as an AutoLoad script. Let me know if you have any further questions!
@aaamott
@aaamott 3 месяца назад
I got stuck in the same place for a minute. The author didn't show the "Functions" script in this video, but in another. He says it quickly, but you can use the same code used to load the level select to load a level scene. He just *also* has a video showing how to make a loading screen that uses a Functions script with a load_screen_to_scene function. @codernunk I would recommend you add a link to the video in the description since you can't edit the video. Gonna go paste this as replies to the other comments mentioning the issue and leave a main comment in case someone else comes looking.
@Charlotet_1411
@Charlotet_1411 10 месяцев назад
Woah
@wheatwhole_
@wheatwhole_ 2 месяца назад
i didnt understand a single thing but i just did it it was hard 🤣
@codernunk
@codernunk 2 месяца назад
Sorry, man. Let me know how I could have explained it better. I'm happy to incorporate feedback in my future content.
@wheatwhole_
@wheatwhole_ 2 месяца назад
@@codernunk I’d say explain things with visuals and put a magnifying glass section when typing code. Also slow down a bit
@GearedGeek
@GearedGeek 9 месяцев назад
This doesn’t work for me in Godot 4.1.2
@codernunk
@codernunk 9 месяцев назад
May you share with me what error you are seeing? I believe most of it should work, but I'm curious to see what the issue is exactly so I can help solve it. Thanks!
@aaamott
@aaamott 3 месяца назад
I'm guessing your error was something to do with "Functions" and if so, I got stuck in the same place for a minute. The author didn't show the "Functions" script in this video, but in another. He says it quickly, but you can use the same code used to load the level select to load a level scene. He just *also* has a video showing how to make a loading screen that uses a Functions script with a load_screen_to_scene function. Gonna go paste this as replies to the other comments mentioning the issue and leave a main comment in case someone else comes looking.
Далее
Collectable Buddies in Godot!
11:02
Просмотров 1,2 тыс.
Jiggle Physics in Godot
13:31
Просмотров 75 тыс.
Simple Flower Syrup @SpicyMoustache
00:32
Просмотров 2 млн
Can I Remake Super Mario World in Godot? (Part 1)
18:44
Interact With Objects in Godot 4 | Let's Godot
10:39
Просмотров 54 тыс.
I Made A Game In 1 Hour, 10 Hours, 100 Hours
8:06
Просмотров 3,9 тыс.
10+2 AWESOME ADDONS for GODOT 4
8:36
Просмотров 138 тыс.
Ego is the Enemy
5:43
Просмотров 599
Using Composition to Make More Scalable Games in Godot
10:13
Simple Flower Syrup @SpicyMoustache
00:32
Просмотров 2 млн