Тёмный

Godot 4 3D Platformer Lesson #14: Fall Zone to Change Scenes 

BornCG
Подписаться 188 тыс.
Просмотров 2,6 тыс.
50% 1

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

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@WeirdBrainGoo
@WeirdBrainGoo День назад
*wraps up fallzone with level inside and bakes in the oven* Mmm, fallzone... These tutorials are great, thank you.
@ashuraxelr
@ashuraxelr 18 дней назад
Sorry for barging in 🥲I got a few notes: * WorldBoundaryShape3D shape is an infinite plane designed specifically for this purpose, so you don't have to worry that your collision box is big/thick enough. * Godot engine doesn't like when you remove objects and/or switch scenes in physics signal handlers. You should use call_deferred() method, or use a Timer * You might need to setup collision layers, otherwise a random falling object will trigger scene transition. * You can use get_tree().reload_current_scene() if you just need to restart the level.
@Demonluv
@Demonluv 18 дней назад
Yeah I get a "Removing CollisionObject node during a physics callback is not allowed..." error, I assume it has to do with call_deferred() method. Can you perhaps give an example of code we SHOULD be using instead, in regards to this tutorial? Thanks
@CocolinoFan
@CocolinoFan 18 дней назад
>otherwise a random falling object will trigger scene transition Oh! So that's why my game keeps restarting.
@ashuraxelr
@ashuraxelr 18 дней назад
@@Demonluv Sure, use get_tree().call_deferred("change_scene_to_file", "res://level_1.tscn") to load from file, or get_tree().call_deferred("reload_current_scene") to restart level. call_deferred() takes a function name string as the first argument followed by function parameters, if any. Edit: It doesn't call it immediately, but when it is safe for the engine.
@PastaMaster115
@PastaMaster115 17 дней назад
@@CocolinoFan what have you made besides the player that can fall off the map?
@CocolinoFan
@CocolinoFan 17 дней назад
@@PastaMaster115 The falling cubes at the beginning of the series.
@dgc7419
@dgc7419 18 дней назад
makes my day when I get a new bornCG notification hehehe
@lil_joey90
@lil_joey90 18 дней назад
You've helped me a lot in gamedev🗿💙
@BornCG
@BornCG 18 дней назад
☺️ glad I could help!
@PastaMaster115
@PastaMaster115 18 дней назад
That WAS a quick one haha. It's a shame that I already did this. I did it a few videos ago. I already knew how to do it because of your 2D platformer videos. I'm grateful for your tutorials. Yours are some of the best on the site. I wish they could be made quicker but I understand having a child absorbs a good amount of your time. Been there a few times haha.
@davidb1191
@davidb1191 18 дней назад
Muchas gracias por compartir estos vídeos
@godotlegend757
@godotlegend757 17 дней назад
Thank you very much Great Project All this project is AWESOME
@kittyfolk
@kittyfolk 16 дней назад
Thank you for this series!
@gamerparty11
@gamerparty11 15 дней назад
I followed this tutorial series all the way trough, it's absolutely amazing! I was able to easily follow along and create even more than what you showed in the videos you've made so far, I can't wait until the rest come out! (This one is 14/21 (or so I've heard) )
@BornCG
@BornCG 15 дней назад
Thanks for watching and your comments! There will be 26 lessons in all 👍
@raybanbanray4314
@raybanbanray4314 18 дней назад
I have a question, I am relatively new to godot even thought I have dabbled with it last year for a bit, but Instead of creating a fall zone with colliders and a signal to call a function to the player charachter's script to handle a new level or maybe a restart, woud it not be easier in the players script that you simply check if the player's y-axis is below some set point to handle it all?
@dannymac653
@dannymac653 17 дней назад
Damnit, I'm all caught up now ;_;
@michaelwhaley4638
@michaelwhaley4638 День назад
do you have project files to download? I accidentally deleted my player script for the project.
@jasonwilliams8730
@jasonwilliams8730 18 дней назад
👍
@Nuzuwi
@Nuzuwi 18 дней назад
❤❤❤❤
@animatorgear_
@animatorgear_ 16 дней назад
Bro please upload video early
@aneerudh1712
@aneerudh1712 18 дней назад
yo dude, if your this late in each video then what is the point of these? idk not tryna be rude but i remember having to wait like 3 months or smthn for the old 2d series. Kinda getting pointless if you upload every 2-3 weeks
@DaveyBabyyy
@DaveyBabyyy 18 дней назад
These are free tutorials. He’s obviously putting a tremendous amount of work into these, so that they are not just relevant to those following along in real time, but also those who come across them in the future. Good things take time. Be kind and appreciative of the free resource he’s providing, or go and seek out godot creators who produce content on a timeline that works for you.
@hermandarr6274
@hermandarr6274 18 дней назад
He is a new father, he has a life, so give hin a break
@panxel8615
@panxel8615 2 дня назад
@@DaveyBabyyy man took how long to put a video out thats just him adding 1 thing then adding a 1 liner? exactly
@SovereignVis
@SovereignVis 18 дней назад
A very short one, but a very necessary one. 😅