I Created A Multiplayer Game in Unity in 1 Week, Here's What I Learned...

Sdílet
Vložit
  • čas přidán 16. 05. 2024
  • Hi I'm TJ a developer who is passionate about learning gamedev I primarily develop games on the unity platform but any code is fair game for game dev. I’m still learning a lot but hope you’ll be able to learn from my progress.
    My links -
    Come hang out on discord: / discord
    Twitter: / tjgamedev
    Software Used -
    Unity: unity.com/
    Visual Studio Code: code.visualstudio.com/
    Adobe Premiere Pro: www.adobe.com/products/premie...
    Adobe Photoshop: www.adobe.com/products/photos...
    PC Specs -
    NVIDIA GeForce RTX 3080
    AMD Ryzen 7 2700x
    32GB RAM
    #unity3d #indiedev #gamedev #indiegame #gamedevelopment #devlog #madewithunity

Komentáře • 78

  • @cheronecom
    @cheronecom Před 2 lety +43

    How to write multiplayer game code and get big arms at the same time

    • @dictatoribenevolo8394
      @dictatoribenevolo8394 Před rokem +7

      move the mouse a lot, and throw around ur pc when ur code doesn't work. if ur code sucks as much as mine usually does, u'll get big fast

  • @tarekchentouf4860
    @tarekchentouf4860 Před 2 lety +8

    I honestly love the high quility of your videos and how you present. really cool

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

    Honestly, good job! Awaiting further content :D

  • @x_tobi9819
    @x_tobi9819 Před 2 lety +49

    I am very impressed, netcode is not easy to start with. I absolutely love the game, keep it up.
    Small advice don't make a 1 to 1 copy of the game, make it your own. Otherwise I can continue to play it on the wii.

    • @TJGameDev
      @TJGameDev  Před 2 lety +6

      Thanks for the kind words, yeah Ill add my own spin to it

    • @ChurryHN
      @ChurryHN Před rokem +7

      personally copying a game completely means you know what features you are going to implement so you can focus on implementing these instead of spending time coming up with game ideas, depends why you're making it of course.

  • @Dominik-K
    @Dominik-K Před rokem +1

    Thanks for the video, highly appreciated 🙏
    Would love to see more of those

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

    Exellent job bro!

  • @feeziks
    @feeziks Před 2 lety

    Dag that is REAL nice for first time using netcode! Looking forward to see what you put out in the future

  • @brujala1775
    @brujala1775 Před rokem

    Dude i loved this video, it kind of give me a good perspective on the subject, i shall know where to go from here, second thing is: i aknowledge the way you approach learning new topics, i do work alot on my learning skills, every new topic its an adventure, the first time it's very hard, like climbing very tall stair steps but after goin through many topics you kind of start knowing what is better to rough learn or just know it exists and what is better go deep, i dont know if this is exactly what i want to voice, i had many things to say, also i noticed long time ago, experimenting and doing takes you alot more further than goin through endless tutorials, but ofcourse you always need some starting point some first steps and basis, on every new topic...

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

    i love it. i also had the idea to remake the Wii Tanks game in unity and make my own spin off but what i've see here is absolutly perfect! keep it up!

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

      Thanks man, it’s a simple enough project that I’m glad I did. You should totally give it a shot and add your own flair

  • @ThePoinball
    @ThePoinball Před 2 lety +2

    Your learning the Right Way! Small project! Keep it upppp!

  • @nickmartin3250
    @nickmartin3250 Před 2 lety +7

    This helped me be less scared about trying to add multiplayer to my game. Before I was thinking of how I could alter my multiplayer game idea to a simpler single player experience, but now maybe I’ll just focus on making a simple multiplayer game with less mechanics first. I also didn’t know unity had their own server and hosting platforms. Super helpful video thank you! :)

    • @TJGameDev
      @TJGameDev  Před 2 lety

      Glad it could help, good luck!

    • @Poniksei
      @Poniksei Před 10 měsíci

      i was thinking the same thing, the game i want to make is multiplayer vr and i realized i need to break down and first learn multiplayer, and then learn vr, and then later learn to combine them, but seeing that it is possible really helped.

  • @iangraham6730
    @iangraham6730 Před rokem +1

    Very nice! Loving the lobby system 👌👏

  • @yusufhabib3507
    @yusufhabib3507 Před 2 lety +2

    bro u did a really great job with that , and thanks for tips because I also want to get started with multiplayer

  • @N-.-A
    @N-.-A Před 2 lety +10

    Nice vid for new people wanting to learn game dev. It's really nice to see you catching yourself "cheating" with the copy pasta method :D
    I also agree that just experimenting and actually SEE how it works so you can actually understand the process is better learning. I don't know if it will help you but what I do if there's some code I don't understand I completely stop what I was doing and then not until I FULLY understand it I will continue even if I feel lost. NEVER GIVE UP
    much love
    - Fellow Game Dev
    -edit BRUH. This is your second video on yt whaaaaat?!?! You should be proud of yourself man. Also I like your comedy.

    • @TJGameDev
      @TJGameDev  Před 2 lety +2

      Thanks my fellow game dev! Will do

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

    underratd channell! goodluck

  • @norbikover
    @norbikover Před 2 lety

    Hi there, great video! So the way it works is that you have the relay , and hosts connect to the relay, then clients connect to the host but the packets go through the relay every time right? So it's still a client-server model but you have the relay taking care of the information.

  • @sekvojs
    @sekvojs Před 2 lety

    Great video, keep up the good work!

  • @DeusExMachina2033
    @DeusExMachina2033 Před rokem +1

    Great Vid, thanks.

  • @happymeerkat5536
    @happymeerkat5536 Před 2 lety

    Nice vid, it came along nicely. I am just wondering how you made a leave button though? I am using relay with netcode and whenever I call shutdown, I can never rejoin another lobby. What did you use?

  • @shivanelf
    @shivanelf Před 2 lety

    Well done video, fun to watch. Thank you!
    What is your monitor stand?

    • @TJGameDev
      @TJGameDev  Před 2 lety

      Thanks. There’s 2, one holds 2 monitors, the other holds 1. They’re just the cheapest desk mounted arms on Amazon, like $30 each I think. One says VIVO on the base.

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

    Great job! continue with youre video :)

    • @TJGameDev
      @TJGameDev  Před 2 lety

      Thank you!

    • @Jicefrost
      @Jicefrost Před 2 lety

      @@TJGameDev May be you may in future create video about creating quick search - match, without creating room name and so on. Or different rooms for few players session 1 vs 1 .

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

    Thanks TJ!

  • @AndrisGameDev
    @AndrisGameDev Před 2 lety

    Nice job man!

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

    Underrated

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

    Would be cool to have arena mode in that where you would pvp and dead players would drop power ups that you could pick up...

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

    Thumb up because of the hand mic :D

  • @JoeTheis
    @JoeTheis Před 2 měsíci

    Great video! From a fellow low-poly tank enjoyer. 😃

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

    Awesome video

  • @milkywaygalaxymedia4311

    nice bro .. WICKED...!!!!

  • @user-nk9dr8kw3i
    @user-nk9dr8kw3i Před rokem

    Does netcode for gameobjects have ccu limits?

  • @awesomegamedev
    @awesomegamedev Před 2 lety +6

    You did something very strange with tank body rotation.
    Right as you say "It looks pretty solid" (11:28-11:30), the tank rotates 135 degrees instead of 45.
    What you need to do for the correct behavior, which also accounts for continuous directions possible with a gamepad, is to computer dot (scalar) product between bodyAxis and desiredDirection (bodyAxis.x * desiredDirection.x + bodyAxis.z * desiredDirection.z). If it's positive - rotate towards bodyAxis, if it's negative - rotate towards -bodyAxis (with a minus sign).

  • @user-bo2wj9iu1t
    @user-bo2wj9iu1t Před 9 měsíci

    hey guys i have qustion for unity multiplayer im devloping ludo game in unity but I have confusion in one match 4 player can join if more then 4 player join with server and want to play game so what happen and Im want to use aws server not unity so how can handle this
    please help me im confusion in very time (if we make server build and upload to server then change scene so other player which not ready for game so what happen )

  • @yours_indie_game_dev
    @yours_indie_game_dev Před rokem

    how did you stop the behavior where the client startes spinning around at 2:55

  • @noobfemdom2196
    @noobfemdom2196 Před rokem

    Rofl.... Love the last line

  • @milkyywayyyy259
    @milkyywayyyy259 Před 2 lety

    Not sure if you're aware but a CZcamsr called Thomas Stewart is making a Tank game very similar to this

  • @haryadXD
    @haryadXD Před 2 lety

    nice vid make more please'

  • @panickal
    @panickal Před 2 lety

    neat

  • @thg1nrediar
    @thg1nrediar Před rokem +1

    Good

  • @howllingwilly
    @howllingwilly Před rokem +1

    Can you make a video on how to make a 3d map design?

    • @TJGameDev
      @TJGameDev  Před rokem

      Probably not but there are endless tutorials already out there

  • @masud4662
    @masud4662 Před 2 lety

    Can you please tell me your Road Map to be a gameDev. I really want to be one, please give me some suggestion. BTW Love your contents

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

      I just followed a lot of tutorials. I didn’t go to school for it

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

    "I went to college for 4 years to ask people to subscribe" 😂😂💀

  • @NotTheHeroStudios
    @NotTheHeroStudios Před rokem +1

    I actually built a pc to run a small game like this, but I kept having spawning issues so I went back go my single player games lmfao

  • @jhappysemall2269
    @jhappysemall2269 Před rokem

    Agreed. I learn alot more experimenting, for shizzle. I do it to myself a little too much though because I'll spend days trying shit on my own before saying FUCK, i need a tutor.

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

    CompareTag faster than tag

  • @alkanakisu4626
    @alkanakisu4626 Před 2 lety

    can you share the code

  • @ThatOneRobloxDev
    @ThatOneRobloxDev Před rokem +1

    You can always just use photon -_-

  • @merouanehoumel7738
    @merouanehoumel7738 Před 2 lety

    Into my what now ?

  • @SpaceKebab
    @SpaceKebab Před rokem

    making a multiplayer game is ruining my mental state

  • @noobfemdom2196
    @noobfemdom2196 Před rokem +1

    Lol. 4 years

  • @gamedev1905
    @gamedev1905 Před rokem +1

    This is sick AF

  • @KillingSurvival
    @KillingSurvival Před rokem

    Awesome video