Unity Multiplayer Game Development - Physics Controller & New Map
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
u deserve MORE SUBSCRIBER!!!
Thanks, feel free to share my channel with others that may be interested then :)
I agree. The content is amazing. Starting out with Unity too. Any tips?
Ya
Yes now i want to do this but i do not have the skill
The clouds feel a bit flat to me. Other than that amazing work 👌🙌
Yes they do. I may experiment with having them at multiple levels in the sky. Thanks!
Same here dude. Maybe add some layers to the top
Came looking for copper and I found gold. Keep up the great work!
Yes I'm liking my own comment don't judge
Thanks, will do!
I do that too
Your game is really cool I hope you reach 10k subs soon your a really good game creator
yeah I should reach it very soon! Thanks :p
That low poly style looks sick! Good job dude! 🙃
Thanks! 😁
Looks awesome. I recommend different tress or just different trees scattered
Yeah, I think there will be different trees on other maps
I really love these videos, you have made a great game so far too!
Thanks, glad you like them!
I think I saw you post those clouds on reddit! Looks good :)
This is amazing! Good job.
Thanks! :p
Cool videos! Awesome work and I love keep watching the progress. 👍
Thanks 👍
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.
Thanks. Feel free to ask more questions on my discord server
thanks for the vids, appreciate your work! Inspiring!
Glad you like them!
This mans skill is unbelievable
I don't think I am that good, but thanks its appreciated!
@@xzippyzachx Well you're better than me at least, not that hard to achieve though XD
Yes
I love this channel, and I love using Unity
keep it up! I'm enjoying your content sooo much! Just.. i really like how is it going :D
Glad you enjoy it!
Congrats on 500 subs!
Thanks!
Congrats on 6.9k sub!
Nice! looks great!
i subbed
Thanks for the sub!
I like the waterfall, the recording shows lag, is it really that laggy?
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!
Lol
@Furious Creator Streamlabs OBS
I love your viddeos and you have inspired me to make an fps but i will do it on my old pc
Cool! Glad I could inspire you :p
Awesome again!
Thanks again!
Nice vid keep up the good work
Appreciate it!
Cool!
That is better than i can do in 15 years
Thanks! :p
Good job bro
Thanks!
That map is awesome 😎
Thanks!
New sub :D
Thanks for subbing!
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
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
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?
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.
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.
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?
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.
Bruhh I can’t wait to play this lol
:)
how did you make equip gun animation and gun moves the same rotation as camera.
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.
@@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
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
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?
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.
@@xzippyzachx hmmm 🤔
We'll have to chat on Discord about that player controller :P
@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.
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);
}
@@creasu124 I don't think using impulses won't mesh well with velocity changes...
You should add more types of trees and maybe bush
Yep, that's in the works right now :p
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!
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.
Cool works how did you make login register work?
I use Firebase for my login system
you are epic
Thanks! :p
For your friends to play, what do they have to do to get in it?
You mean how do they connect? Just like any there multiplayer game, you click on a server in the join list.
is photon + playfab is good as ,,Tom,, connection totorials + fire base
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.
@@xzippyzachx ok thanks
@@xzippyzachx also cool game you are creating I am trying to create my own FPS games
How did you make the full body fps ? :O
I think I talk about it in my earlier videos. As for the entire process its to complicated to explain really. :p
@@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
@@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.
@@xzippyzachx Oh okay i will join
the texture triangle pattern could be different depending of the kind of texture. dirt pattern should not be the same as rock
That's a good suggestion. Thanks I might try it out.
like dropped subscribe SMASHED!!!
Thanks!!!!!
Bro i also want to make multiplayer game but can't find the material for multiplayer game making for unity 2019.3.14f
look into Mirror, Photon 2, or Tom's networking solution. Links are in my first multiplayer update video description.
@@xzippyzachx thanks bro!
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
clouds have different layers and are of different shades of white.
I might modify them a bit but I'm not going for anything realistic here
@@xzippyzachx I think you can also change the sky box, the default one does not very weel if your art style
@SlayR Any ideas? I don't want to use a static sky box so it will have to be procedural
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!
Yeah I think I will look into it down the road. Thanks!
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?
Look in the description of my first multiplayer update video!
xzippyzachx thank you
Seems like you're making a survival MMO? This may take a while...
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.
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
Thanks! :p
I agree.
Lol