How to code Steam Multiplayer lobbies in Unity using FacePunch

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 30

  • @jamesfarrell1415
    @jamesfarrell1415 ปีที่แล้ว +4

    Exactly what I was looking for, thanks for the clear cut video!

  • @wispre3800
    @wispre3800 ปีที่แล้ว +2

    Important to know that you should have steam opened in the background if you want this to work

  • @DankMemer-iz2ql
    @DankMemer-iz2ql ปีที่แล้ว +8

    3:44 Facebook??XD Thx for shearing your knowlage

  • @isaquecrazy
    @isaquecrazy 3 หลายเดือนก่อน +1

    Can you help me? I want to make a lobby with options (solo, duo and squad) and then enter the game as a team (or solo), but I didn't understand how to do this...

  • @UsmanDev
    @UsmanDev ปีที่แล้ว +1

    Perfect! Was looking for this :)

  • @_nashset
    @_nashset 10 หลายเดือนก่อน +1

    "Shift + Delete" to delete the current line of code without having to highlight it.
    (will copy it into your clipboard.)

  • @AlcadraSoykan
    @AlcadraSoykan 3 หลายเดือนก่อน

    Can a voice chat system be made with netcode without using a service or asset?

  • @gradi02
    @gradi02 4 หลายเดือนก่อน +1

    When exactlu steam initialisation is invoking? I have a problem when changing scenes from start to level and back with facepunch that is trying to init but you are already initialised...

    • @pixelfizz1718
      @pixelfizz1718  4 หลายเดือนก่อน

      I stay far away from scenes. Personally I think they are bad practice.

    • @gradi02
      @gradi02 4 หลายเดือนก่อน

      @@pixelfizz1718 well even in games with big different levels with many models? I mean handling this would not be fun

    • @pixelfizz1718
      @pixelfizz1718  3 หลายเดือนก่อน

      @@gradi02 There is an option to dontdestroyonload.. Maybe that's what your looking for?

    • @gradi02
      @gradi02 3 หลายเดือนก่อน +1

      @@pixelfizz1718 i have found that initialisation is executing im Awake function in one of the facepunch script and just adjust it to fit my needs :p

  • @masonp7258
    @masonp7258 ปีที่แล้ว +1

    I can't get other players to join my game. It shows the lobby being created and allows me to invite them on steam, but when they accept they are left in the default scene. Could this be because my appID isn't useable yet through steam?

    • @albertmarciano3748
      @albertmarciano3748 ปีที่แล้ว +2

      I had a similar issue. I haven't figured it quite out yet but noticed if they join the game through the steam overlay AFTER they start the game, they join the lobby.

    • @TheMagman
      @TheMagman ปีที่แล้ว

      I am stuck on this problem I tried things like setting the richPresence and trying to retrieve the LaunchParameters but I can't get it to work. I am also unsure if this is the way to fix it.
      If you found a fix or know in whic direction I should look please let me know.

    • @IKIMEN
      @IKIMEN ปีที่แล้ว

      @@albertmarciano3748 Same here

    • @pixelfizz1718
      @pixelfizz1718  4 หลายเดือนก่อน

      Sry I haven't been super active in a while. When testing builds make sure you have the build added to your steam library. Iv noticed not having it in steam library can cause weird inconsistent problems.

  • @fv4202x
    @fv4202x 4 หลายเดือนก่อน

    I thought steam networking was entirely different network solution. So its not a network solution and only helps on lobby/matchmaking part so we still have to use a regular unity networking solution. Did I understand correctly?

    • @pixelfizz1718
      @pixelfizz1718  4 หลายเดือนก่อน

      Yes think of it like a pass through server cause it essentially is, but with features.

    • @AlcadraSoykan
      @AlcadraSoykan 3 หลายเดือนก่อน

      and we don't need to pay for unity lobby services. did i understand correctly?

  • @satirical_snake
    @satirical_snake ปีที่แล้ว

    How would I have a "join random lobby" functionlity?

    • @pixelfizz1718
      @pixelfizz1718  ปีที่แล้ว

      There are a few tutorials out there right now that will help you search for particular steam lobbies. I haven't done it yet so I can't explain it well enough.

  • @FragileQuail
    @FragileQuail ปีที่แล้ว

    Ran into a bug that took 2 hours to fix. You cant store the project on an external drive using fat32. Git doesn't recognize any ownership system in the filesystem and errors out when adding the project the way you do in the video.

    • @seontr
      @seontr 7 หลายเดือนก่อน

      how to fix it

    • @trued7461
      @trued7461 2 หลายเดือนก่อน

      @@seontr dont store the project on an external drive using fat32?

  • @Ambient_Sounds_for_studying
    @Ambient_Sounds_for_studying ปีที่แล้ว

    yo is the code your provided open source, or are you looking for attribution or...

    • @pixelfizz1718
      @pixelfizz1718  ปีที่แล้ว +1

      Its for you to take and create what you want with it. Its simply a tool to help others.

  • @bliu9063
    @bliu9063 ปีที่แล้ว

    Hi, may you please tell me what changes to your code is necessary, if I want to use facepunch with Fish-Net Networking instead of unity netcode?

  • @danielchan1558
    @danielchan1558 3 หลายเดือนก่อน

    laitiao book

  • @Santanu_Pal
    @Santanu_Pal ปีที่แล้ว +3

    Please do not use Back ground Music during tutorial.