No video

How to Add Interaction in Godot 3

  Рет қаралды 39,016

Nagi

Nagi

Күн бұрын

Learn how to make your fps controller interact with the game world. In this video learn how to add interactive objects like buttons, doors, elevators and NPCs to your fps game using raycasts, gd script and a lil bit of magic!
Links:
Link to the project:
github.com/nag...
Rayuse's video:
• Moving Platforms No Co...
If you have questions, comment them down below and I'll try my best to help you!
If you enjoyed the video, make sure to drink water!
Do you want to support my content? Consider buying me a coffee! It helps me stay motivated at making more useful content for you!
ko-fi.com/nagidev
Music: LoewFli - / @loewfii5674
#godot #godotengine #tutorial #tutorials #fps #firstpersonshooter #interaction

Пікірлер: 184
@SpringDavid
@SpringDavid 11 ай бұрын
Hey, for anyone new to godot using a newer version (like me), in case it looks like the code isnt working after some moment in the video, try to check if the code hasnt changed how some things are called. Heres some examples: -"export" is written as "@export" now -"InputMap.get_action_list" became "InputMap.action_get_events" -"scancode" now is "keycode" (yes it applies to "get_scancode_string" too) -"is_action_just_pressed" didnt change name (at least not in the version I'm using)
@koresaliva
@koresaliva 10 ай бұрын
Appreciated!
@maks-yn5xg
@maks-yn5xg 9 ай бұрын
also, if your interact input accepts physical input (like "E"), you have to scan for physcal keycode, like so: keyname = OS.get_keycode_string(action.physical_keycode)
@TheRetroMax
@TheRetroMax 8 ай бұрын
Another thing, if you guys are trying to set the path following platform in the tween_property it's not "unit_offset" anymore, it's "progress_ratio"
@binyot5505
@binyot5505 8 ай бұрын
@@maks-yn5xg for some reason it shows just "[]" instead of the key "E"
@maks-yn5xg
@maks-yn5xg 8 ай бұрын
@@binyot5505 probably they changed it again in godot 4.2, so maybe look into change log for anything about inputs
@MattGibbard
@MattGibbard Жыл бұрын
This tutorial is really awesome. Your humor mixed with learning keeps it interesting! Please make more!
@awfyboy
@awfyboy Жыл бұрын
Very nice tutorial. I like how scalable and efficient this is for larger games. Never knew you can define custom class names :D
@qevnine8923
@qevnine8923 Жыл бұрын
dude keep making these videos, you're doing incredibly well
@h3nn359
@h3nn359 Жыл бұрын
Really like your humor, please go on and do more of these tutorials! :)
@KevinNijmeijer
@KevinNijmeijer Жыл бұрын
Well explained, good pace, scalable, humorous. I love it!
@JoanTheToad
@JoanTheToad 6 ай бұрын
Your tutorials are not only informative, as they are absolutely hilarious!
@NagiDev
@NagiDev 6 ай бұрын
i try... to make them informative, I mean
@funeralman9712
@funeralman9712 Жыл бұрын
I have watched 30 seconds and let me tell you. Your video editing hilarious and your English is very good nice tutorial!
@KyleRassweiler
@KyleRassweiler Жыл бұрын
For anyone using Godot 4: - Instead of "InputMap.get_action_list(action)" use "InputMap.action_get_events(action)" - Instead of action.scancode use "key_name = OS.get_keycode_string(action.physical_keycode)"
@bustlingfungus1412
@bustlingfungus1412 11 ай бұрын
ty
@Aymanastic
@Aymanastic Жыл бұрын
i like ur videos, im a new sub from the fps mouvement video, continue : )
@GaryParkin
@GaryParkin Жыл бұрын
I really enjoyed this tutorial. Thank you so much Nagi. I'm working with Godot 4 so I had to look up and translate a few things but it's fun. You're a good instructor.
@NagiDev
@NagiDev Жыл бұрын
Thanks that means a lot. Also it means I'm doing something right! I'll be posting Godot 4 tutorials soon, working on a different type of video right now so stay tuned :)
@GaryParkin
@GaryParkin Жыл бұрын
@@NagiDev Yes, thank you. I can't for the life of me figure out how to get the interact Key to return to the player in Godot 4. (Sub'd btw) I need to slow down your tutorials to 75% and they work great. Especially how you created the door with the bones.
@NagiDev
@NagiDev Жыл бұрын
@@GaryParkin Can you please explain what you mean by making the interact key return to the player?
@GaryParkin
@GaryParkin Жыл бұрын
@@NagiDev The code in get_prompt around 3:20 where you use InputMap.action_get_events(prompt_action). I can get the key by using InputMap.action_get_events( actions ), but OS.get_scancode_string is no longer valid. It doesn't connect to any variable coming from InputMap. I have a question pending in the forms. The closest I've gotten is var actions = InputMap.get_actions().find(prompt_action)
@jazpaa
@jazpaa 7 ай бұрын
Fantastic tutorial. Just what I needed and I've been working for hours to learn how to do this. Thank you so much!
@johnwillson1281
@johnwillson1281 8 ай бұрын
One of the best paced video tutorials I've ever seen. Thank you for respecting the viewers time. It allows people like me who used other engines to quickly pickup what the new function names, general behaviors, and workflows are without having to lug through all the zero-to-hero overhead the docs and other tutorials do. Even with the tutorial being for Godot 3, its taken less time to translate it to Godot 4 than it would to listen to most others drone on about its principles, long wind up jokes, and uncut clicking and loading.
@GoticaArcana
@GoticaArcana Жыл бұрын
Very useful video, keep the good work. One aspect in Godot and in 3d I'm personally struggling of is light, in particular interior light. I find very difficult set the enviroment light and in case of rooms the interior light.
@NagiDev
@NagiDev Жыл бұрын
I'm glad you found the video useful. As for interior lighting, even I'm a beginner at that. I'll try to post something if I get it right, but for now all I can suggest you is to play around with every setting in the environment settings as possible ( at least that's what I do ).
@tzerland
@tzerland Жыл бұрын
🙏 very good tutorial
@Osmanahmedalhindi
@Osmanahmedalhindi Жыл бұрын
Awesome video and helped clear many things for me as a Godot beginner. Thanks
@dueddel
@dueddel Жыл бұрын
I did interact with the subscribe button. Entertaining tutorial format.👍
@NagiDev
@NagiDev Жыл бұрын
Did it change color?? (Asking for research purposes 🧐)
@dueddel
@dueddel Жыл бұрын
@@NagiDev It did! Unbelievable, but it did! It not only changed the color, it also changed its label - slightly at least. I am very impressed by that. Blew my mind. Made POOOF in my head. Much subscribe. Very liked. So upvoted. Just wow.
@NagiDev
@NagiDev Жыл бұрын
@@dueddel I think we should share this magic with others! Time to bamboozle the world (in a good way)!
@obedabit280
@obedabit280 Жыл бұрын
Amazing Godot tutorial, I have not see something like this for a long time
@MagicMaskedMonkey
@MagicMaskedMonkey Жыл бұрын
thank you, with some changes this was even able to work in godot4
@ghostcreeper3679
@ghostcreeper3679 Жыл бұрын
Could you do an updated tutorial for godot 4? it works fine other than the interact label as i think that those methods are now deprecated
@NagiDev
@NagiDev Жыл бұрын
Will do, for sure
@Crompwell
@Crompwell Жыл бұрын
I know I'm a month late to this comment, but the way I got the prompt working in Godot 4 was as follows: extends RayCast3D func _ready(): add_exception(owner) func _process(_delta): $Prompt.text = "" if is_colliding(): $Prompt.text = "Object Detected!"
@ghostcreeper3679
@ghostcreeper3679 Жыл бұрын
@@Crompwell yeah i did a similar workaround but that's fine only if you have at most 1 prompt, or make a different one for each object (unpractical) or if I have to combine multiple pieces of prompt to make a fine one is ever more unpractical, so that's just a workaround, not a fix, but i've been trying to fix it for a month and maybe i'm near to find the answer to it, i fixed lot of things, i'm just missing one piece of that
@Crompwell
@Crompwell Жыл бұрын
@@ghostcreeper3679 I managed to get most of this working in Godot 4. I tried to post it but it looks like KZbin might have removed my comment or something. Let me know if I can help.
@ghostcreeper3679
@ghostcreeper3679 Жыл бұрын
@@Crompwell Ight, i'll try to see if there's an alternative to the OS.scancode thingy
@shawniac
@shawniac 11 ай бұрын
Cool Tutorial, and love that funny and laid-back style of yours! Keep up that good work 😄
@zoxmegrowthfunda4414
@zoxmegrowthfunda4414 Жыл бұрын
bro you deserve 100k atleast... thank for such an amazing video really i was out of my mind and then i see this it amaze me.. thank for tutorial and sharing you knowledge with us i really means a lot (and also i dont comment on some one's video you are the first one )thank you
@theomins
@theomins Жыл бұрын
Very nice tutorial, really a good work!
@rishabhkohli278
@rishabhkohli278 Жыл бұрын
Why is your channel so underrated!?
@NagiDev
@NagiDev Жыл бұрын
Maybe because of my inconsistent upload schedule
@KaletheQuick
@KaletheQuick Жыл бұрын
Looking good my man! Can't wait for that ice wall tutorial! :D
@NagiDev
@NagiDev Жыл бұрын
One ice wall tutorial coming right up!
@bitbraindev
@bitbraindev Жыл бұрын
Amazing!
@indieology7336
@indieology7336 Жыл бұрын
Awesome!
@AeroZone
@AeroZone Жыл бұрын
I don't use Godot but this is comedy gold! nice tutorial
@VickylanceMedia
@VickylanceMedia Жыл бұрын
which engine do you use?
@AeroZone
@AeroZone Жыл бұрын
@@VickylanceMedia well I use max2d for mobile but I'm thinking of moving to GDevelop
@VickylanceMedia
@VickylanceMedia Жыл бұрын
@@AeroZone Nice never heard of Max2d interesting
@AeroZone
@AeroZone Жыл бұрын
Yea it's a really cool app for mobile devs
@simpleclearviews108
@simpleclearviews108 Жыл бұрын
This is really awesome tutorial
@AshmeetDhaliwal
@AshmeetDhaliwal 2 ай бұрын
Really help full
@fragajjia
@fragajjia Жыл бұрын
Good stuff, thanks. I, for one, welcome the godot4 stuff.
@crabbite3093
@crabbite3093 Жыл бұрын
drink your cookies and eat your milk, perfect tutorial only a little fast and one time you didn't said what you did and I got a mistake but i found it :D
@NagiDev
@NagiDev Жыл бұрын
Okay, I'm still pretty new to this. I'll try to make less mistakes next video! Thanks!
@MaydayAcademy
@MaydayAcademy 9 ай бұрын
Love you tutorials ♥
@mightyleonidy6166
@mightyleonidy6166 4 ай бұрын
Hey Nagi! Thanks for this tutorial, but im having some difficulties with the Interactable type, i'm on version 4.2.2. it just says "could not find type "interactable" in the current scope . if you know how to fix this, please let me know. Thanks! Edit: Nvm, it somehow just worked lol. But now when I place my crosshair over my cube/button it doesn't say anything
@TheOfficialReapsZ
@TheOfficialReapsZ Жыл бұрын
Solid!
@BetaTester704
@BetaTester704 Жыл бұрын
Could you do one for godot 4? Its confusing now.
@NagiDev
@NagiDev Жыл бұрын
Already on it, will post one soon
@popfizzy9597
@popfizzy9597 7 ай бұрын
please tell me u are still working on the fixed godot 4 vers of this vid, you are the only person that explains well and has what im looking for😭
@NagiDev
@NagiDev 7 ай бұрын
I am lol
@popfizzy9597
@popfizzy9597 7 ай бұрын
@@NagiDev thank god 🙏🙏🙏
@toddhunt2059
@toddhunt2059 Жыл бұрын
I had been chilling for a while🤣
@f073stry5
@f073stry5 8 ай бұрын
can i make a suggestion you go really fast in these tutoirals and it makes it hard to follow sometimes i dont know if anyone else has the same issue but if you could slow it down just a bit that would be nice
@NagiDev
@NagiDev 8 ай бұрын
Yeah, a few people have pointed that out and I've tried to slow down a little on my newer tutorials for Godot 4. Please let me know over in those videos if the speed still feels too fast. I'll keep on working on the speed of my tutorials.
@_laryssa
@_laryssa 8 ай бұрын
This is sooooo useful
@gen.reaper9000
@gen.reaper9000 8 ай бұрын
You are awesome. Thank you
@ReuwMC
@ReuwMC Жыл бұрын
THANK YOU SO FUCKING MUCH I WAS TRYING TO FIGURE THIS OUT LIKE ABOUT 2 HOURS
@NagiDev
@NagiDev Жыл бұрын
he he happy fo help!
@Riishu_
@Riishu_ Жыл бұрын
Can you make a version for godot 4 plz
@NagiDev
@NagiDev Жыл бұрын
Definitely, I'm already working on it
@pengain4
@pengain4 Жыл бұрын
THB some (not all) jokes in the video were a bit irritation for me (maybe I'm too old for it). But this channel is definitely very underrated: great demonstration, polished results, simple explanations. Thanks. Will wait for more videos.
@NagiDev
@NagiDev Жыл бұрын
I know my jokes are bad and I try to keep them to the minimum. I'm glad folks are finding my videos useful and I'll try to post the next video asap. Cheers!
@Abdel-Qader
@Abdel-Qader Жыл бұрын
what do you think about 3D in godot ! I like games like puppet combo games or fear to fathom do you think godot can handle this type of games ! many say it will lag and bad performance so i really want to know what do you think ! your tutorials are really helpful keep up
@NagiDev
@NagiDev Жыл бұрын
Looking at the gameplay of fear to fathom, I don't think you'll have any problem making a game like it. The only aspect I've seen Godot struggle in is handling a huge number of physics objects (pretty rare case for most game projects) and even that can be solved by using low level languages to handle those parts. So, yeah, go ahead and give Godot a try! You would have a lot of fun ;)
@sill.k8272
@sill.k8272 6 ай бұрын
HOW DID YOU CREATE TEXT, or that is 3d object? btw, god damn cool video editing, wow
@oliveseal2038
@oliveseal2038 Жыл бұрын
at 3:25 line 13 Im getting an error message "Static function "get_scancode_string()" not found in base "OS"." Does anyone have a fix. (I am using godot 4.0)
@NagiDev
@NagiDev Жыл бұрын
This tutorial was made for Godot 3, I'll be posting one for 4.0 soon
@Xeno-Morpehus
@Xeno-Morpehus Жыл бұрын
I've changed some of the strings / nodes etc. so you may need to update to your own project or to match the ones used by Nagi in the tutorial; hope this helps. Thanks to Nagi for a great tutorial and the humour, this was the only code I was able to get to work with a few tweaks, while trying to learn Godot 4, first week trying the engine or game making for that matter :D haven't been able to get the platform working in 4 yet as tween code needs updating, sure I'll figure it out. All thanks to Nagi (www.youtube.com/@NagiDev) for his tutorial, I just updated for Godot 4 ####Interactable .gd - script extends StaticBody3D class_name Interactable signal interacted(body) #prompt message i.e. keymapping to press @export var prompt_message = "Interact" #Keymapping (Input mapping, project settings) @export var prompt_action = "Interact" func get_prompt(): var key_name = "" for action in InputMap.action_get_events(prompt_action): if action is InputEventKey: key_name = OS.get_keycode_string(action.keycode) return prompt_message + " [" + key_name + "]" func interact(body): #Print to console for debugging - optional # print(body.name, " Interacted!") emit_signal("interacted", body) ####Doors.gd - script extends Node3D @export var open = false var playback = null func _ready(): playback = $AnimationTree.get("parameters/playback") func toggle_door(_body): open = !open if open: playback.travel("DoorOpen") else: playback.travel("DoorClose") ####InteractRayCast3D - script extends RayCast3D @onready var prompt = $Prompt func _ready(): add_exception(owner) func _physics_process(_delta): prompt.text = "" if is_colliding(): var detected = get_collider() if detected is Interactable: prompt.text = detected.name prompt.text = detected.get_prompt() if Input.is_action_just_pressed(detected.prompt_action): detected.interact(owner) Note there are some compatibility updates required for 4.0 like updating 'extends nodes' to what you may have used, updating player.gd e.g. removing move_and_slide() arguments and updated functions. I'd created my own code at first but struggled with getting doors to work using alternative methods (different types of doors than the ones used in this tutorial but close enough for this guide to work with updates and without using bones.
@NagiDev
@NagiDev Жыл бұрын
@@Xeno-Morpehus you are amazing!
@oliveseal2038
@oliveseal2038 Жыл бұрын
@@Xeno-Morpehus Thanks i was really stuck and this helped me
@kyouma7775
@kyouma7775 11 ай бұрын
@@Xeno-Morpehus you saved me, thanks man!
@golden_calf
@golden_calf 3 ай бұрын
I have interacted with the like and subscribe buttons
@ruumroom.
@ruumroom. Жыл бұрын
Hello i need some help!! i have been trying to find a way on how i can trigger the doalogue box when i collide with something can u please help me out or tell me how i can achieve that
@NagiDev
@NagiDev Жыл бұрын
Hey! You can add an Area node to the object with the CollisionShape slightly larger than the object's CollisionShape. Then trigger the dialog (dialog.start) whenever a bodyEntered signal is triggered on the Area node.
@ruumroom.
@ruumroom. Жыл бұрын
@@NagiDev I did but i seem to get the error “no dialogue data” also i had some other questions is there anyway i can reach i tried to on your twitter but it seems like i can’t dm you there
@NagiDev
@NagiDev Жыл бұрын
If you're trying to use the Dialogue Node addon like I did, I suggest you follow my tutorial on that. I think you haven't added the dialogue file through the inspector.
@ruumroom.
@ruumroom. Жыл бұрын
@@NagiDev yea i just noticed 😭😭😭 TYSM also one last question how can i trigger different starting nodes using one dialogue box or do i add different dialogue boxes
@NagiDev
@NagiDev Жыл бұрын
@@ruumroom. You can add any number of start nodes to one dialogue file, each must be assigned a unique ID. In the dialogue, while calling the start function, provide the ID of the start node you want to use. Example: start("MY_UNIQUE_ID")
@plainshades
@plainshades Жыл бұрын
Pls how did you set up the lighting here. It looks simple and clean.
@NagiDev
@NagiDev Жыл бұрын
I just use an environment node and a directional light. Then I tweak a bunch of settings for both to get the look I like. You can look into the project to see what settings I change. Also, I change a few rendering options in the project settings.
@plainshades
@plainshades Жыл бұрын
@@NagiDev Oh. Just realized the project was actually available to download. Thanks a bunch.
@velavanvenkat1173
@velavanvenkat1173 Жыл бұрын
thank you bro
@YouTubeMviewsminutesago
@YouTubeMviewsminutesago Жыл бұрын
how to make open door physics like GTA V please
@NagiDev
@NagiDev Жыл бұрын
You can add an area node to the door and trigger its toggle function when the player enters the area. Additionally learn about collision layers to make sure only the player is detected by the area.
@matiturock
@matiturock Жыл бұрын
por favor, haz tutoriales de Godot 4! o una serie para un diario de desarrollo de juegos, de un juego independiente completo (tamaño pequeño)
@NagiDev
@NagiDev Жыл бұрын
Estoy trabajando en un diario de desarrollo. ¡Lo mostraré muy pronto!
@another-derpycrafter
@another-derpycrafter 7 ай бұрын
could you do this for godot 4? its really nice but im using 4
@NagiDev
@NagiDev 7 ай бұрын
Yes, I'm already in the process of making an updated tutorial
@DOGMA20051
@DOGMA20051 4 ай бұрын
For some reason once the animation is activated it won't stop?
@NagiDev
@NagiDev 4 ай бұрын
Check the animation player, the animation track shouldn't be set to loop.
@DOGMA20051
@DOGMA20051 4 ай бұрын
@@NagiDev thanks for the comment, though I did end up fixing it and Im pretty sure it was the animation loop being enabled so thanks This tutorial was great btw it's allowed me to implement so many other things into my game
@landozr2443
@landozr2443 11 ай бұрын
This is a great tutorial but I'm currently a bit stuck at 3:28 where im just getting errors saying that static function "get_action_list()" not found in base input map. I assume this is because I'm working in godot 4 instead of 3 but do you have any idea of what code to write instead?
@landozr2443
@landozr2443 11 ай бұрын
Wait nevermind I figured it out thanks to ​@Xeno-Morpehus
@DJGamer_2022
@DJGamer_2022 7 ай бұрын
Invalid set index 'text' (on base: 'null instance') with value of type 'String'. me falla eso me sale :(
@NagiDev
@NagiDev 7 ай бұрын
Can you please check if you added the Label node in your scene and that it's not renamed and/or placed as a child of a different node than the one shown in the tutorial?
@DJGamer_2022
@DJGamer_2022 7 ай бұрын
yes is perfec nodesl@@NagiDev
@crabbite3093
@crabbite3093 Жыл бұрын
The platform doesn't want towork :( the method create_tween() is not declared in this current class
@NagiDev
@NagiDev Жыл бұрын
Are you using Godot 3.5?
@crabbite3093
@crabbite3093 Жыл бұрын
@@NagiDev no but 3.4.4 is there such an huge difference :(
@NagiDev
@NagiDev Жыл бұрын
@@crabbite3093 I'm using the new tween system, which was introduced in 3.5 You can update to 3.5 if you want, it's totally worth it Alternatively, if you want to stay with 3.4, you can add a tween node in the platform scene, and run that tween instead.
@crabbite3093
@crabbite3093 Жыл бұрын
@@NagiDev thx, i will try that
@Phiggi
@Phiggi 3 ай бұрын
ok so I commented earlier but since then deleted it because I fixed it. however, now when I attach class_name Interactable to multiple scripts I receive the Class "Interactable" hides a global script class is there a way to fix this?
@NagiDev
@NagiDev 3 ай бұрын
You can only assign a class_name to one script. If you want to have multiple scripts with the interactable functionality, you'll have to inherit from the Interactable class.
@dannieamme8180
@dannieamme8180 Жыл бұрын
I still haven't figured out how to Import a Object in Godot Scene
@CosmicEntity-pp2ok
@CosmicEntity-pp2ok Ай бұрын
what's the name of the game that played at the start of the video? I really wanna make interactable buttons like that
@NagiDev
@NagiDev Ай бұрын
Outer Wilds. It's an amazing game!
@LilFishowo
@LilFishowo Ай бұрын
Tried adding the prompt.text = "" but I receive an error about the Identifier prompt not being declared
@NagiDev
@NagiDev Ай бұрын
Check if you've spelt the variable the same as the onready declaration. Also, did you declare it in the first place?
@LilFishowo
@LilFishowo Ай бұрын
@@NagiDev I didn't thank you
@NagiDev
@NagiDev Ай бұрын
So is the issue resolved?
@LilFishowo
@LilFishowo Ай бұрын
@@NagiDev yea
@DommoDommo
@DommoDommo 7 ай бұрын
Any idea how to get this working with Godot 4?
@NagiDev
@NagiDev 7 ай бұрын
Hi, yes, I'm currently working on an updated tutorial for the same. The video would be up in a few weeks.
@yozelcapo
@yozelcapo Жыл бұрын
i need help, i get "is_action_just_pressed: the InputMap action "F" doesn't exist." and i dont know what to do
@NagiDev
@NagiDev Жыл бұрын
you'll have to go to the Input Map in project settings and define an new action there. Then you can use the name of the action in your is_action_just_pressed function.
@user-lz5pq1qb5k
@user-lz5pq1qb5k 10 ай бұрын
hello, can u make this tutorial for godot 4
@NagiDev
@NagiDev 10 ай бұрын
Hey! Definitely, I'm working on remaking all my Godot tutorials for Godot 4. Stay tuned!
@sadisticallyme8379
@sadisticallyme8379 Жыл бұрын
im stuck in a specific part of this it keeps say "invalid call. non existant function 'interact' in base 'static body (button.gd)' the button.gd is the interactable script i just named it wrong.
@NagiDev
@NagiDev Жыл бұрын
You'll have to make sure the static body you're interacting with has a script, and that script has an `interact` function.
@sadisticallyme8379
@sadisticallyme8379 Жыл бұрын
@@NagiDev thank you for replying but the problem persists, the object has the script attached but still whenever i click the interact button, it kicks me out and gives me the error.
@NagiDev
@NagiDev Жыл бұрын
@@sadisticallyme8379 Have you excluded the raycast from detecting the player itself? You can debug by printing the name of the collider to check which object you're actually interacting with. print(raycast.get_collider().name)
@sadisticallyme8379
@sadisticallyme8379 Жыл бұрын
@@NagiDev ah yes nevermind me i went thru the script and found a spelling mistake I wrote interact instead of Interact so the hole thing just didnt work.
@ruumroom.
@ruumroom. Жыл бұрын
can u tell us how we can implement the dialog box using dialogic
@NagiDev
@NagiDev Жыл бұрын
I'm not sure what format Dialogic uses to store dialog data. Even if it was JSON data (like in my add-on), I don't think the two would be compatible. Sorry :/
@giorgiaalloisio0309
@giorgiaalloisio0309 10 ай бұрын
Hello, I'm currently using the Godot 4.1 version. I've got some issues even though I used the same code (with the corrections on the things that changed). For example I can't figure out why, when I detect the object, it just gives me the prompt message, but not the key code. Another issue I have is that the character still moves when the dialogue is displayed, don't know why. Could you help me with that?
@NagiDev
@NagiDev 10 ай бұрын
Hey! The prompt message not showing the key in Godot 4 is probably because you set the input map to use physical keys (which is default in 4). You will have to edit Interactable.gd script to have: for action in InputMap.action_get_events(prompt_action): if action is InputEventKey: key_name = action.as_text_physical_keycode() As for the character still moving, there could be a number of reasons. Please feel free to contact me on Discord or Twitter so I can help you out. Hope this helps!
@giorgiaalloisio0309
@giorgiaalloisio0309 10 ай бұрын
@@NagiDev maybe I can send you the code on discord so you can help me out! Do you have a link so that I can contact you, or do I find you with the same name? Sorry to bother, it's just I'm doing a project for my degree, and I want to understand better in order to fix everything
@NagiDev
@NagiDev 10 ай бұрын
@giorgiaalloisio0309 you can contact me on Discord at nagidev
@DwarvenDoesThings
@DwarvenDoesThings 8 ай бұрын
@@NagiDev Thank you for this!! i was actually stuck trying to figure this out and scrolled down a but I thin you should put this change into the description or pin it XD
@NagiDev
@NagiDev 8 ай бұрын
@DwarvenDoesThings my dude I'm working on remaking the whole video for Godot 4...
@plushycat
@plushycat 9 ай бұрын
A png youtuber is just a phase trust me
@NagiDev
@NagiDev 9 ай бұрын
3D animation is hard 😭
@funanime7461
@funanime7461 Жыл бұрын
Are you using the android version of godot?????
@NagiDev
@NagiDev Жыл бұрын
not in these tutorials, but yes, I do work on it sometimes
@LowQualityGames
@LowQualityGames Жыл бұрын
Hi I have a problem with the get_prompt() function.
@NagiDev
@NagiDev Жыл бұрын
sure, lemme know the full problem and I'll try my best to help you
@LowQualityGames
@LowQualityGames Жыл бұрын
​ @Nagi Everything's is good I'm just a bit distracted
@kenfresno2125
@kenfresno2125 Жыл бұрын
I have to assume based on the comments that this actually worked at some point, but it absolutely does not anymore. Gotta love Godot bragging about all the features they add, and never mentioning all of the things they needlessly changed or removed that render a decade worth of tutorials valueless.
@NagiDev
@NagiDev Жыл бұрын
Hi, I have mentioned it in the title: this tutorial is for Godot 3. Godot developers maintain older versions of their engine for a while since people working on long game projects can't afford to switch to the next major version. I'm sorry I haven't posted a tutorial for Godot 4 yet, but this tutorial is still useful for people working with Godot 3. Cheers!
@kenfresno2125
@kenfresno2125 Жыл бұрын
@@NagiDev I apologize if you thought I was complaining about your tutorial. My complaint was about Godot needlessly changing minor things and breaking basically every tutorial and answer you can find online.
@NagiDev
@NagiDev Жыл бұрын
It's alright Ken. I understand your point but it's a normal thing for most software to change in every major update. Blender 2.8 comes to mind as an example. But being a long time user of both software I managed to update my knowledge of Blender and Godot without any trouble. Now, I understand this can be frustrating for beginners and I am here just to help with that. I have a bunch of tutorials in the works for the latest version of Godot. I just need some time to put them all out, so stay tuned!
@ro0n655
@ro0n655 5 ай бұрын
Aw man… thx for bringing this to my attention before I apply it to my game.
@kevinsellers7566
@kevinsellers7566 Жыл бұрын
WHY SO FAST!!!😔
@NagiDev
@NagiDev Жыл бұрын
I HAD TO GO PEE!😭
@Show-wi7cw
@Show-wi7cw 9 ай бұрын
hairfa😅😊
@rekiemr4501
@rekiemr4501 Жыл бұрын
pls make game like a mobile legends
@binyot5505
@binyot5505 8 ай бұрын
gee slow down
@NagiDev
@NagiDev 8 ай бұрын
hehe, I'll make sure to slow down in the updated video for Godot 4.2
@Greglovesyoumore
@Greglovesyoumore 3 ай бұрын
You know you can rewind and change playback speed
@Show-wi7cw
@Show-wi7cw 9 ай бұрын
las
@Show-wi7cw
@Show-wi7cw 9 ай бұрын
shp
@nowherebrain
@nowherebrain Жыл бұрын
lmao "and doing what most of the world is doing about climate change"...nothin'..true, but funny as fuck.
@NagiDev
@NagiDev Жыл бұрын
I dabble in dark humour ⁠(⁠ ͡⁠°⁠ ͜⁠ʖ⁠ ͡⁠°⁠)
@nowherebrain
@nowherebrain Жыл бұрын
@@NagiDev noticed. I thi9nk I subbed over your fucked up humor :) love it..
How to Add Interaction in Godot 4
16:48
Nagi
Рет қаралды 12 М.
How to Make Pixel Art Tilesets
9:15
Apox Fox
Рет қаралды 17 М.
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 43 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 29 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 80 МЛН
Animation For Beginners! Learn to Animate like a PRO in blender
31:04
Interact with Objects in your World in Godot 4
9:25
Flyn San
Рет қаралды 15 М.
THE TRUTH ABOUT GODOT
0:43
Nagi
Рет қаралды 1,5 М.
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 470 М.
COGITO Tutorial 2 - Interactive objects (Godot)
10:26
Philip D
Рет қаралды 1,6 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 524 М.
5 Games Made in Godot To Inspire You
4:14
StayAtHomeDev
Рет қаралды 54 М.
This Godot 4 Scene Manager Does it ALL
28:50
Bacon and Games
Рет қаралды 24 М.
How To Make A Doom Clone In Godot 4
27:57
MizizizizTutorials
Рет қаралды 74 М.
I Made My First Game in Godot in 3 Weeks...
26:21
Jack Sather
Рет қаралды 311 М.