Creating a multiplayer tank game! Unity Devlog 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.พ. 2022
  • MBTanks is an online tank war game where your goal is to conquer the world with your faction while upgrading your personal loadout with your dream tank setup.
    I haven't made a youtube video in over two years. This was definitely a new experience!
    madfinn.itch.io/
    #Devlog​ #Unity3D #GameDevDirect​​ #IndieDev​ #IndieGame​ #Multiplayer​ #wargame #tanks #GameDevelopment​ #Unity​​ #MadeWithUnity #dev #log #mbtanks
  • เกม

ความคิดเห็น • 50

  • @Agispsi
    @Agispsi 2 ปีที่แล้ว +11

    Coding everything from scratch doesn't make sense anymore. Using assets and asset flipping are very different. It makes no more sense to build a controller from the ground up when it takes infinitely longer than it does to create your own game engine from scratch. My view, as long as the end product is a unique, fun, and thoughtful product, use as many assets as you want to get there.

    • @Madfinn13
      @Madfinn13  2 ปีที่แล้ว +1

      Yes! I totally agree! I think assets are a great way for people who cannot code or cannot model to get the benefits of both! I have coded for about 12 years (more for personal interest but some in university), and I cannot model at all! I have tried several times but I just end up buying models that will be better than anything I could make in any quick fashion! Sometimes I dislike seeing assets that I own in others games but in the end, I would be doing the same. It can feel less unique but I definitely find assets a good thing rather than a bad. And in the end, if your game gets popular and you end up making enough money, you can always pay others to make models or code to make the game stand out more!

    • @speedeespeedboi9527
      @speedeespeedboi9527 ปีที่แล้ว +2

      i just wish asset makers updates their assets.

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว +1

      While in some instances having creators update their assets is essential, people who use them shouldn’t be dependent on the asset makers to keep their game updated.

    • @Agispsi
      @Agispsi ปีที่แล้ว +1

      @@Madfinn13 Right, if you are going to use them, you should learn enough to integrate them and update what you need to at the least. It's nice to be able to not have to build from the ground up, but at least having a basic understanding of the game you are building is crucial.

    • @foodafunner
      @foodafunner ปีที่แล้ว +1

      This is a great idea I agree coding makes games unique but coding needs a lesson course to be able to get all the coding stuff you need because youtube game coding video is to.. fast that's why I recommend joining a game coding lesson step by step from the beginning remember work hard pay what you get for sometimes skills not free

  • @minecarpro
    @minecarpro 2 ปีที่แล้ว +5

    I'm trying to make a tank game called World of Thunder, and you dogged a bullet with buying the controls. Now I'm not a good game dev by any means, but making the controls and shooting from scratch was a living nightmare! I wish you good luck with your game.

    • @Madfinn13
      @Madfinn13  2 ปีที่แล้ว +1

      Yes! I will not lie that I tried myself, but the controls are very different than any other movement mechanic. As much as I like to code everything so I know the project inside and out, I am glad I stopped and tried the tank asset to save a ton of time.

  • @samuelmendoza9356
    @samuelmendoza9356 หลายเดือนก่อน

    What font are you using in the last iteration of Main Menu UI?

  • @greatfact525
    @greatfact525 ปีที่แล้ว +2

    nice game,
    btw if you want to make a multiplayer android tank game i will help you to make a techtree and maybe some tank model.

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว

      I am glad you liiked the game! If I port this to android, It would be awesome to have some help!😄

    • @greatfact525
      @greatfact525 ปีที่แล้ว +1

      @@Madfinn13 maybe I can only help a little because I don't understand programming but I can make a tank model for you and maybe a techtree tank from various countries and the tank specifications.

  • @FuelledByCaffeine
    @FuelledByCaffeine 2 ปีที่แล้ว

    Looking good!

  • @michk8
    @michk8 ปีที่แล้ว +1

    i`m waiting for it!

  • @Bad_Chad
    @Bad_Chad 2 ปีที่แล้ว +1

    Love it!

    • @Madfinn13
      @Madfinn13  2 ปีที่แล้ว +1

      Thanks! I am working on it a lot!

  • @aj8841
    @aj8841 ปีที่แล้ว +1

    How did you make the multiplayer movement with the vehicles? I have been trying and i cant figure it out.

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว

      Mhm, kinda hard to sum it up. Is there a specific thing that you do not know how todo, such as multiplayer integration or something else?

    • @aj8841
      @aj8841 ปีที่แล้ว +1

      @@Madfinn13 Okay, the thing that I have been trying to figure out is to first of all: Make the player control their own vehicle (I am also using the Physics Tank Maker Asset). Second: I would like to sync the movement from the client with the server. So yes I am trying to figure out the Multiplayer Integration.
      I have been trying and I failed miserably. Here is what I have right now (I am using the Unity Netcode for the multiplayer implementation):
      th-cam.com/video/Alo6x6-Z29g/w-d-xo.html

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว

      @@aj8841 Oh I see what you mean. So what I had todo was check if the tank was the local players object, if it was, enable the tank movement and then send position to the server. If the object is not spawned in by the local player, then disable tank movement and set it to receive position from the user who is controlling it.
      I had todo a lot of custom coding for that integration and it took a good part of a day. I have not used Netcode multiplayer, so I am unsure if you can check if the spawned object is the local clients or not, but that is the route I took to make it happen.
      If you are also struggling with updating the health, I had to use two different scripts to hold the health instead of the base controller script. I find that the default way is great for singleplayer, but terrible for multiplayer integration. I just updated the health of the tank locally after doing it through my script.
      If there is anything else I can help with, let me know or explain further. It is quite miserable trying to figure it out and I have had very little progress in integrating it more than the video. However I am making small progress here and there.

    • @aj8841
      @aj8841 ปีที่แล้ว +1

      @@Madfinn13 Okay, i switched to Photon and I got the movement to work. But it is still jittery just like what you are experiencing. Now, I am going to get into more complicated stuff regarding multi-player crewed vehicles or more than one player controls a single vehicle. But I am still wondering how I should approach that. Should I like have two lists of total players in the room, then a list of available vehicles in the room, then divide the amount of players by the amount of vehicles and have 3 cameras for the players set to the vehicle so say that the player that was assigned to drive will have the drivers cam and the gunner gets the gunner cam etc? But, then how would I get more than one player to control the vehicle, but limit how many can control the vehicle. I don't know, but hopefully I can figure it out. Thanks for the help!

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว

      Sorry for the late reply, I would say you will have todo a lot of custom coding to get that to work. It would probabaly take awhile too. If you get stuck any, you can always ask!

  • @yelowlive
    @yelowlive 2 ปีที่แล้ว +2

    epic!

  • @larsmaas07
    @larsmaas07 2 ปีที่แล้ว +3

    :0 soo epic

  • @SuperThunder
    @SuperThunder 5 หลายเดือนก่อน +1

    Hello My Friend ! , How Are You? Going Good? :)
    Please Make A Game Seems Like Heroes & Generals , You Can Download Game Datas And Make A Game , if You Can Activate Multiplayer :)

  • @Pixko20
    @Pixko20 2 ปีที่แล้ว

    looks awesome

  • @larsmaas07
    @larsmaas07 2 ปีที่แล้ว +3

    Make this a steam game pszlzlzlzlzl!!

    • @Madfinn13
      @Madfinn13  2 ปีที่แล้ว +1

      That will be my plan!

    • @larsmaas07
      @larsmaas07 2 ปีที่แล้ว +1

      Epic

  • @blokkiesotto5854
    @blokkiesotto5854 2 ปีที่แล้ว

    Can I pls get the package link or name

  • @sokssy
    @sokssy ปีที่แล้ว

    can you drop unity project please 😭🙏🙏

  • @cocolinocatalin
    @cocolinocatalin ปีที่แล้ว

    Hi, where can I download this game?

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว +1

      It’s not downloadable yet. I have been working on making server sided lobbies and it has been taking a lot longer than expected.

    • @cocolinocatalin
      @cocolinocatalin ปีที่แล้ว

      @@Madfinn13 Thank You

  • @Valhalla-Gaming
    @Valhalla-Gaming ปีที่แล้ว

    This is really nice work. I would try it out

  • @388ab
    @388ab 2 ปีที่แล้ว

    epic

    • @Madfinn13
      @Madfinn13  2 ปีที่แล้ว

      Thank! I am glad you liked it!

  • @lolyland5863
    @lolyland5863 2 ปีที่แล้ว

    I need test it lol

    • @Madfinn13
      @Madfinn13  2 ปีที่แล้ว

      I’m currently trying to debug all the multiplayer but I’m definitely trying to get a test build out!

  • @Wt.__.Player
    @Wt.__.Player ปีที่แล้ว +1

    what is the game name

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว

      Currently it is called MB Tanks. I think it might change but not certain yet!

  • @maxximus8904
    @maxximus8904 2 ปีที่แล้ว

    1st mistake: using legacy pipeline instead of urp

    • @Madfinn13
      @Madfinn13  2 ปีที่แล้ว

      I don’t know what your talking about 🤷‍♂️ same thing either way just preference.

    • @maxximus8904
      @maxximus8904 2 ปีที่แล้ว

      @@Madfinn13 noooooo hahaha
      The backend behind urp is completely different XD
      the built-in render pipeline is Most likely gonna be depricated in a few years
      You only use legacy versions if you are using un updated dependencies and assets
      Urp is the new lightweight standard rendering pipeline for unity
      All new assets and all new games are meant to be built on that new standard.
      And if you want an advanced renderer with more fleshed out aaa shading and rendering you're supposed to use hdrp

    • @Madfinn13
      @Madfinn13  2 ปีที่แล้ว

      I was merely making a concept multiplayer game, still don’t know why you are saying it’s a mistake 🤷‍♂️ I’m just having fun doing what I’m doing. Hope you have a good rest of your day.

  • @AngriestAmerican
    @AngriestAmerican ปีที่แล้ว +1

    I have a sci fi tank game idea. I am looking for some one to help me. I can pay!!

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว

      Well that sounds exciting! What are you thinking about?

    • @AngriestAmerican
      @AngriestAmerican ปีที่แล้ว +1

      @@Madfinn13 Can I email you?

    • @Madfinn13
      @Madfinn13  ปีที่แล้ว +1

      Sure! You can email me at
      madfinn13yt@gmail.com