Unity Multiplayer Game Development - Physics Controller & New Map

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • Hello guys, this is my third update video showing the progress on my current Unity multiplayer game project. Over the past few weeks I have changed the player controller to a physics based controller. I also added physics objects to the game and worked on clouds. Lastly I started creating the first larger map.
    The current plan for this game is unknown although it is being thought about. Currently I’m implementing common multiplayer features and basically making a first person shooter game. As I figure out what kind of game I plan on making out of this, the features I add will start to be more specific to the kind of game I'm trying to make.
    ----------------------
    Tom’s Unity Multiplayer Networking Series: • Connecting Unity Clien...
    Low Poly Clouds: • [Unity] Low Poly Cloud...
    Multiplayer Development Updates Playlist: • Multiplayer Game Updates
    My Website: zxgames.net
    My Discord: / discord
    ----------------------
    Music:
    (0:00)
    Title: Memo
    Artist: super noot ensemble
    Source: • Memo | cute, 8 bit, ch...
    (0:34)
    Title: Digital Ether
    Source: • Digital Ether - Eight ...
    (2:40)
    Title: Elation
    Artist: Raydar
    Source: • Raydar - Elation
    #Devlog #GameDev #Multiplayer #Unity3D #Unity #IndieDev #LowPoly #GameDevelopment
  • Zábava

Komentáře • 123

  • @KajewDeveloper
    @KajewDeveloper Před 3 lety +25

    u deserve MORE SUBSCRIBER!!!

    • @xzippyzachx
      @xzippyzachx  Před 3 lety +4

      Thanks, feel free to share my channel with others that may be interested then :)

    • @LAE-7
      @LAE-7 Před 3 lety +3

      I agree. The content is amazing. Starting out with Unity too. Any tips?

    • @Mickey-fd4ow
      @Mickey-fd4ow Před 3 lety +1

      Ya

    • @thexbok7969
      @thexbok7969 Před 3 lety

      Yes now i want to do this but i do not have the skill

  • @DhrumitMehta
    @DhrumitMehta Před 3 lety +22

    The clouds feel a bit flat to me. Other than that amazing work 👌🙌

    • @xzippyzachx
      @xzippyzachx  Před 3 lety +9

      Yes they do. I may experiment with having them at multiple levels in the sky. Thanks!

    • @LAE-7
      @LAE-7 Před 3 lety +1

      Same here dude. Maybe add some layers to the top

  • @OreoWasTaken
    @OreoWasTaken Před 3 lety +4

    Came looking for copper and I found gold. Keep up the great work!

  • @circlexc908
    @circlexc908 Před 3 lety +3

    Your game is really cool I hope you reach 10k subs soon your a really good game creator

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      yeah I should reach it very soon! Thanks :p

  • @bumba5727
    @bumba5727 Před 3 lety +4

    That low poly style looks sick! Good job dude! 🙃

  • @PubertPenis
    @PubertPenis Před 2 lety +1

    Looks awesome. I recommend different tress or just different trees scattered

    • @xzippyzachx
      @xzippyzachx  Před 2 lety

      Yeah, I think there will be different trees on other maps

  • @garrettdeveloper
    @garrettdeveloper Před 3 lety +1

    I really love these videos, you have made a great game so far too!

  • @RugbugRedfern
    @RugbugRedfern Před 3 lety +3

    I think I saw you post those clouds on reddit! Looks good :)

  • @LAE-7
    @LAE-7 Před 3 lety +1

    This is amazing! Good job.

  • @7heQuaX
    @7heQuaX Před 3 lety +1

    Cool videos! Awesome work and I love keep watching the progress. 👍

  • @noahhardy4040
    @noahhardy4040 Před 2 lety +2

    Congrats on 13.7k subscribers! I really like how it has been turning out so far, good job on the networking, animations, designs. I mainly just code and work out graphics and designs on the asset store.
    I hope you can read this. And I do have a few questions.

    • @xzippyzachx
      @xzippyzachx  Před 2 lety +1

      Thanks. Feel free to ask more questions on my discord server

  • @ToBeAuthentic
    @ToBeAuthentic Před rokem +1

    thanks for the vids, appreciate your work! Inspiring!

  • @MujjMujj
    @MujjMujj Před 3 lety +2

    This mans skill is unbelievable

    • @xzippyzachx
      @xzippyzachx  Před 3 lety +1

      I don't think I am that good, but thanks its appreciated!

    • @MujjMujj
      @MujjMujj Před 3 lety +1

      @@xzippyzachx Well you're better than me at least, not that hard to achieve though XD

    • @circlexc908
      @circlexc908 Před 3 lety

      Yes

  • @readyplayerpiggy3755
    @readyplayerpiggy3755 Před 3 lety +2

    I love this channel, and I love using Unity

  • @gymptvlive
    @gymptvlive Před 3 lety +1

    keep it up! I'm enjoying your content sooo much! Just.. i really like how is it going :D

  • @achraf8271
    @achraf8271 Před 3 lety +2

    Congrats on 500 subs!

  • @atomicalex1732
    @atomicalex1732 Před 3 lety +1

    Nice! looks great!
    i subbed

  • @ZaCkOX900
    @ZaCkOX900 Před 3 lety +12

    I like the waterfall, the recording shows lag, is it really that laggy?

    • @xzippyzachx
      @xzippyzachx  Před 3 lety +3

      I noticed the lag in the video too. I think that's my recording software. Gonna try and fix it for next time. Didn't notice it until I went to edit because the game runs smoothly. The waterfall isn't in it's final state. I think I am going to modify how it looks a bit. Thanks!

    • @circlexc908
      @circlexc908 Před 3 lety +1

      Lol

    • @xzippyzachx
      @xzippyzachx  Před 2 lety

      @Furious Creator Streamlabs OBS

  • @Flamecatbs
    @Flamecatbs Před 3 lety +1

    I love your viddeos and you have inspired me to make an fps but i will do it on my old pc

  • @djcrytec7177
    @djcrytec7177 Před 3 lety

    Awesome again!

  • @nmvvlogs4045
    @nmvvlogs4045 Před 3 lety +1

    Nice vid keep up the good work

  • @moonknight7564
    @moonknight7564 Před 2 lety +1

    Cool!

  • @thexbok7969
    @thexbok7969 Před 3 lety +1

    That is better than i can do in 15 years

  • @suhasanimation6193
    @suhasanimation6193 Před 10 měsíci

    Good job bro

  • @SanfordPE
    @SanfordPE Před 3 měsíci

    That map is awesome 😎

  • @sconosciutosconosciuto2196

    New sub :D

  • @b_k3932
    @b_k3932 Před 3 lety +1

    Nice Game I love ur vids n I subed , from how much ru making games ? And some clouds look like UFO , so work on cloud system

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      I have been making games for over 5 years. You should check out that video on my channel! Also yes I am tweaking the clouds still. Thanks! :p

  • @m.b.a5260
    @m.b.a5260 Před rokem +1

    Sir me to make collider physics move and controll but i transform this project multiplayer but how can i made-transform mesh dosnt show 2.player i use photon and i cant make what do you should me? new multiplayer engine? or another?

  • @JimboS1ice999
    @JimboS1ice999 Před rokem +1

    How did you figure out the fix for multiplayer physics where it will represent differently on separate clients? And sync so that the same physics are displayed on every instance of the game being played.

    • @xzippyzachx
      @xzippyzachx  Před rokem

      Continue watching my newer videos if you haven't. I talk about implementing client side movement prediction in episode 11. Its a complicated process to figure out.

  • @Shonnyy
    @Shonnyy Před 3 lety +1

    Hey dude, keen to see where this goes. Is your server authoritative over client movements and if so, is your client then predicting it's own movement before the server validates it?

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Yes, the movement is server authoritative. But no I do not have client prediction implemented yet. I do plan to implement it in the future.

  • @lazerChad
    @lazerChad Před 3 lety +1

    Bruhh I can’t wait to play this lol

  • @nemanja54pchead39
    @nemanja54pchead39 Před 3 lety +1

    how did you make equip gun animation and gun moves the same rotation as camera.

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      The easiest way of doing this is to make the gun object a child of the camera object. Then the gun object will rotate with the camera since its a child of it.

    • @nemanja54pchead39
      @nemanja54pchead39 Před 3 lety

      @@xzippyzachx yes but i must do like that hands hold a gun this is quite hard for me coz i use sometimes Roate or rotation method... I will try my best to complete that

    • @sleepingturtle32
      @sleepingturtle32 Před 3 lety +2

      Oh and make sure to attach the cam to the player and also if you have arms that hold the gun make sure to make both a child of the cam

  • @tomweiland
    @tomweiland Před 3 lety +1

    I like that waterfall!
    Did you go with a kinematic rigidbody? If not, how'd you avoid the player sliding around even after the player lets go of the movement keys? Friction?

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Really you like the waterfall! I thought it looked a little lame, thanks that makes me feel better! My rigidbody isn't kinematic. As for the sliding I don't have any physics friction added separably. My player doesn't seem to slide until it is on a slope greater than 30 degrees. Something must be different with our controllers though.

    • @tomweiland
      @tomweiland Před 3 lety +1

      @@xzippyzachx hmmm 🤔
      We'll have to chat on Discord about that player controller :P

    • @creasu124
      @creasu124 Před 3 lety

      @Tom Weiland i have a solution for that i made in my own system, without needing to use friction.
      I will share code here, The code below is when you use forces to move your player this is basically a counterforce.

    • @creasu124
      @creasu124 Před 3 lety

      For Z axis you just change rigidbody to rb.transform.forward and strength value is sort of the friction value
      if (Mathf.Abs(x) < 0.1)
      {
      // Dot product multiplied with the desired direction.normalized
      Vector3 xVelocity = Vector3.Dot(rb.velocity, rb.transform.right) * rb.transform.right.normalized;
      // Now we calculate force to add to rigidbody.
      Vector3 f = -(rb.mass * xVelocity) * strength;
      // Add the force
      rb.AddForce(f, ForceMode.Impulse);
      }

    • @tomweiland
      @tomweiland Před 3 lety

      @@creasu124 I don't think using impulses won't mesh well with velocity changes...

  • @remy_2701
    @remy_2701 Před 3 lety +1

    You should add more types of trees and maybe bush

    • @xzippyzachx
      @xzippyzachx  Před 3 lety +1

      Yep, that's in the works right now :p

  • @benjaminjones7782
    @benjaminjones7782 Před 3 lety +1

    Hey, firstly you should definitely make a discord. Secondly, I followed Tom Weiland’s networking tutorial about a week ago. One thing I didn’t like was how half way through the tutorial he switched from using a dedicated server to more of a host design through unity. Are you still using the dedicated server in the terminal or are you hosting from unity now. If you are still hosting in terminal how did you overcome this? Thanks!

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      I am using unity for my server. It is still a dedicated server. If you want to run the server as a terminal you just have to build the project in server build mode (A quick google should explain this in more detail). I would use unity for your server. It is much easier to manage and unity's physics system is much easier to work with.

  • @titasmations5985
    @titasmations5985 Před 3 lety +1

    Cool works how did you make login register work?

  • @puppertwt4689
    @puppertwt4689 Před 2 lety +1

    you are epic

  • @trite1955
    @trite1955 Před 3 lety +1

    For your friends to play, what do they have to do to get in it?

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      You mean how do they connect? Just like any there multiplayer game, you click on a server in the join list.

  • @titasmations5985
    @titasmations5985 Před 3 lety +1

    is photon + playfab is good as ,,Tom,, connection totorials + fire base

    • @xzippyzachx
      @xzippyzachx  Před 3 lety +1

      Really depends on the kind of game you are making. If you are making a room based game with smaller groups of players then use photon. If you are making a game that would work better with a dedicated server (Open world, larger amount of players in one game) then use Tom's solution. As for Playfab or Firebase I really cant say. I haven't used playfab. I just use Firebase because its made by google and I use googles services for many other things hosting related.

    • @titasmations5985
      @titasmations5985 Před 3 lety +1

      @@xzippyzachx ok thanks

    • @titasmations5985
      @titasmations5985 Před 3 lety +1

      @@xzippyzachx also cool game you are creating I am trying to create my own FPS games

  • @Daeniak57
    @Daeniak57 Před 3 lety +1

    How did you make the full body fps ? :O

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      I think I talk about it in my earlier videos. As for the entire process its to complicated to explain really. :p

    • @Daeniak57
      @Daeniak57 Před 3 lety

      @@xzippyzachx Do you have some sources or article or anything can help me to do that ?
      I also sub to you're channel (I really like you're content)
      Sorry my english is bad i'm french

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      ​@@Daeniak57 Thanks! I pretty much built my FPS body / IK system myself so I don't really have any resources on hand. If you have specific questions you can ask me on my Discord server.

    • @Daeniak57
      @Daeniak57 Před 3 lety

      @@xzippyzachx Oh okay i will join

  • @ThePoinball
    @ThePoinball Před 3 lety +4

    the texture triangle pattern could be different depending of the kind of texture. dirt pattern should not be the same as rock

    • @xzippyzachx
      @xzippyzachx  Před 3 lety +1

      That's a good suggestion. Thanks I might try it out.

  • @rileyp-b2859
    @rileyp-b2859 Před 3 lety +1

    like dropped subscribe SMASHED!!!

  • @princerajkrishna8349
    @princerajkrishna8349 Před 3 lety +1

    Bro i also want to make multiplayer game but can't find the material for multiplayer game making for unity 2019.3.14f

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      look into Mirror, Photon 2, or Tom's networking solution. Links are in my first multiplayer update video description.

    • @princerajkrishna8349
      @princerajkrishna8349 Před 3 lety

      @@xzippyzachx thanks bro!

    • @sleepingturtle32
      @sleepingturtle32 Před 3 lety +1

      FYI just use toms, it is so much better and easier and also you can add updates to it easier and it can always be running

  • @utkarshjha9547
    @utkarshjha9547 Před 3 lety +1

    clouds have different layers and are of different shades of white.

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      I might modify them a bit but I'm not going for anything realistic here

    • @ShieldSniper
      @ShieldSniper Před 3 lety

      @@xzippyzachx I think you can also change the sky box, the default one does not very weel if your art style

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      @SlayR Any ideas? I don't want to use a static sky box so it will have to be procedural

    • @ShieldSniper
      @ShieldSniper Před 3 lety +1

      Why is that? Are you planing for a day night cycle with wheather variations?
      I was just thinking your game could go with a more stylized sky.
      But is not important in this stage of your project to be honest. The gameplay, network and guns should be the focus in my opnion.
      Good luck!

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Yeah I think I will look into it down the road. Thanks!

  • @simonvutov7575
    @simonvutov7575 Před 3 lety +1

    This is a really nice game so far, I am searching for videos on how to make a multiplayer FPS, does anyone know any good tutorials?

    • @xzippyzachx
      @xzippyzachx  Před 3 lety +2

      Look in the description of my first multiplayer update video!

    • @simonvutov7575
      @simonvutov7575 Před 3 lety +1

      xzippyzachx thank you

  • @TheBooban
    @TheBooban Před 3 lety +1

    Seems like you're making a survival MMO? This may take a while...

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Um, I haven't decided what kind of game its going to be. Right now I am basically making a fps game but I do have some ideas for unique game modes. One game mode could be survival. I don't think It will be an MMO though.

  • @attilavs2
    @attilavs2 Před 3 lety +3

    Maybe add some more "flowy" water with an animation instead of a flat texture it would look a lot better otherwise i've been using unity and wow you are good