Godot 4 - Online Multiplayer FPS From Scratch

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 569

  • @DevLogLogan
    @DevLogLogan  Рік тому +192

    CHANGES: rpc arguments must now be passed as strings ("call_local" rather than call_local at 31:50, as well as "any_peer" in following section)
    GIT REPO: github.com/devloglogan/MultiplayerFPSTutorial/tree/main

    • @leagueofpoppy2074
      @leagueofpoppy2074 Рік тому +6

      I thought my brain had expired. I updated to the new version and the new docs said NOTHING about where the call_local and any_peer arguments had gone. Thank you for restoring my sanity. Fantastic video by the way!!

    • @AnttiVesanen
      @AnttiVesanen Рік тому +1

      @@bobiscomingforyou I think the MultiPlayerSynchronizer might help you with that, if you add AnimationPlayer:current_animation as the property. Similar to how it synchronizes the player position.

    • @AnttiVesanen
      @AnttiVesanen Рік тому +1

      @@bobiscomingforyou Layer is where the object is, the Mask setting is the layer it scans. So the Area3D now needs to have mask 2 enabled.

    • @DevLogLogan
      @DevLogLogan  Рік тому +5

      @@bobiscomingforyou Hey! Unfortunately, UPNP is not meant to be used for local multiplayer (playing on the same router) only remote multiplayer. So this method won't work if you all use the same router. Sorry for the confusion!

    • @lethn2929
      @lethn2929 Рік тому +2

      @@bobiscomingforyou For the record, you should still be a able to create a server and connect over the internet from what I understand, it would definitely be nice though to see what options Godot 4 has for LAN play because I miss that big time as well.

  • @VaporCode
    @VaporCode Рік тому +398

    Dude, the way you go lightning fast on the video, straight to the point, is beautiful! 10/10 tutorial. This is what i call a good tutorial 👏
    U deserve more subs.

    • @sheepcommander_
      @sheepcommander_ 11 місяців тому +2

      i love randomly seeing my fellow hollow life pfps in the wild

    • @cucubob9535
      @cucubob9535 5 місяців тому +3

      its not rly a tuturial, just a showcase of what he did. it could be a tuturial for intermediate users but for beginners its too fast to know what hes doing and he doesnt rly explain it he just does it.

    • @informatiqueisfutur-ve2ro
      @informatiqueisfutur-ve2ro 3 місяці тому

      yes

  • @ShiloBuff
    @ShiloBuff 11 місяців тому +63

    This is one of the most impressive tutorials. Such speed and efficency. Impressed that you did an entire project in 45 mins WHILE explaining it all.

  • @maddsua
    @maddsua Рік тому +157

    Direct import from Blender? That's brilliant, I'm genuinely surprised that a feature like that was added only in version 4

    • @DevLogLogan
      @DevLogLogan  Рік тому +36

      It's the best. Love just going to edit my projects blend file and not having to reimport anything manually.

    • @sechmascm
      @sechmascm Рік тому +4

      @@DevLogLogan On that topic, I noticed the material overrides are reset when you edit the blend file. Is there a way to prevent that?

    • @Micahtmusic
      @Micahtmusic Рік тому +4

      it kinda stopped working. unless someone knows different

    • @NirielWinx
      @NirielWinx Рік тому +1

      That surprised me too. I was used to having my blender and fbx files together in my Godot project folders, knowing that Godot wouldn't care about the blender files. Then it started to import them. Surprise!

  • @morsintus8323
    @morsintus8323 Рік тому +104

    Yo real talk, we need more people like you making tutorials with insane quality such as this. I love how you do everything from scratch and cut straight to the point you are very underrated and I appreciate videos like this immensely. 👍

  • @nonlinearsound-001
    @nonlinearsound-001 Рік тому +97

    This is gold, man! Your 45 minutes tutorial leads to a 4 hours learning session on my end (including reading docs and such), which is amazing! Thanks for introducing us to all those features of Godot. It has probably been a lot of work putting all that together. I can only say, I want more :)

  • @jorie100
    @jorie100 Рік тому +23

    This tutorial is godlike. I clicked on this thinking "another long ass tutorial that probably is only the first part" and assumed that you already had all 3d an controllers. I NEVER THOUGHT that you were gonna do the WHOLE project in 1 video!!! now it amazed me cause is so short for all of the things you did. This tutorial is amazing as I could also learn things from your workflow as well. Godlike.

  • @rambosweat
    @rambosweat Рік тому +41

    straight and to the point. no silly intros, distracting personalities, MTV-style flash cutting, or loud noises. bravo! in and out and learned tons quickly as these tutorials ought to be.

    • @kahwigulum
      @kahwigulum Рік тому +7

      it helps that his voice isn't annoying, doesn't have an accent, and has the mic volume turned up
      i watched this in 1.5x speed and it was perfect

    • @ChrisD__
      @ChrisD__ Рік тому +6

      ​@@kahwigulum ??? they have an accent

    • @MoogieSRO
      @MoogieSRO 11 місяців тому +2

      @@ChrisD__ They mean a non-native accent, which makes the language harder to parse for listeners.

    • @ADarnSmore
      @ADarnSmore 9 місяців тому +2

      @@MoogieSRO what is a non native accent

    • @okie9025
      @okie9025 3 дні тому +1

      @@MoogieSRO what is "native"? he has a pretty clear accent to me

  • @robf5230
    @robf5230 8 місяців тому +14

    No playlist of 10 minute videos Parts 1-12, no "download these starter files." You cover it all end-to-end, quickly and completely. Amazing job!

  • @Ace_Tarkov
    @Ace_Tarkov Рік тому +13

    The little box in the corner showing what your pressing is quite possibly the best thing I have seen a tutorial do ever.

  • @general_jacob8949
    @general_jacob8949 9 місяців тому +10

    I absolutely agree with the other comments, this is how you make a tutorial. Everything is made from scratch, the pace is quick yet effective, and personally I think the best part is that you verbally announce all hotkeys you are pressing as you press them. That is HUGE from the perspective of someone trying to learn. Repeatedly hearing the hotkey as you watch an action happen is the best way to memorize. Thank you so much for taking the time to make and share this video, I found it extremely helpful.

  • @linuxrant
    @linuxrant Рік тому +27

    I cannot express how good this tutorial is. I love your style, man. 45 minutes passed like nothing. You write fast, and explain fast. I follow and understand everything without losing context or undertanding. I learned so much, so so much useful stuff. It would be too long to list how much. Useful blender shortcuts I didn't know, methods, godot features.... too much. We don't deserve you :)

  • @TheMaskedPlayerr
    @TheMaskedPlayerr Рік тому +21

    This is the genuinely and I mean it the best tutorial I have seen for multiplayer and Godot in general. You had a fast pace and didn't stay to stuck on one topic and knew when to slow down and explain something and when not too. Absolute legend.

  • @Fourgees_4GS
    @Fourgees_4GS Рік тому +20

    This man knows blender cause he deletes the default cube. But seriously, I’m excited to see your workflow. This must’ve taken awhile to make this tutorial, thanks

    • @maddsua
      @maddsua Рік тому +4

      ...and then puts it back. Blender 101

  • @TheSpeedyBoi
    @TheSpeedyBoi Рік тому +8

    This is a great tutorial. EDIT: I had a question and the immediately got it answered by frickin around. It was setting the camera to the client instead of keeping it on the server. so you need to make sure the "current" is unchecked on the Camera3D.

  • @hoopoe__
    @hoopoe__ Рік тому +6

    The amount of knowledge that this man throws in 45 minutes is INSANE. Thanks!

  • @kaukospots
    @kaukospots Рік тому +6

    I haven't used Godot yet, this is some of the simplest network synchronization I've ever seen. Super eager to try it out now!

  • @Spicyartichoke
    @Spicyartichoke 11 місяців тому +5

    I virtually never leave comments but I just want to say this is maybe the best tutorial I have ever seen for anything on youtube. Good job, genuinely.

  • @useruseruser501
    @useruseruser501 Рік тому +7

    PSA: if UPNP isn't working you can just remove that code (my router doesn't support it). Over LAN just type in the IP of the host computer to connect. Over the internet, you and whoever wants to play will need to forward your router's port manually.
    UPNP is pretty fragile, I've come to learn.

  • @lazarus8453
    @lazarus8453 Рік тому +3

    I love you don't waste people's time with unnecessary talk you directly go in .

  • @The_Soup_Master
    @The_Soup_Master Рік тому +10

    Can't express how appreciative I am of your content. Excellent delivery, quick and clear is a combo most can't nail.

  • @metacob
    @metacob 17 днів тому

    I've started learning Godot a few days ago. I kept downsizing the scope of my first game, making it smaller and less fun, just to make sure I could finish it and have that crucial first sense of achievement.
    I had zero trouble following this! Now I feel confident that I can actually make a small co-op wave shooter to play with my friends and it'll probably take less time than the other ideas I've had, even the 2D ones.
    Also thanks for displaying all the keystrokes in Blender, lots of other tutorials miss that.

  • @emi_cpl
    @emi_cpl Рік тому +9

    Whoa, I gotta learn how to use Blender asap! Thanks for making this tutorial :)

    • @DevLogLogan
      @DevLogLogan  Рік тому +3

      You're quite welcome, Emi! Thanks for all you do for Godot and the community. :)

    • @itsPonkulz
      @itsPonkulz Рік тому +1

      I actually learned Blender using this tutorial :D

    • @blackowlhu2212
      @blackowlhu2212 7 місяців тому

      @@itsPonkulz how??? to me its too god damn fast i cant change fast enough between my 2 monitor fast enough to see what currently happening and thats with 0.25 speed

  • @GodsAutobiography
    @GodsAutobiography 11 місяців тому +5

    Brutally amazing. I watched it all today and will be watching again while i put it into my project tomorrow.
    This is everything I could have hoped for and more!

  • @spectreskeep4207
    @spectreskeep4207 3 місяці тому +1

    I fucking love you. This tutorial is so beautiful and MARGINS easier than unity. I love you so much

  • @CausticTitan
    @CausticTitan 6 днів тому

    The only creator where I genuinely need to slow down the playback speed. I watch most other tutorial creators at like 1.25x minimum. This guy is perfectly straightforward and useful. I have paid money for tutorials that are useless compared to what you do in these videos.
    Good shit!

  • @CodeAndGin
    @CodeAndGin 16 днів тому

    this video is a godsend my goodness. I had the pieces in front of me but could not for the life of me figure out how they went together, and the docs weren't helping much, whereas this made perfect sense from start to end

  • @tdetoy613
    @tdetoy613 Рік тому +4

    good lord the multiplayer tools in 4 are nice. those synchronizer and spawner nodes are so convenient

    • @shindig9000
      @shindig9000 Рік тому

      Do you happen to know if it is a lot different in Godot3.5 or earlier version?
      I'm trying to ask if it's much more difficult or not if that makes this more clear.

    • @tdetoy613
      @tdetoy613 Рік тому +1

      @@shindig9000 not necessarily more difficult, just... less convenient. the synchronizer nodes do a lot of good work in reducing the boilerplate code you need to do for state updating between clients and rpcs work a little different. in 3.x rpc is a global level function where you feed a string representing the method you want to rpc, so rpc("method_name", arg1..). the fact that 4 does method_name().rpc() really does wonders for cutting down on the possible mistakes

  • @sechmascm
    @sechmascm Рік тому +2

    That you actually talk about how to connect players instead of just saying: "so yeah, once you manage your server-client connection stuff on your own..." is really helpful. Because almost no people go beyond the Godot implementation. Or it's in detail for API's like Steam's, but it's not really prototype friendly

  • @iamarup_
    @iamarup_ Рік тому +2

    Man when I saw the intro of the game i couldn't believe we are gunna create that whole thing in 45 mins! This was literally the best Godot tutorial i have seen. Keep it up bro you are amazing

  • @rosly_yt
    @rosly_yt Рік тому +6

    One thing to note: when I followed this tutorial, I had some flipped faces. It's an easy fix, object mode -> overlays -> face orientation to check. If there's any red faces, just extrude any planes into 3D objects, then control-N to recalculate normals.
    Not a huge issue for the level in the tutorial (my level had invisible faces when viewed from behind a face, but player couldn't see them), but will become an issue if anyone tries to follow this process, but make their own level. Godot discord couldn't help me, I had to ask the Blender folks.

  • @BeSerious.studio_official
    @BeSerious.studio_official 2 місяці тому +2

    always wanted to make a multiplayer in godot but it never worked right because it was too complex. now with godot 4 its so easy: you are the goat!!!

  •  Рік тому +7

    Although i have experience creating games and multiplayer stuff i really enjoyed watching this tutorial. Almost everything i expected is in there in a simple to understand form. Part 2 could be about advanced techniques like dead reckoning if it's meant to be played online and not only on a local network. Really nice!

    • @nimish9594
      @nimish9594 Рік тому +1

      can u suggest me a tut to do that pls

  • @oracuda
    @oracuda Рік тому +9

    should do one with server authoratative movement, clientside prediction and server reconcilliation

  • @gayalmn
    @gayalmn Рік тому +2

    I rarely come across tutorial that are that good that goes fast and straight to the point. we need more videos like this, man i never seen tutorials this well made. we really need more.

  • @kritikalskillz5437
    @kritikalskillz5437 День тому

    bro anyone that can follow this tutorial without rewinding 60000 times is literally super human

  • @rosly_yt
    @rosly_yt Рік тому +1

    This is a fantastic tutorial, thank you. I realized that rotating the camera around yz instead of xy creates the feeling of stumbling around drunkenly, which I'm running with.

  • @rodrigomatos7686
    @rodrigomatos7686 11 місяців тому +2

    This is a complete and really fast tutorial. You need a few hours to go through this well, but it is worth it. Thanks

  • @LightTimeSound
    @LightTimeSound Рік тому +6

    Loving your videos - it's exactly the kind of info in the kind of format I'm looking for. I can't believe Godot makes networking that easy.

  • @user-fu8gq5xg5u1
    @user-fu8gq5xg5u1 Місяць тому +1

    If you want to make a random spawn point after death (and I know you do, I wanted to too and couldn’t find it) Here’s a simple solution:
    We need to add two variables
    var map_width = 1024
    var map_height = 768
    @rpc("any_peer")
    func receive_damage():
    health -= 1
    if health

  • @jsnotlout3312
    @jsnotlout3312 11 місяців тому +4

    This IS HUGE for me. I can no longer use Roblox. As they ruined the platform, Cant use Unity. So I have to swap to Godot. This will make my game easy to make, as I wont have to sift through eons of documentation. Thank you SO MUCH!

    • @pancakedev6
      @pancakedev6 7 місяців тому +1

      same here im moving from roblox but still need multiplayer

  • @orangeviper1264
    @orangeviper1264 10 місяців тому +1

    i love the speedrunning element in this tutorial 😂
    (10/10 commentary was easy to follow)

  • @mrdixioner
    @mrdixioner Рік тому +3

    The first lesson according to version 4, which explains and shows everything in detail! I would recommend adding it to the training materials of the Godot documentation! Thanks a lot!

  • @DanielMartinez-tm7kh
    @DanielMartinez-tm7kh 6 місяців тому

    I wish other ppl do the tutorials the way you do, man! Straight to the point, no redundacy, no useless waste of time.

  • @1Chitus
    @1Chitus 11 місяців тому +3

    I can't adequately convey my gratitude for your content. Your delivery is exceptional, blending speed and clarity in a way that few can achieve.

  • @JxkePlaysThis
    @JxkePlaysThis 11 місяців тому +2

    The clicking noises are so satisfying

  • @NowLP
    @NowLP Рік тому +1

    Your style of making tutorials deserves an award. This is gold!

  • @MrChick1984
    @MrChick1984 Рік тому +9

    When you are draging nodes from Scene to your script to get NodePath like $AnimationPlayer, if you hold CTRL while doing it, it will generate whole @onready command, you do not need to write it. (it is broken in the latest Godot 4 beta though)

    • @DevLogLogan
      @DevLogLogan  Рік тому +6

      Thanks for letting me know! I'll definitely use it. Always looking for workflow optimizers. :)

  • @myaseena
    @myaseena Рік тому +4

    that's a ton of useful information in a single video :D thanks!
    i'm more of a unity person, but i'm sure the concepts will come in handy.

    • @lulezer5608
      @lulezer5608 8 місяців тому +2

      still a unity fan?

  • @nicotinell
    @nicotinell 11 місяців тому +2

    I don't even use Godot, but god damn if this is not a great tutorial! Lightning fast and straight to the point! Also, that Blender macro felt like watching a speedrun, not a tutorial :D

  • @canecho5335
    @canecho5335 Рік тому +3

    Hey, I'm currently just remaking a game for my friends and I to play since the dev abandoned it quite a while ago, this is a great foundation, love to see what you make in the future.

  • @DWildGrave
    @DWildGrave Рік тому +1

    Awesome tutorial! Having written a handful of very nooby games for my kid with Godot (so I already knew the basics) this was a joy to follow :)

  • @chill.8426
    @chill.8426 Рік тому

    this is the best tutorial I have seen for multiplayer. I've tried to get multiplayer setup in the past with no luck - with this, I got a whole game together in a day. keep it up!

  • @HippocritterXD
    @HippocritterXD 25 днів тому

    i love this tutorial, nice and fast no beating around the bush or needles expose.

  • @JohnCanCode
    @JohnCanCode Рік тому +2

    One of the best tuts Ive ever seen. Love the planning that went into this allowing you to be straight to the point. Great work. :)

  • @FreeSisyphus77
    @FreeSisyphus77 7 місяців тому +1

    This is easy... Suspiciously so...
    HEY WORKS FOR ME!!! Thank you for the tutorial

  • @lethn2929
    @lethn2929 Рік тому +10

    Just in case anyone is having the problems that I've had, if you're encountering weird stuff like the second instance being static or the camera being grey and not being able to move after joining it is likely due to the synchronizer and scene hierarchy not being setup correctly. In my case I did not have the root node set correctly, I had it as a red Node 3D rather than a base white Note and it caused me all sorts of issues.

    • @nickvlahos4547
      @nickvlahos4547 8 місяців тому +1

      To add to this, you need to have a white node base, the script has to be on THAT white node base, and then it can connect to the multiplayer spawner.

    • @juniordepaula5649
      @juniordepaula5649 3 місяці тому

      If it still doesn't work and the camera is not moving on one of the players, uncheck 'current' on the player's camera, this should solve the problem.

  • @GarmrNL
    @GarmrNL Рік тому +2

    I love your way of explaining, super fast but to the point and incremental. You have a new subscriber 😄

  • @TheRealKaiProton
    @TheRealKaiProton 3 місяці тому

    You add the quit at 11:29 for totally normal reasons, but I just wanted to say, I found out a week or so ago by accident, when a game is running, F8 ends it.
    Amazing how quick and clean this is, why arent all tutors like this in Godot.

  • @renji-hjk
    @renji-hjk Рік тому +1

    That backslash to continue in other line is new to me, i fell like i am seeing a speedrun lesson but its so clear that i learned a lot watching, do a isometric 3d game next

  • @lucasabratti598
    @lucasabratti598 Рік тому

    I have no plans to make a multiplayer game, but these types of tutorials have to be watched just to get a good idea of ​​how these things work, very good tutorial 10/10

  • @isaacdobson8760
    @isaacdobson8760 Рік тому +3

    this is a great tutorial i have been using godot for about 2 years but only 2d. i wanted to get into 3d and this was the perfect tutorial 👍

  • @user-nz1fy7dd4p
    @user-nz1fy7dd4p 4 місяці тому

    is it me or did i have to watch it at 0.5 speed it was kinda fast but good tutorial this deserves more views i learnt a lot from it

  • @MartinK0870
    @MartinK0870 Рік тому +1

    Amazing tutorial, had no idea about Godot and Blender but thanks to you now I do. Made a sword instead of a pistol and everything works like a charm!!

  • @micmacha
    @micmacha Рік тому +1

    I had no idea you could just drag a node into your code. Thank you for that, it's going to save so much time.

  • @cheeseriners
    @cheeseriners Рік тому +1

    I just want to say. Excellent job and pacing. your style is great for getting a good overview of the workflow for implementing specific things.
    I noticed on another video comment you said you tried to do "full-stack" tutorials and you've really managed to do this. Keep it up, it's great!

  • @keravesque
    @keravesque 5 місяців тому

    😂 I was thanking you for making the campfire turorial with big plans to learn the engine enough to make a first person shooter, and here you have a whole tutorial on actually making a working FPS with networking 😂😂😂😂... great stuff! I'll be sure to check this out next. 😊

  • @madaotee4557
    @madaotee4557 11 місяців тому +1

    me: "Oh! that's just 45 min tutorial. nice, I'm gonna follow it quick"
    * *proceed to take more than 20 min on first time stamp* *

  • @NotPalliot
    @NotPalliot 11 місяців тому +1

    Yes! YES! This is exactly what I've been looking for! Thank you!

  • @aruturu24
    @aruturu24 Рік тому +1

    WOW! This tutorial is just perfect. Easy to understand and fast. Thank you, buddy.

  • @andrewkoontz8206
    @andrewkoontz8206 Рік тому +1

    This video has been infinitely helpful for me in building my project. Thank you!

  • @Dr4kfire
    @Dr4kfire Рік тому +4

    Great tutorial but I got an problem: I got an assert error UPNP invalid gateway! What i need to do to fix this?

  • @brenthansen2822
    @brenthansen2822 Рік тому +1

    I got a multiplayer game up and running super quick thanks to you.

  • @Morimea
    @Morimea 10 місяців тому +1

    Very good tutorial.
    Nice to see huge improvements in Godot 4 multiplayer API.

  • @d4rkd0s
    @d4rkd0s 6 місяців тому

    Finally someone that moves as a nice pace, this is great! Fantastic Tutorial!! :D Thank you!

  • @dortuff
    @dortuff Рік тому +1

    Great tutorial video as a beginner to godot 4.0! also if you hold down Control while dragging in a node reference it`ll automatically do the @onready and variable declaration. Keep up the good work!

  • @tianmaru3573
    @tianmaru3573 Рік тому +1

    Amazing tutorial, almost unbelievable how easy (basic) Networking has become in Godot 4!
    My only problem was, that I had to search for the blender3_path variable in the settings, when I finally noticed I was looking at the project instead of the editor settings.

  • @SageAwakens
    @SageAwakens 11 місяців тому +1

    Sir, why are you such a legend? Please make more tutorials like this. Please.

  • @northicewind
    @northicewind Рік тому +2

    Great videos! Condensed and packed with lots of goodies. Keep up the good work!

  • @nicolasdesenvolvedor1642
    @nicolasdesenvolvedor1642 7 місяців тому +1

    what this guy did in blender in 10 seconds was better than what i did in blender in my entire life lol

  • @lukagarner
    @lukagarner Місяць тому

    Amazing tutorial! Gave me a nice headstart in Godot!

  • @danylbekhoucha6180
    @danylbekhoucha6180 Рік тому +3

    Thank you for the tutorial, I like the way you explain, it is fast and easy to understand.

  • @informatiqueisfutur-ve2ro
    @informatiqueisfutur-ve2ro 3 місяці тому +1

    i tried it in blender 4 and it worked well

  • @jacopo1farina
    @jacopo1farina Рік тому +1

    Amazing video, I like how clear and comprehensive it is!

  • @i-San
    @i-San 19 днів тому

    your video is one of a few videos that deserves the LIKE 👍

  • @reygood1
    @reygood1 Рік тому +1

    This is a very good starting point for this kind of game! Thank you!

  • @gustafrydell4176
    @gustafrydell4176 11 місяців тому

    Pure love, thank you for this awesome tutorial. And not only in Godot but also fast af moddeling in Blender. Learnt alot.

  • @tonyanimations5377
    @tonyanimations5377 Рік тому +2

    Thanks for your amazing tutorial ! I would love to see more examples tutorials like this !

  • @badoli1074
    @badoli1074 10 місяців тому

    Sheesh... My head is still spinning for how lightning fast you are there!

  • @rumariomusic
    @rumariomusic Рік тому +14

    Awesome and great tutorial but UPnP makes a lot of trouble. Can you make a video with an more common alternative?

    • @-Name-here-
      @-Name-here- Рік тому +5

      I would like this too, as upnp seems to be pretty dangerous

    • @ticua07
      @ticua07 Рік тому +5

      The only more common alternative would be to implement your own server and host it yourself (basically you host instead of a player)

    • @-Name-here-
      @-Name-here- Рік тому +4

      @@ticua07 there is epic online services though. Those are free to use, and apparently work with any engine. I’ve seen people get them working in godot, but there aren’t any plugins that you can just download and use, so I’d have to learn how to make extensions in godot if I wanna use them, but it may be a safe alternative.

    • @catcactus1234
      @catcactus1234 Рік тому +2

      I’m new to networking, but what exactly is wrong with UPnP? From what I researched, there was a huge issue with some security leaks back in 2014, but it’s still debated whether enabling UPnP is actually an issue in modern times due to advancements in security.
      And it seems the only common alternative is setting up your own dedicated server to avoid UPnP and bypass NAT. This approach is “safer” but also costs resources and money to set up. Are there other alternatives you have in mind?
      Again, very new to networking and multiplayer, so if anyone can provide more concrete answers I’d appreciate it. Even after researching UPnP, it’s not clear whether it’s actually a security issue and what the alternatives are.

    • @-Name-here-
      @-Name-here- Рік тому +5

      @@catcactus1234 the issue is that with UPnP people are directly connecting to you, instead of a server that relays info to you. This means viruses people aren’t even necessarily aware they have could infect you, and other devices on your network. I believe anyway

  • @anastasiaklyuch2746
    @anastasiaklyuch2746 Рік тому +4

    Note: UPNP has to be enabled both on your router and PC (is by default in most). HOWEVER: some ISP (Internet Service Providers) keep it disabled in your router despite router settings saying it's enabled - they want people to pay extra for the ability to host games ("Static IP" extra service). That may mean this path will be impossible to some people... and I can't even test my UPNP MP because of that...

    • @TheOriginalTim
      @TheOriginalTim Рік тому

      You can work around that by forwarding the port manually in your router; it just doesn't happen "automagically". Of course, depending on how draconian your ISP is, port forwarding may also be locked down... in which case it might be a good idea to purchase your own router and stop renting theirs (assuming that's an option).
      You'll also want to adjust the UPNP code (remove the assert statements so the game doesn't crash when it fails to use UPNP to punch a hole, notify the user that automatic forwarding failed, give instructions on which port(s) will need forwarded, etc).

    • @anastasiaklyuch2746
      @anastasiaklyuch2746 Рік тому

      @@TheOriginalTim Yeah, port-forwarding also relies on static IP being a permitted feature. Plus, you can't just get free internet, someone has to provide it at least on some level, so it would always have to be a paid service, it just depends whether ISP put it into a special DLC BS package.
      But yeah, players should know weather UPNP setup failed.

  • @chedev
    @chedev Рік тому +2

    hey when i run the game on two instances one click host and one click join, the second player will be fine to move around and can see the first player, but the first player is, the same he can move but the camera is stuck to the second player pls help me

    • @infernojoe
      @infernojoe Рік тому +2

      uncheck 'current' on the player's camera, hope this helps

  • @lfozone3471
    @lfozone3471 Рік тому +1

    Thanks for taking the time to make these great tutorials. 👍

  • @vast634
    @vast634 10 місяців тому

    I like the condensed no fuzz style. Great reference video.

  • @KaletheQuick
    @KaletheQuick 2 місяці тому

    This was good. Just implimented some of this for my project. With some animator variables being synced. However i had set up a system by which players are kind of on a base gray node, and that translates their input to some universal stuff that all my mobs use. I was hoping it will let me make it so you can switch between what creature you are controlling. Im still figuring it out, but im hopeful the authority tools will help.
    Thanks for the great video!

  • @gqmeboi_2135
    @gqmeboi_2135 Рік тому +7

    CAME FROM REDDIT YOU A G

  • @Bogdan-Dode
    @Bogdan-Dode 7 місяців тому

    Your speed for a tutorial is amazing!

  • @ChocAus
    @ChocAus Рік тому +5

    Pump the video to 1.5 speed and its like Eminem is teaching me blender hotkeys.

    • @boibox
      @boibox Рік тому +1

      It does😂

  • @lethn2929
    @lethn2929 Рік тому +2

    Believe it or not and I don't know whether it's partly because the Godot 4 devs have done such a good job with the multiplayer code as well, I think this is one of the best tutorials I've seen on making a multiplayer game code wise, credit where it's due. I think it's just because you're using proper real world examples instead of trying to talk about networking in the abstract constantly, it drove me mad trying to learn multiplayer this way for years now Godot 4 comes along with just a few lines of code and some nodes.

  • @benikeler
    @benikeler Рік тому +2

    This is fantastic! Thank you for the video!!