Unity Multiplayer Game Development - Game Loop & New Weapon

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • Hello guys, this is my 5th update video showing the progress on my current Unity multiplayer game project. Over the past month I have added a new sniper rifle weapon and given all of the weapons textures. I have also gotten the first basic game loop working.
    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.
    ----------------------
    My Multiplayer Development Updates Playlist: • Multiplayer Game Updates
    Tom’s Unity Multiplayer Networking Series: • Connecting Unity Clien...
    My Discord: / discord
    My Website: zxgames.net
    ----------------------
    Time stamps:
    0:00 - Intro
    0:16 - Weapon Textures
    0:56 - Hit Markers
    1:10 - Sniper Rifle Weapon
    2:34 - Game Loop
    3:20 - Lobby System
    4:01 - Team System
    4:31 - Game-mode System
    5:10 - Token Validation
    5:58 - Outro
    ----------------------
    Music:
    Title: Memo
    Source: • Memo | cute, 8 bit, ch...
    Title: Prometheus Station - Drifting Through Space Chillwave
    Source: • Prometheus Station - D...
    Title: Open World - Double Jump Gaming Chiptune
    Source: • Open World - Double Ju...
    #Devlog #GameDev #Multiplayer #Unity3D #Unity #IndieDev #LowPoly #GameDevelopment
  • Zábava

Komentáře • 105

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

    That weapon texturing style is super cool, I knew about it before but never considered how easy it would be to make skins.
    I love the world based lobby design! World based lobbies have always been fun in my opinion. I think it would be cool if you could shoot maps to vote for them, and shoot gamemodes to select them. Right now the world based lobby doesn't seem to make much sense if you just have a UI popup.
    And yeah, a Firebase tutorial would be awesome.

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

      WOW that's a great suggestion! That would make it even more of a open world lobby! Thanks! I will still keep the admin version in case the admin wants to force a gamemode/Map.

  • @OneShotwastaken
    @OneShotwastaken Před 3 lety +13

    Wow! Awesome job! The new gun texture is great!

  • @povilasca8306
    @povilasca8306 Před 3 lety +8

    Another amazing devlog! Would definitely love to see how you make the login/reg system with firebase

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

    Yesss, new devlog! That whole texture thing for the weapons makes me wonder if my vertex coloring method isn't the right way to go :P

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

      Well the one difference I can see with your coloring solution is that its fully in unity/in game. I think you are planning on being able to do customization to the level where they can pick the exact color for each part of the character/weapon/item they are customizing in real time. Where as with the color pallet texture method they would only be able to select from a set preset of "Skins" and/or they could make there own color pallet using an image editing software and then import it into the game somehow. I am interested to see where you go with your solution :p

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

      Texture atlases can work super well if you want to change the colors of the game in a snap. Plus the performance benefits of vertex coloring don't really matter when all the materials are loading a 32x32 texture for their colors.

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

      @@RugbugRedfern true. Although in order to have hard edges in the texture, the UVs will need seams, meaning vertices will be split anyways (originally I thought that the texture way might help conserve a few extra vertices).

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

      @@tomweiland Still hoping you make a video covering how to replicate your graphics performance optimizations! I still have no clue what vertex splitting is.

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

      @@RugbugRedfern any time 2 vertices share identical data (position, normal, UVs, color, etc.), they can be combined into one. That's how you get regular smooth shading. The default Unity cube has 24 vertices instead of 4 because if it only had 4, the lighting would make it look more spherical-in order to make the edges look hard, each face needs its own normal, which means each face needs a unique set of vertices. Not sure if that makes sense, but maybe it helps...

  • @rayyan7818
    @rayyan7818 Před 3 lety +7

    This game is sick
    i would also like to see a tutorial on how to use firebase

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

    my man is still replying to comments and still hearting them
    btw awesome vids

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

    Awesome! You should consider using ue4 since all the multiplayer functionality is built in! Anyway, I love seeing ur progress and good luck! ;D

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

    The game is looking quite thorough!

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

    Great video! Game looks so good can't wait to see it finished :D The new gun texture's look so nice

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

      Thanks! Hopefully Its finished some day or at least released. Long way to go

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

    Awesome work man. You got me to punch the red button gray

  • @Lemon-zs2lv
    @Lemon-zs2lv Před 3 lety +1

    Nice video edits, simple yet entertaining to watch, keep up with the videos and don't lose motivation

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Appreciate it! Comments like these give me motivation

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

    Love it! Your making great progress!

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

    Great video Zach! I really liked those textures in the guns and it's lookin really good!

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

    Awesome vid! Looking forward to the firebase content :)

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

    Love the work man.

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

    Aaaaaand Awesome again!

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

    Definitely want a tutorial on fire base with unity.

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Already have one out now. Check out my channel :p

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

    Heyy...I just loved the way on how u used low poly stuff to make such interesting level design....

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Thanks a lot 😊I will be making more levels soon!

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

    How do you get projectiles to shoot right towards the crosshair position? I saw this in the first video of the series, alongside this video, and have always been stumped on how to do it.

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

      Basically I ray-cast from the camera and get the hit point. Then I rotate the particle emitter to face that hit point. The particles/projectiles are just there for the visuals. I use ray-casts from the camera for the actual hit detection.

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

      xzippyzachx That makes sense, so how do you make the particles fly to that hit point?

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

    Cool

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

    Hi I have a quick question. How did you manage to make the player hold the gun and make the players arms and the gun rotate properly with where the player is looking?

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

      It would be to much to explain it in depth in this comment. But at a high level you basically just need to child the hands/weapons under the camera object. This way the rotation follows the camera look direction. Ask on my discord server if you need more help :)

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

      @@xzippyzachx but then wouldn't there be arms running around (which is not good for multiplayer) so then how do you add a body. And thanks for the quick reply I really appreciate it
      Edit: I just saw what u said about the discord server, I'll definitely join 👍

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

    A firebase vid would be awesome

  • @--.--
    @--.-- Před 3 lety +1

    I think that you need to fix gun rotating with camera 🙂
    Nice video btw!

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Idk. I like how it rotates. It doesn't feel fixed to your face. I think it adds depth IMO

    • @--.--
      @--.-- Před 3 lety

      @@xzippyzachx usually the weapon moves slightly behind the camera, so it feels better. And here, from some angles, the weapon does not look very nice and well.

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

    cool

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

    Awesome game and journey to making it... please do something on firebase

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Already have. Make sure to check out my channel :)

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

    If you release this what platform will you release it on? also are you planning on having the color of the player change depending on their team color just like the names above their heads?

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      PC for right now. And I think I will have the player colour change with the teams yes

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

    Wow Great Tutorials , I have a Question Regarding The hosting Of the Dedicated Servers , What are your plans on the server hosting i mean where will you host them do you have any preffered service for hosting i am eager to know

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

      To start I think people will be able to host there own server kind of like Minecraft does. In terms of servers hosted by me I haven't looked into the services that are available yet. It's still way too early to be thinking about that at this stage.

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

      @@xzippyzachx oh sure that's great ,i asked this because after watching your videos I started testing a fps title just like battleground with 50 players in a server killing each other . It's just a testing build though but I am new to networking stuff so don't know about any reliable servicer to host headless unity servers for the test build to test . So whenever you get onto that stage where you start to think about hosting yourself and found any service good enough , can you please share it here in your videos . It will be great to learn the whole process

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

    You should make a map builder

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

    cool beans

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

    firebase tutorial would be dope

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

    yes please do something on firebase+Unity

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

    I lub dis

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

    where do we get to learn on how to build like this?

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      There are a few CZcams videos I linked in the description of my first video. But a project like this is pretty advanced and I have built up the knowledge over time.

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

    how do you make models and animations inunity

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      You can't really in Unity. I use Blender to make my models and then import them into Unity

  • @santhoshbestb.r7014
    @santhoshbestb.r7014 Před 3 lety

    hello where can i get the 32 bit in your website i only get 64 bit

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      This game is not out yet. The one on my website is an old game and I don't have a 32 bit version of it. You are going to have to wait for this game to be released to get the 32 bit version. Be patient please! :)

  • @AmirparsaDD
    @AmirparsaDD Před 3 lety

    *add the command /bot [add - remove - changename - changehealth - changedifficulty] arguments*

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

    Your game is looking amazing but the sniper should have recoil

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Thanks! And it does have recoil. I am just good at controlling it lol :)

  • @hetal.priyadarshi
    @hetal.priyadarshi Před 3 lety

    Firebase + Unity Please, And also how can i make my game public? So that people can join over the internet (a dedicated video with a small example).

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      I recently posted a tutorial on Firebase authentication (User Login). And Tom already explains how to connect over the internet in his tutorial series

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

    And btw when you are holding glock its looking kind of wierd i think you should work on that.

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Yes the hand even goes invisible sometimes. Not sure why but yes have to improve it.

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

    Maybe you should consider putting the "update # " on your thumbnails in a slightly different position. The thumbnail gets overlaid with a small black box containing white text indicating the video length which obscures the number in "update # "
    Edit: at least that's the case on mobile. I suspect on a pc it's no problem..

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      Yeah I just checked how it looks on mobile and I see what you mean. But yes it looks good on PC. Thanks for letting me know

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

    When will it be available for "Beta Download" :P :) :( >:( >:)

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

      Not sure. Join my discord so that you know when its ready to be play tested.

    • @YtStaffMember
      @YtStaffMember Před 3 lety

      @@xzippyzachx thx

    • @YtStaffMember
      @YtStaffMember Před 3 lety

      can u make a low spec mode lol

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      There will be settings to adjust for lower end specs

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

    how tf does he have ,ore subs than veiwa
    get this man somw veiws
    (soeech 100(

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

    bro i need it for 32 bit pleaseeee

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      There will be a 32 bit version lol

    • @animegurutamil5504
      @animegurutamil5504 Před 3 lety

      @@xzippyzachx oh man where i am excited i will be waiting for 32 bit

    • @animegurutamil5504
      @animegurutamil5504 Před 3 lety

      @@xzippyzachx when

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      This game is not out yet. The one on my website is an old game. You are going to have to wait for this game to be released to get the 32 bit version. Be patient please! :)

    • @animegurutamil5504
      @animegurutamil5504 Před 3 lety

      @@xzippyzachx i will wait but i am happy as you said you will release it in 32 bit also

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

    Create a bazooka

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

      Ok, I will add a rocket launcher to the list

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

    Interest? Lmao can I get a tutorial for the whole thing?

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      I would watch Tom's tutorial series to start

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

    You are making a really cool game but you are a little late to uploading DevLogs.

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      What do you mean late? I upload a devlog when I have enough progress to show

    • @rafasgreek7731
      @rafasgreek7731 Před 3 lety

      oh, ok.

    • @xzippyzachx
      @xzippyzachx  Před 3 lety

      I am trying to do at least 1 video per month as I am doing school full time as well