![Mercenary Camp](/img/default-banner.jpg)
- 123
- 2 571 639
Mercenary Camp
Canada
Registrace 29. 12. 2018
Hey! This is Michael of "N3K EN" & "Epitome games"
I make game dev videos 🎉
I make game dev videos 🎉
Enemy NPC in multiplayer - [Fish-Net #21][Tutorial]
We create server side enemy, synchronize their movement and give them different patterns
[❗Priority support for Escape Game❗]
Priority support is offered on our discord channel.
It is available under the private channel #priority-support.
To be granted access, you either have to :
- Become a Twitch Subscriber (instant & automatic access upon linking twitch and discord)
- Redeem the 10,000 channel points reward "Access to ESCAPE discord channels" in twitch (free)
By watching the livestream, you will obtain channel points overtime. You will also have the chance to be granted a subscription by a generous contributor!
0:00 Intro
1:00 Enemy script
7:45 EnemyArea script
9:30 Back to Enemy.cs
19:25 NetworkTransform
20:00 Random enemy
26:00 Boomerang enemy
28:30 Idle enemy
29:28 Orbit enemy
**🔴Livestream alert**
I may be live on twitch, come hangout or ask questions!
► www.twitch.tv/n3rkmind
**More free tutorial series**
►🌐 Cross platform multiplayer standalone & web game
czcams.com/play/PLmcbjnHce7Scovukpm2UbvBmhPKvM52uD.html
►♟️ Learn how to make a Online Multiplayer Chess Game
czcams.com/video/FtGy7J8XD90/video.html
► ⚔️ FREE Top Down RPG Course:
czcams.com/video/b8YUfee_pzc/video.html
► 🔑 Authentication tutorial with NodeJS and MongoDB:
czcams.com/play/PLmcbjnHce7SeHv5lQle9rTFIJ1hs4hKOi.html
**🍺Spare pesos for a beer**
► Want to help the Mercenary Camp project? You can show your support with an membership!
czcams.com/channels/saXQNLxeHvwJdDUrICGufA.htmljoin
► Planning to buy from the asset store? use my link!
assetstore.unity.com/top-assets/top-download?aid=1011lK8L
**🫂Looking for human connection?**
► Join our community!
Discord 👊 discord.gg/eXnaSZw
Website 📡 merc.camp
Live 🔴www.twitch.tv/n3rkmind
👍 *If you enjoyed this video, don't forget to give it a thumbs up and share it with your friends!*
*Mercenary camp creates free educational content, and will continue to do so. I ask that you engage with the content through liking and sharing the videos if it helped you.*
#gamedev #multiplayer #crossplatform #unity #unityTutorial #n3k #epitome #mlapi #merc #merccamp #n3ken
[❗Priority support for Escape Game❗]
Priority support is offered on our discord channel.
It is available under the private channel #priority-support.
To be granted access, you either have to :
- Become a Twitch Subscriber (instant & automatic access upon linking twitch and discord)
- Redeem the 10,000 channel points reward "Access to ESCAPE discord channels" in twitch (free)
By watching the livestream, you will obtain channel points overtime. You will also have the chance to be granted a subscription by a generous contributor!
0:00 Intro
1:00 Enemy script
7:45 EnemyArea script
9:30 Back to Enemy.cs
19:25 NetworkTransform
20:00 Random enemy
26:00 Boomerang enemy
28:30 Idle enemy
29:28 Orbit enemy
**🔴Livestream alert**
I may be live on twitch, come hangout or ask questions!
► www.twitch.tv/n3rkmind
**More free tutorial series**
►🌐 Cross platform multiplayer standalone & web game
czcams.com/play/PLmcbjnHce7Scovukpm2UbvBmhPKvM52uD.html
►♟️ Learn how to make a Online Multiplayer Chess Game
czcams.com/video/FtGy7J8XD90/video.html
► ⚔️ FREE Top Down RPG Course:
czcams.com/video/b8YUfee_pzc/video.html
► 🔑 Authentication tutorial with NodeJS and MongoDB:
czcams.com/play/PLmcbjnHce7SeHv5lQle9rTFIJ1hs4hKOi.html
**🍺Spare pesos for a beer**
► Want to help the Mercenary Camp project? You can show your support with an membership!
czcams.com/channels/saXQNLxeHvwJdDUrICGufA.htmljoin
► Planning to buy from the asset store? use my link!
assetstore.unity.com/top-assets/top-download?aid=1011lK8L
**🫂Looking for human connection?**
► Join our community!
Discord 👊 discord.gg/eXnaSZw
Website 📡 merc.camp
Live 🔴www.twitch.tv/n3rkmind
👍 *If you enjoyed this video, don't forget to give it a thumbs up and share it with your friends!*
*Mercenary camp creates free educational content, and will continue to do so. I ask that you engage with the content through liking and sharing the videos if it helped you.*
#gamedev #multiplayer #crossplatform #unity #unityTutorial #n3k #epitome #mlapi #merc #merccamp #n3ken
zhlédnutí: 74
Video
Multiplayer collisions in physic scenes - [Fish-Net #20][Tutorial]
zhlédnutí 167Před 16 hodinami
We simulate physics in individual stacked room, enabling us to use colliders to kill, incapacitate or have the player win [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twitch Subscriber (instant & automatic access upon linking twitch and d...
Game flow in a multiplayer scene - [Fish-Net #19][Tutorial]
zhlédnutí 142Před 14 dny
We create a game state sync var that handles which state the game room is in right now, and mostly hook up a bunch of UI pieces to it! [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twitch Subscriber (instant & automatic access upon linking...
Movement prediction in multiplayer - [Fish-Net #18][Tutorial]
zhlédnutí 779Před 21 dnem
We create a movement script that will go through the movement prediction model V2 of fishnet, making the movement of your rat smooth to you, and the server [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twitch Subscriber (instant & automati...
Spawning players in a multiplayer scene - [Fish-Net #17][Tutorial]
zhlédnutí 272Před 28 dny
During this ep. we create and assign a player prefab to every joining clients so they can have their own rat! Amazing! [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twitch Subscriber (instant & automatic access upon linking twitch and disc...
Loading multiplayer game scenes - [Fish-Net #16][Tutorial]
zhlédnutí 334Před měsícem
We create the function that will handle the start of the game, send parameters from the lobby to the server, and then the server sends the scene to the room clients [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twitch Subscriber (instant &...
Dynamic room & player list, lobby and world - [Fish-Net #15][Tutorial]
zhlédnutí 325Před měsícem
We proceed to create rooms and dynamic UI showing those rooms, also dynamic player UI to see whos with us within said room [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twitch Subscriber (instant & automatic access upon linking twitch and ...
Creating rooms for our multiplayer groups [Fish-Net #14][Tutorial]
zhlédnutí 430Před měsícem
In this episode, we're creating rooms and exposing them to our clients! Big lobby episode [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twitch Subscriber (instant & automatic access upon linking twitch and discord) - Redeem the 10,000 chan...
Sign in - Multiplayer lobby [Fish-Net #13][Tutorial]
zhlédnutí 408Před měsícem
We lay down the flow for automatic sign in on startup [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twitch Subscriber (instant & automatic access upon linking twitch and discord) - Redeem the 10,000 channel points reward "Access to ESCAPE ...
Lobby and rooms in Multiplayer Fishnet [Fish-Net #12][Tutorial]
zhlédnutí 668Před 2 měsíci
We start diving into the lobby and rooms / worlds mechanic to ensure all different group of players can have their own instance and play only with their respective group on a single server [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the private channel #priority-support. To be granted access, you either have to : - Become a Twit...
Creating a multiplayer game with FishNet for WebGL & Standalone [Fish-Net #11][Tutorial]
zhlédnutí 509Před 2 měsíci
We upgrade fishnet, bayou, install URP, configure URP and download the premade assets to get started asap on the multiplayer code! Fishnet assetstore.unity.com/packages/tools/network/fish-net-networking-evolved-207815?aid=1011lK8L Bayou, the WebGL transport layer github.com/FirstGearGames/Bayou/ Our free assets, made with love n3k.itch.io/escape [❗Priority support for Escape Game❗] Priority sup...
Exposing our unity multiplayer game server using Docker [Fish-Net #10][Tutorial]
zhlédnutí 404Před 2 měsíci
[Multiplayer]🌐EP 10 - Exposing our Server in Docker compose! [Fish-Net] During this episode, we use Docker-compose to expose our backend build. We do this by using a Ubuntu image, and running the unity build headless in batch mode Docker-compose.yml content pastebin.com/z01tD4Kz [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the pr...
Publishing our WebGL game to the world! [Fish-Net #9][Tutorial]
zhlédnutí 283Před 3 měsíci
🌐EP 9 - Exposing our Client ! We create a docker-compose file meant to expose our WebGL build (previously transferred) to the whole world! Making it public and accessible to anyone on the planet with an Internet connection Docker-compose.yml file content pastebin.com/7tyZXDJL [❗Priority support for Escape Game❗] Priority support is offered on our discord channel. It is available under the priva...
Uploading Unity Game to WebGL [Fish-Net #8][Tutorial]
zhlédnutí 405Před 3 měsíci
🌐EP 8 - Transfering builds with one click ! We configure our unity builds in such a way that they will run on our linux machine. We then create a .bat file to one-click transfer our builds over to our remote machine. send_builds.bat begins here set "user=deploy@[YourDomain]" set "buildFolder=C:/Users/[Your user]/dev/escape-tutorial/builds" set "destinationPath=/home/deploy" scp -r %buildFolder%...
Installing a Traefik reverse proxy [Fish-Net #7][Tutorial]
zhlédnutí 557Před 3 měsíci
Installing a Traefik reverse proxy [Fish-Net #7][Tutorial]
Installing Docker & Docker-compose on Ubuntu [Fish-Net #6][Tutorial]
zhlédnutí 534Před 3 měsíci
Installing Docker & Docker-compose on Ubuntu [Fish-Net #6][Tutorial]
Digital Ocean virtual machine (Droplet) [Fish-Net #5][Tutorial]
zhlédnutí 404Před 4 měsíci
Digital Ocean virtual machine (Droplet) [Fish-Net #5][Tutorial]
Obtaining a domain [Fish-Net #4][Tutorial]
zhlédnutí 345Před 4 měsíci
Obtaining a domain [Fish-Net #4][Tutorial]
Unity 2024 WebGL(html5) & Standalone Builds [Fish-Net #3][Tutorial]
zhlédnutí 607Před 4 měsíci
Unity 2024 WebGL(html5) & Standalone Builds [Fish-Net #3][Tutorial]
Unity 2024 Cross platform support [Fish-Net #2][Tutorial]
zhlédnutí 650Před 4 měsíci
Unity 2024 Cross platform support [Fish-Net #2][Tutorial]
Unity 2024 Fish-Net configuration for multiplayer games [Fish-Net #1][Tutorial]
zhlédnutí 1,1KPřed 4 měsíci
Unity 2024 Fish-Net configuration for multiplayer games [Fish-Net #1][Tutorial]
2024 Unity x Fish-Net | Multiplayer cross platform Game Tutorial
zhlédnutí 1,4KPřed 4 měsíci
2024 Unity x Fish-Net | Multiplayer cross platform Game Tutorial
Fundamentals that you need to know (eventually) Hexadecimal & Binary
zhlédnutí 317Před 7 měsíci
Fundamentals that you need to know (eventually) Hexadecimal & Binary
Keep versions of your game with GIT - Beginner friendly
zhlédnutí 474Před 8 měsíci
Keep versions of your game with GIT - Beginner friendly
Tips to survive a Game Jam (LD54 Recap)
zhlédnutí 361Před 8 měsíci
Tips to survive a Game Jam (LD54 Recap)
Moving players in 3D space [Tutorial][C#] - Unity Netcode for Gameobjects 2022
zhlédnutí 8KPřed 2 lety
Moving players in 3D space [Tutorial][C#] - Unity Netcode for Gameobjects 2022
Create a COMPLETE android & iOS game - FULL COURSE [Unity C#]
zhlédnutí 132KPřed 2 lety
Create a COMPLETE android & iOS game - FULL COURSE [Unity C#]
Build a working Login page with Unity, Node.js and Mongo - Security 3/3
zhlédnutí 9KPřed 2 lety
Build a working Login page with Unity, Node.js and Mongo - Security 3/3
Build a working Login page with Unity, Node.js and Mongo - Frontend 2/3
zhlédnutí 7KPřed 2 lety
Build a working Login page with Unity, Node.js and Mongo - Frontend 2/3
Many thanks to the author. Perhaps this is the only channel that produces guides on the fishnet multiplayer, thinking about the architecture of the project.
what up with feed items , i think they dont vanish.. and and new item is added to the last child of feed item right? i want them to vanish and keep adding to the feed , like site popups Great video, thansk
Hi Micheal, Quick question. 1) That demo scene you are using in this training where do we find it/how do we get it? 2) I just came across this training now, a bit late but still better than never, but how does one get on the live stream on twitch (I assume its done there) as checked your page but do not see nay link or direct reference to it? 3) You mention a pro version of fishnet but it is hard to find any subscription or way to gain Pro access do you have nay pointers on how to do that and what the cost involved actually is as cant really find any clear info on that. Thanks and d keep up the good work as we hope you make another updated dedicated server version of this particular training maybe this time using mirror or some other similar solution.
Thank you for fishnet tutoriials!
Thanks!
Ideas for future videos, add the played moves to the game screen, add a win lose tracking screen, add a username login screen to track players, I have a longer list of ideas whiteviperx#5930
Did I miss the video where you added the piece move list on the player screen?
2 videos are hidden or deleted.im following all videos,but in end 2 videos not found
Comming out next Saturday!
Are you available on play market, wanna play ur games?
Just finished the project, following the tutorials was great, thanks for sharing! Regards!
Predicted Object is not required in V2 anymore. Also State Forwarding needs to be turned off.
Very informative. Sub'd just because of this video, one of the best described on youtube. Thank you! Can't wait to check out your other video's!
Thanks a lot for Fish-Net tutorials!
Thanks a lot!
Thx again for tutorials!
Thank you for tutorials on Fish-Net!
Hey There, Thank you for the tutorial series. I'm wondering if I go through the series will be I able to make fast paced shooter game with it ? I mean does the series cover lag compensation and hit registeration stuff ? I'm aware those features might not even be needed in the type of game you are making but I was just wondering will I get the base knowledge and capabilites with fishnet to do it after watching these series ?
I'm quite a beginner with Unity, but why go through all the hassle of a billion URP settings and overrides, and not just change the material from code?
are twitch streams ahead from this? can you please keep youtube update too? Thanks, following since the beginning
Around Interactive Objects and Inheritance section, when I play the game and move my player to the portal, the player doesn't teleport into the new scene, and my main camera is just stuck at Dungeon1 with no player in the center. I fixed the problem with just putting my player into prefab and add it into Dungeon1's scene. I'm curious about why my player isn't able to teleport into the new scene, but it works when I put another player into the the scene. Does this action conflict the program or code?
Thanks!
Previous Bug was not fixed completely. ResetPlayerUI(); was not used on previous epesode at all. so here's how i did it. private void OnRoomDeleted(RoomHandler room) { RemoveRoomUI(room.name); ResetPlayerUI(); }
sorry my solution also had bug.. so final solve is kinda tricky. 1. remove my previous fix 2. put TargerResetUI(clientObject.Owner); inside RemoveFromRoom(), just before if (room.MembersObjects.Count == 0) 3. [TargetRpc] private void TargerResetUI(NetworkConnection conn) { Locator.GetService<LobbyHandler>().ResetPlayerUI(); } this will work fine as long as host doesnt leave own room. but if you want also host leave to work then either join own room if exist or make next member host then leave(i did that in my code).
bruh
6:17 lol
my pieces are moving but not smoothly like shown in the video
There is another bug in lobbyscript . If you build a client and run server and client there and start a game, Editor client can not find the scene after sign in. so Error will show (SceneId of xxxxxxxx not found in SceneObjects).
Solve: I tried to find a proper solution for this but unable to do so when client is the host. Main logic here is we can not let server to change active scene. but we want client to change its active scene. so here is the solution if anyone is curious private void OnServerLoadEnd(SceneLoadEndEventArgs args) { previous code...... SceneLoadData sld = new SceneLoadData(args.LoadedScenes) { Options = new LoadOptions() { AllowStacking = true }, //PreferredActiveScene = new PreferredScene(new SceneLookupData(args.LoadedScenes[0])), }; } private void OnClientSceneState(ClientPresenceChangeEventArgs args) { NetworkConnection joinerConn = args.Connection; if (args.Scene == gameObject.scene) { SendRooms(joinerConn); return; } TarGetSetActiveScene(args.Connection, args.Scene.name); } [TargetRpc(ExcludeServer =true)] private void TarGetSetActiveScene(NetworkConnection conn,string sceneName) { UnityEngine.SceneManagement.SceneManager.SetActiveScene(UnityEngine.SceneManagement.SceneManager.GetSceneByName(sceneName)); }
👍
Been waiting for this since last week. I just Love this kind of teaching <3
for me save doesnt work, and after death game is bugging, please add codes in description so i can fix it
btw Thanks a lot. I was waiting for this
ok there is a issue here czcams.com/video/f7nylHjDdjc/video.html firstObject is a NetworkObject and TargetMemberStarted gets a List<NetworkObject> ..so it will through an error I fixed it like this for now. if (item.Owner != joinerConn) { List<NetworkObject> firstObjectToList = new List<NetworkObject>(); firstObjectToList.Add(firstObject); TargetMemberStarted(item.Owner, firstObjectToList); }
Amazing tutorial ❤
for the problem at 16:00 the answe is (chessPieces[x, y].SetPosition(GetTileCenter(x,y),true); ) ( currentlyDragging.SetPosition(GetTileCenter(previousPosition.x, previousPosition.y),true);) ... the bool in the parameter should be true at both the places
Please add a link to the code files.
we are almost there. waiting for next part (hope it come soon). i am following your exact code and it is working great till now. Thanks a lot
great let's go for the serie
You picked a hard one, mais je crois en toi! @zeewolfed
@@N3KMercenaryCamp thanks 👍
Is this the pro version of FishNet?
Nope! All is made using the free version!
you’ll make history
nani
sheeeesh man
I did but it didn't work, maybe I can see startup script file sir
can i follow the tutorial to make this game for android ?
for people who cant get the hover function to work just copy my void update section, no need to thank me ;).......: private void Update() { if (!currentCamera) { currentCamera = Camera.main; return; } RaycastHit info; Ray ray = currentCamera.ScreenPointToRay(Input.mousePosition); if (Physics.Raycast(ray, out info, 100, LayerMask.GetMask("Tile", "Hover"))) { // Get the indexes of the tile I've hit Vector2Int hitPosition = LookupTileIndex(info.transform.gameObject); // If we're hovering a tile after not hovering any tiles if (currentHover != hitPosition) { // Remove hover effect from the previous tile if (currentHover != -Vector2Int.one) { tiles[currentHover.x, currentHover.y].layer = LayerMask.NameToLayer("Tile"); } // Apply hover effect to the current tile currentHover = hitPosition; tiles[hitPosition.x, hitPosition.y].layer = LayerMask.NameToLayer("Hover"); } } else { // If not hovering over any tile, remove hover effect if (currentHover != -Vector2Int.one) { tiles[currentHover.x, currentHover.y].layer = LayerMask.NameToLayer("Tile"); currentHover = -Vector2Int.one; } } }
THANK YOU! My hover function kept flashing on and off for no reason. This fixed it
Thanks
why are we creating triangles?
This dude is pretty cool!
This was great.. waiting for next part. Also please create a playlist for Fishnet contents, Thanks
Hey zoomer! You should be able to find the playlist link in the description :D
Dude, keep going, your videos are amazing. Finally, the multiplayer mystery is no longer one. Additionally, the Linux server and docker tutorials in previous videos of this list are a gem.
This is why i do it! Thanks for the support on all the platforms @neckkeys <3
Thx for Fishnet tutorials!
You're the best @alleyesonme
Thx for videos!
Thanks!
Thank you for Fishnet tutorials!