Game Dev Steals from Unity, for Multiplayer Spawning, with Photon Fusion

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 42

  • @hamdikhouaja5410
    @hamdikhouaja5410 Год назад +3

    something i have to say, i love the way your tutos are made, precisely, it's not that you prepare the tuto before recording. You just go with hitting record, then you anticapte. This way, i learn much more, beacause i feel like "we are at the same boat", i feel like i am thinking with you... keep it this way
    Finally thanks for all videos...

    • @PhilipHerlitz
      @PhilipHerlitz  Год назад +1

      I'm happy you enjoy it! It's mostly just out of time constraint that I don't really 'prepare'. I will prepare for something if I've never done it before, or haven't done it in a long time. But, you're right, its not usually a lot of prep. Its one of the ways I've been able to do so many videos back to back lately. Hooray for the OBS 'Pause' button, so i can pause when I need to think, and the videos don't end up hours long 😄

  • @MegaIlovemusic1
    @MegaIlovemusic1 Год назад +1

    I recently came across your channel, it's fantastic, I'm currently moving my project from PUN to FUSION, do you have any idea why I don't see those 3 scripts? I have a Network transform but it's not the same as the one you show in the video.

    • @PhilipHerlitz
      @PhilipHerlitz  Год назад

      What three scripts do you mean? Did you completely remove PUN from your project before installing Fusion? What version of Fusion are you using? 1 or 2? This video is using Fusion 1 which might have slightly different components than Fusion 2. Feel free to hop in my discord server and chat live with us! Link in description of the video.

    • @MegaIlovemusic1
      @MegaIlovemusic1 Год назад

      YES, it is a new project, it is Fusion 2. Maybe that's why I don't see that NetworkTransform interpolation, I'm having trouble understanding how to synchronize the movement. Photon Fusion already synchronizes the movement with the NetworkAnimator but not the movement, it's a bit annoying and confusing ....... I'll join!@@PhilipHerlitz

  • @RuberSocks
    @RuberSocks Год назад +1

    Anyone reading this on Fusion 2.0, make sure that on the Player prefab's Network Transform script, you enable "Sync Parent", which allows the transform to be controlled by the Third Person Controller.

    • @PhilipHerlitz
      @PhilipHerlitz  Год назад

      Whats the trick getting Shared mode to work in Fusion 2.0? The past couple days I've been experimenting with Fusion 2.0, and it refuses to connect in shared mode.

    • @RuberSocks
      @RuberSocks Год назад

      @@PhilipHerlitz Maybe your Fusion server isn't on version 2.0? I feel like I mostly followed your tutorial without having to change much

    • @RuberSocks
      @RuberSocks Год назад

      @@PhilipHerlitz For example, these are the connection parameters I used:
      await runner.StartGame(new StartGameArgs()
      {
      GameMode = GameMode.Shared,
      SessionName = "test",
      PlayerCount = 2,
      SceneManager = gameObject.AddComponent()
      });

    • @MMonis-ge6lh
      @MMonis-ge6lh 10 месяцев назад

      Cannt implicitly convert playerref to int ? Error showing

    • @PhilipHerlitz
      @PhilipHerlitz  10 месяцев назад

      I think thats a change from Fusion 1 to Fusion 2. I think you get the Player, then do something like Player.PlayerRef or something.@@MMonis-ge6lh

  • @hamdikhouaja5410
    @hamdikhouaja5410 Год назад +1

    Something needs to be considered : Starter Asset is compatible with touchscreen input (for mobile builds). Do we need to consider to add Joystick UI and see the authority with it too?

    • @PhilipHerlitz
      @PhilipHerlitz  Год назад +2

      You would just activate the Joystick UI. It would not get spawned over the network.

  • @alperen475
    @alperen475 Год назад +1

    Damn man, you're amazing!

    • @PhilipHerlitz
      @PhilipHerlitz  Год назад +1

      Thanks! Any suggestions on what my next video should be?

    • @alperen475
      @alperen475 Год назад

      @@PhilipHerlitz It would be great to integrate ReadyPlayerMe into this project

    • @PhilipHerlitz
      @PhilipHerlitz  Год назад

      @@alperen475 part 10 of my readyplayerme series covers spawning readyplayerme avtars with fusion ruclips.net/p/PLSq-rVcJ9fMYAUefBGR_avztQVERcmvjo

    • @alperent4536
      @alperent4536 Год назад

      @@PhilipHerlitz Any chance of reapplying the rpm install to this playlist? This video is very complicated, please I need it.😔

  • @jackjudge7393
    @jackjudge7393 8 месяцев назад

    how would you implement this with Fusion 2.0 and the Change to Network Transform breaks this method you're using, Once the player is spawned in they cant move anywhere

    • @ugochukwunwankiti6030
      @ugochukwunwankiti6030 6 месяцев назад

      Hi, I'm facing the same issue. How were you able to solve yours???

    • @SarvagyaAgarwal-d9h
      @SarvagyaAgarwal-d9h 3 месяца назад

      @@ugochukwunwankiti6030 did you manage to solve it?

  • @le_plankton
    @le_plankton 10 месяцев назад

    since transitionning to vs2022 my awake, start and update are also like "were not doing anything" yet they work

  • @kriskellyfilm
    @kriskellyfilm Год назад +1

    These tutorials are amazing. Thank you.

  • @YouMightCry
    @YouMightCry 11 месяцев назад +1

    You Are Amazing

  • @ROCKSMASHER
    @ROCKSMASHER 11 месяцев назад +1

    12:00 instead of using script you can just make the camera child of player prefab and it would work fine

    • @PhilipHerlitz
      @PhilipHerlitz  11 месяцев назад

      You could...but its not a good idea. Its one extra element to have to keep track of. You don't want to accidentally leave the camera active, and you have 4 players in the room, with 4 active cameras.

    • @ROCKSMASHER
      @ROCKSMASHER 11 месяцев назад

      hey i am using joystick but with each player it is making seperate joystick i want only one joystick what to do?@@PhilipHerlitz

    • @PhilipHerlitz
      @PhilipHerlitz  11 месяцев назад

      I'm not sure what you mean.@@ROCKSMASHER

    • @ROCKSMASHER
      @ROCKSMASHER 11 месяцев назад

      i am using joystick but it is making new for each player idk how to fix@@PhilipHerlitz

  • @le_plankton
    @le_plankton 10 месяцев назад

    you sir are an amazing teacher

  • @HamadHardy
    @HamadHardy Год назад +1

    Hi, I really Enjoyed your tutorials .. I just reach this 2nd tutorial of yours .. I don't know if you cover this in upcoming parts of Multiplayer ..
    I used Pun 2 a year ago and on that project will not start until you have an internet connection .. I am curious or you can say having less knowledge ... That how to do a offline and online mode .. Even when player don't have internet It should start project and show a mainmenu window so player can atleast play Offline mode.. Please make a small tutorial video on that (Fusion or Pun2). I just want to learn that part bcz I need it in upcoming days.. Thanks

    • @PhilipHerlitz
      @PhilipHerlitz  Год назад

      Its super simple. Rather than starting with GameMode.Shared, you do GameMode.Single

    • @HamadHardy
      @HamadHardy Год назад

      Is this same for Pun2?
      @@PhilipHerlitz

  • @IgorAherne
    @IgorAherne Год назад +1

    thank you

  • @hamdikhouaja5410
    @hamdikhouaja5410 Год назад +1

    this tutorial is so amazing, i just got multiplayer working, thnaks to you !
    So thank you....

  • @FarSam25
    @FarSam25 Год назад +1

    please sir do a photon realtime tutorial

    • @PhilipHerlitz
      @PhilipHerlitz  Год назад

      Photon realtime is just the backbone of all of PHoton's multiplayer options. I don't understand what I would do a tutorial with it on. It just kind of exists in the background of all Photon's multiplayer products (is my understanding).

    • @FarSam25
      @FarSam25 Год назад

      Thank you sir! @@PhilipHerlitz

  • @le_plankton
    @le_plankton 10 месяцев назад

    glad to give you a hundredth of a cent