Published on December 22, 2016 by Unity

Watch this video in context on the official Unity learn pages –
www.unity3d.com/learn/tutorials/topics/multiplayer-networking/merry-fragmas-30-lobby-player-data-and-deathmatch

Asset Store Link: bit.ly/2i6c1pf

Merry Fragmas everyone! Mike Geig is back and bringing the holiday fear! In this multi-day session we will be building a Networked Multiplayer First Person Shooter game from the ground up. The content will range from beginner to intermediate as we look at scripting and features specific to multiplayer networking. Even if you’ve watched the previous Merry Fragmas episodes, you’ll want to come back for these as we are revisiting previous topics and looking at new / alternate methods of implementing them. Additionally, we’ll explore more on the concept of a lobby, networked animations, gameplay logic, and UI / polish. Let the slay bells ring!

Leave a Reply

26 Comments on "Merry Fragmas 3.0 – Multiplayer FPS [3/3] Live 2016/12/22"

Notify of
avatar

yi guo
Guest
yi guo
1 month 24 days ago

that's great !

Leonardo Silva
Guest
Leonardo Silva
2 months 2 days ago

Hey Mike, when i join my server as an client i'm having alot of lags in the window of cliente… why ?

serpnta1267
Guest
serpnta1267
2 months 5 days ago

Great tutorials. I have a small bug that maybe someone might have an idea on how to fix. The name and color of the host player doesn't work but they do for the other players. Any ideas how to fix it or what to look for? Other wise, everything works great! Thank you!

Ve Koro (Vekoro)
Guest
Ve Koro (Vekoro)
2 months 9 days ago

I want to "teleport" the player by touching (a trigger object, with OnTriggerEnter) to another place.But it only works for the Host player. If the client player is touching that trigger object, the Host player moves a little up and i can hear the landing sound of the Host player. How can i realize it, if the script is on the trigger-object? Maybe it cant identify the other player?public class TeleportScript : NetworkBehaviour{ public GameObject teleportPoint; void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Player") { other.gameObject.transform.position = teleportPoint.transform.position; } }}

Ve Koro (Vekoro)
Guest
Ve Koro (Vekoro)
2 months 16 days ago

He cant find my RendererToggler in minute 24:25I have it on the character (the child of Player).The class is a public class, but he doesnt know it.Any ideas?

Ve Koro (Vekoro)
Guest
Ve Koro (Vekoro)
2 months 16 days ago

Oh i think i found the solution. If the player script is in a different folder than the others, then he cant find it.

AMAZIN
Guest
AMAZIN
2 months 19 days ago

CCU is the amount of current players playing online? If so, does that mean if i have 200 CCU and 200 players are on then one leaves will my Current CCU go to 199?

Ve Koro (Vekoro)
Guest
Ve Koro (Vekoro)
2 months 8 days ago
Hey Mike Geig! Great tutorial but i have a question because i am still learning how the network programming is working.I want to "teleport" the player by touching (a trigger object, with OnTriggerEnter) to another place.But it only works for the Host player. If the client player is touching that trigger object, the Host player moves a little up and i can hear the landing sound of the Host player. How can i realize it, if the script is on the trigger-object? Maybe it cant identify the other player?public class TeleportScript : NetworkBehaviour{ public GameObject teleportPoint; void OnTriggerEnter(Collider other) {… Read more »
Mike Geig
Guest
Mike Geig
2 months 10 days ago

Yep, I'm not sure how long it takes to refresh, but the CCU number is the upper limit

BoomBren
Guest
BoomBren
2 months 26 days ago

Does anyone know if there is a way to make a huge map with potentially 100s or 1000s of players on it?

GRuMP
Guest
GRuMP
2 months 18 days ago

BoomBren I think you have to buy Unity Enterprise.

BoomBren
Guest
BoomBren
2 months 26 days ago

Using Unity of course

Erwin Bustillo
Guest
Erwin Bustillo
2 months 26 days ago

why you change photon engine for UNET?

CoderJoe
Guest
CoderJoe
3 months 3 hours ago

Great! I was waiting for another version of this! ThanksAlso, can we get a link to the final build?

StigDesign1
Guest
StigDesign1
3 months 4 days ago

i shud help you with the assets so that you can put it on the asset store :)all i wish in exchange is (Unity Game Development in 24 Hours, Sams Teach Yourself by: you ) :)in part 2 or 1 you learn c#/coding bether when you dont focus spesific on the coding but more on what you whant/ the goal reaction.etc in the game?

StigDesign1
Guest
StigDesign1
2 months 10 days ago

Nice 😀 will do 🙂

Mike Geig
Guest
Mike Geig
2 months 10 days ago

I appreciate that. Feel free to email me a link to your portfolio / samples. Mike (at) unity3d.com

StigDesign1
Guest
StigDesign1
2 months 10 days ago

oh i see 🙂 i can help with some custom assets tho 🙂

Mike Geig
Guest
Mike Geig
2 months 10 days ago

I agree with you on the Book. Unfortunately I don't have control over the format of the book that the publisher wanted

wpDiscuz