Unity Multiplayer Game Development - Game Loop & New Weapon
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
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.
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.
Wow! Awesome job! The new gun texture is great!
Thanks! Glad you like them
Another amazing devlog! Would definitely love to see how you make the login/reg system with firebase
Coming soon?!? :p
@@xzippyzachx Please do :)
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
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
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.
@@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).
@@tomweiland Still hoping you make a video covering how to replicate your graphics performance optimizations! I still have no clue what vertex splitting is.
@@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...
This game is sick
i would also like to see a tutorial on how to use firebase
Thanks!
my man is still replying to comments and still hearting them
btw awesome vids
Sure am! Thanks!
Awesome! You should consider using ue4 since all the multiplayer functionality is built in! Anyway, I love seeing ur progress and good luck! ;D
The game is looking quite thorough!
Yeah its coming along
Great video! Game looks so good can't wait to see it finished :D The new gun texture's look so nice
Thanks! Hopefully Its finished some day or at least released. Long way to go
Awesome work man. You got me to punch the red button gray
Yay! Thanks!
Oh and I almost forgot. The bell is now activated!
Nice video edits, simple yet entertaining to watch, keep up with the videos and don't lose motivation
Appreciate it! Comments like these give me motivation
Love it! Your making great progress!
Thank you!!
Great video Zach! I really liked those textures in the guns and it's lookin really good!
Thanks!
Awesome vid! Looking forward to the firebase content :)
Glad to hear it!
Love the work man.
Glad to hear it!
Aaaaaand Awesome again!
Aaaaannnndddd! Thanks!
Definitely want a tutorial on fire base with unity.
Already have one out now. Check out my channel :p
Heyy...I just loved the way on how u used low poly stuff to make such interesting level design....
Thanks a lot 😊I will be making more levels soon!
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.
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.
xzippyzachx That makes sense, so how do you make the particles fly to that hit point?
Cool
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?
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 :)
@@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 👍
A firebase vid would be awesome
Good to know thanks!
I think that you need to fix gun rotating with camera 🙂
Nice video btw!
Idk. I like how it rotates. It doesn't feel fixed to your face. I think it adds depth IMO
@@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.
cool
Awesome game and journey to making it... please do something on firebase
Already have. Make sure to check out my channel :)
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?
PC for right now. And I think I will have the player colour change with the teams yes
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
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.
@@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
You should make a map builder
cool beans
Cool! Beans!
firebase tutorial would be dope
Good to know
yes please do something on firebase+Unity
I have two tutorials on my channel!
I lub dis
where do we get to learn on how to build like this?
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.
how do you make models and animations inunity
You can't really in Unity. I use Blender to make my models and then import them into Unity
hello where can i get the 32 bit in your website i only get 64 bit
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! :)
*add the command /bot [add - remove - changename - changehealth - changedifficulty] arguments*
Your game is looking amazing but the sniper should have recoil
Thanks! And it does have recoil. I am just good at controlling it lol :)
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).
I recently posted a tutorial on Firebase authentication (User Login). And Tom already explains how to connect over the internet in his tutorial series
And btw when you are holding glock its looking kind of wierd i think you should work on that.
Yes the hand even goes invisible sometimes. Not sure why but yes have to improve it.
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..
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
When will it be available for "Beta Download" :P :) :( >:( >:)
Not sure. Join my discord so that you know when its ready to be play tested.
@@xzippyzachx thx
can u make a low spec mode lol
There will be settings to adjust for lower end specs
how tf does he have ,ore subs than veiwa
get this man somw veiws
(soeech 100(
Tell CZcams :p
bro i need it for 32 bit pleaseeee
There will be a 32 bit version lol
@@xzippyzachx oh man where i am excited i will be waiting for 32 bit
@@xzippyzachx when
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! :)
@@xzippyzachx i will wait but i am happy as you said you will release it in 32 bit also
Create a bazooka
Ok, I will add a rocket launcher to the list
Interest? Lmao can I get a tutorial for the whole thing?
I would watch Tom's tutorial series to start
You are making a really cool game but you are a little late to uploading DevLogs.
What do you mean late? I upload a devlog when I have enough progress to show
oh, ok.
I am trying to do at least 1 video per month as I am doing school full time as well