Godot 4 Sourcelike Ladder Movement Tutorial | Intuitive Movement & Ladder Boost

  Рет қаралды 502

Majikayo Games

Majikayo Games

Күн бұрын

The eighth video of a series where we will build an FPS game. This video shows how to implement sourcelike ladder movement, which takes into account both the player's look direction and directional input to control how they move up and down or side to side on ladders.
Ladder scene with the node setup I used (CC0/public domain): github.com/majikayogames/Simp...
Full Playlist: • Godot FPS Tutorial
GitHub Repo: github.com/majikayogames/Simp...
All source code and included assets are licensed under the CC0/public domain license.
How Godot's Transform3D Type Works: • How Godot's Transform3...
Dot product interactive web demo used in the video: majikayogames.github.io/dot%2...
Contents of this video:
0:00 - Intro
0:22 - How ladders work in source games
3:35 - Ladder nodes setup with Area3D (Download in description)
8:57 - Transform3D refresher
9:41 - Basic code setup
25:11 - Finish ladder code
30:55 - Final result/outro
If this tutorial helped you, consider supporting the channel on Patreon or Ko-fi:
/ majikayogames
ko-fi.com/majikayogames

Пікірлер: 22
@MajikayoGames
@MajikayoGames 26 күн бұрын
*NOTE/CORRECTION:* I just realized line 216 is not necessary as it's referencing (local) basis vectors for both camera and ladder. You don't need this and it will work fine, so I recommend taking it out. In fact it may bug out if your Camera3D setup is slightly different than mine. Here you can see I simplified to just dot product of 45 degrees from up with forward move: github.com/majikayogames/SimpleFPSController/commit/d6a00968cc56cb02923a4986cb1374bd162e594b
@sinecure5
@sinecure5 24 күн бұрын
Thank you so much for these tutorials. No one else is covering these topics, especially stair stepping. You are creating tremendous value for the Godot community!
@MajikayoGames
@MajikayoGames 23 күн бұрын
Appreciate your comment :D I plan to add a bunch more to this series. Also working on an update to my free SimpleDungeons addon so I hope I can continue providing value to people!
@mattlarson2893
@mattlarson2893 26 күн бұрын
A small improvement would be using a signal, either on the ladder or on the character, to inform the character to start climbing to avoid checking every ladder in the whole scene. Doing it this way bypasses the broad phase so it could get laggy if there are a lot of ladders. Cheers, great series
@MajikayoGames
@MajikayoGames 26 күн бұрын
thank you. yes it might be a little faster if using signals, however the Area3D is only updated as to whether its overlapping once per frame anyway, so we still check however many ladders each frame but i thought it should be negligible as it's not actually a physics check i dont think docs.godotengine.org/en/stable/classes/class_area3d.html#class-area3d-method-overlaps-body
@debiprasad3946
@debiprasad3946 24 күн бұрын
Player and vehicle interaction
@debiprasad3946
@debiprasad3946 24 күн бұрын
Entry and exit to the vehicle
@amirosman8797
@amirosman8797 26 күн бұрын
Awesome bro 👏, this tutorial keeps getting better and better, I really hope you’re planning on adding arms, weapons, shooting and stuff like that
@MajikayoGames
@MajikayoGames 26 күн бұрын
Yep, going to work on my SimpleDungeons addon for a bit, but after that one of the next things will be weapons & character model. Glad you enjoyed! :)
@amirosman8797
@amirosman8797 26 күн бұрын
@@MajikayoGames Perfect 👍
@Kskakakakakkakak
@Kskakakakakkakak 17 күн бұрын
Please show us how to make a hook / Grappling gun🤔
@collinvisser7108
@collinvisser7108 26 күн бұрын
Neat - thx
@ItsKorin__
@ItsKorin__ 25 күн бұрын
for me the jump velocity multiplier was a bit to hight but 0.5 did the job
@MajikayoGames
@MajikayoGames 25 күн бұрын
glad it worked for you :D thanks for the comment. yeah it depends on how you want your game to feel.
@ItsKorin__
@ItsKorin__ 25 күн бұрын
@@MajikayoGames thank's, amazing tutorial series by the way
@debiprasad3946
@debiprasad3946 24 күн бұрын
Please make a video on player and vehicle interaction
@MajikayoGames
@MajikayoGames 24 күн бұрын
Will add this to my list of ideas :) I still have a bunch of tutorials to get through for this series I have planned. Next is going to be a weapon manager, HUD, and character model.
@c-domination
@c-domination 25 күн бұрын
You need to teach us how to replicate the source surfing.
@MajikayoGames
@MajikayoGames 25 күн бұрын
I already did a video covering this :) kzbin.info/aero/PLbuK0gG93AsHID1DDD1nt4YHcdOmJvWW1 This is the 8th video. The 1st of the playlist covers surf & bhop.
@debiprasad3946
@debiprasad3946 24 күн бұрын
Please.......
Smooth Up & Down Stair Handling | Godot 4 FPS Controller Tutorial
30:38
I accidentally made Blender in Godot
10:15
SDG Games
Рет қаралды 44 М.
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН
Is it Cake or Fake ? 🍰
00:53
A4
Рет қаралды 17 МЛН
Купили айфон для собачки #shorts #iribaby
00:31
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,1 МЛН
3 NEW Movement Games You Never Knew You Needed
9:47
Creem
Рет қаралды 839 М.
Can I Remake Super Mario World in Godot? (Part 1)
18:44
Devlog 0 -- Bonsai Voxel Engine
4:45
Jesse Hughes
Рет қаралды 7 М.
What's The Deal With Procedural Animation?
11:24
Geat
Рет қаралды 29 М.
Crouch + Sourcelike Crouch Jump | Godot 4 FPS Controller Tutorial
19:23
Why Stairs Suck in Games... and why they don't have to
11:24
Nick Maltbie
Рет қаралды 1,5 МЛН
Every 2D Node Explained in 9 Minutes !
9:19
Lukky
Рет қаралды 259 М.
Why Solo Developers Should Use Unreal
10:55
Thomas Brush
Рет қаралды 312 М.
Character Body to Rigid Body 3D Physics Interaction | Godot 4 Tutorial
15:55
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН