Тёмный
No video :(

How to do ledge grab - Learn Godot 4 2D - no talking 

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

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

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@Hadrienallemon
@Hadrienallemon 19 дней назад
I love the pixel art, the music ... This video has a great vibe !
@OOGWAYnewcp
@OOGWAYnewcp 2 месяца назад
opened this from my recommendations just to subscribe, looking forward to more of such mechanics tutorials, keep it coming great vid
@JustABitWild
@JustABitWild Месяц назад
Absolute legend, subbed! Any chance for a follow up for ledge climbing?
@DevDrache
@DevDrache Месяц назад
thanks. sure, I'll put it on the list :)
@hellblazer8543
@hellblazer8543 2 месяца назад
lol i looked at my long-ass code before while trying to figure out how to ledge hang and saw yours with fewer lines. im gonna use this to refine my code thanks
@MiraMa-g5s
@MiraMa-g5s 2 месяца назад
Thank you!
@AddinRoyale
@AddinRoyale 2 месяца назад
Cool video! Keep it up
@saylezz
@saylezz Месяц назад
What are those long "I" shaped things you typed in at 1:32?
@DevDrache
@DevDrache Месяц назад
its the same as "or"
@BrandonfromStLouis
@BrandonfromStLouis 13 дней назад
This character: | It's called a 'bar' and you can find it above the enter key on your keyboard. 2 of them in GDScript is shorthand for "and/or"
@tewck9029
@tewck9029 2 месяца назад
Hey bro, thank you so much for your videos!, i dont know alot of english, if was possible, could you do a video explaining how to move a bullet toward an enemy like a tower defense games, but only the logic for movement of bullet, i have a few months with godot and this is very hard for me :( to do this system, the game that i am making it's like legend of slime, this is a game for mobile from appQuantum
@DevDrache
@DevDrache 2 месяца назад
I have a few videos on the topic of bullets / arrows. This one will probably fit best: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gr5xkwYNYIU.html Instead of the mouse position, take the enemy position. You get this from an area node, which checks if an opponent enters the area (body entered signal)
@Tieslo
@Tieslo Месяц назад
my player gets sucked to the ground when i jump off a ledge
@DevDrache
@DevDrache Месяц назад
Do I understand you correctly: You can jump to the edge and hold on? As soon as you want to jump there again, the player is pulled to the ground instead of jumping into the air? I've tried a few things, but I can't get a bug like this to work.
@Tieslo
@Tieslo Месяц назад
@@DevDrache yes exactly. its probably something with my other code interfering ty for trying.
@Tieslo
@Tieslo Месяц назад
just fixed it cheers
@Throh-Art
@Throh-Art 27 дней назад
uno como celeste?
@DevDrache
@DevDrache 23 дня назад
isn't that just holding on to the wall?
@Throh-Art
@Throh-Art 23 дня назад
@@DevDrache Yes, I would like to know how to do that and be able to climb the wall. I didn't find any tutorial only in 3D but not in 2D.
@DevDrache
@DevDrache 23 дня назад
all right, is now on my list :)
@Throh-Art
@Throh-Art 23 дня назад
@@DevDrache Thank you bro, I appreciate you very much
@snippyboons
@snippyboons 29 дней назад
This ledge detection is not good. You can get flakey results if the character is moving too fast.
@DevDrache
@DevDrache 29 дней назад
I haven't noticed anything negative, even at higher speeds. Do you have an example for me of the speed at which it becomes unclean?
@snippyboons
@snippyboons 29 дней назад
​@@DevDrache No offense, I have trouble believing that. If you have ever had to work with objects moving at a high velocity (player falling, bullets) you'll know that the velocity of an object can overshoot it's collision check. For bodies in Godot you can use the "Continuous" option to fix this. That's when you need to start looking at future positions and raycasting to them to assess if you hit anything on the way there. For your example you have a 2px wide margin of error. That means if you're traveling at say, 6px a frame. You will overshoot that check on the next frame where both raycasts are colliding, therefore you miss the ledge.
@DevDrache
@DevDrache 28 дней назад
don't worry, i still want to learn a lot and that's why i'm open to any criticism With many things it always depends on what you want. My goal was to build a grab that helps you if you can't make it all the way up. The jump and fall speed is almost irrelevant, as it is slowed down at the highest point. Otherwise it's unreachable or the player can get up there with a normal jump. If you want the player to jump from the top and then still have to hold on to an edge, this method won't work well and you're 100% right about that
@celsladroma8048
@celsladroma8048 2 месяца назад
Come on men we have the same time to learn Godot but I'm nearly to finish a game.. just create one and show up what you got
@DevDrache
@DevDrache 2 месяца назад
I finished my first game a few months ago (Luna the Fox, 2D Platformer) I have published the trailer on my channel.
@celsladroma8048
@celsladroma8048 2 месяца назад
@@DevDrache I see.. You take time just to create that one what a good job.. My game take me no where to go.. I need to learn this rigidbody.. OMG and also this C++
Далее
I Made the Same Game in 8 Engines
12:34
Просмотров 4 млн
Самое неинтересное видео
00:32
Просмотров 401 тыс.
IT'S MY LIFE + WATER  #drumcover
00:14
Просмотров 9 млн
Why Do Video Game Studios Avoid Blender?
6:49
Просмотров 548 тыс.
Top 10 2D PLATFORMERS Made in Godot
5:42
Просмотров 29 тыс.
How to Add Interaction in Godot 4
16:48
Просмотров 13 тыс.
I Switched to Bone Animations (here's how it went)
5:56
Why you Draw Bad Assets || 2D Game Art
13:00
Просмотров 19 тыс.
Games Where You're NOT the Main Character
14:52
Просмотров 2,4 млн