Make Your Enemies Detect Ledges EASY in Your Game! (Godot 4 Tutorial) #shorts

preview_player
Показать описание
#godot #godot4 #godotengine #gdscript #gamedev #gamedevelopment
If you’re making enemies for your game, it’s a good idea to have them detect ledges, so they don’t make it too easy for the player. Here’s how you can do that in a short video!

Godot version is 4.0.3
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
For more tutorials and information on me, check out my website:

The assets used in the video are for my platformer, Flick! I'll be open souring the project, too!

Check out my game studio and IT consultancy agency, Nunkware Digital!
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Music (I do not own the music in this video):
Рекомендации по теме
Комментарии
Автор

This is a great idea, thanks! Your channel looks like a ton of good tools to have in your toolbox.

jamesbogart
Автор

This was so easy to understand. Thank you for posting this. I very much needed this.

PerryFrontend
Автор

This got me out of a pickle! Here I was trying to do something with invisible walls 😅

yubbnubber
Автор

Hey thanks for this, what kind of body did you use for the enemy? it looks like character 2d based on the icon, but I wasn't sure (I am pretty new). also was curious what the "(delta: float) -> void:" was accomplishing in the code?

smoolz
Автор

hi, how can I achieve this with top down pov and randf_range ?

Multifandomguy
Автор

how to make a wall jump and hang ledge ?

kareemfarrag
Автор

I feel like an idiot cause its not working for me.

Lennywithacamera