• Advertisement
  • Popular Tags

  • Popular Now

  • Advertisement
  • Similar Content

    • By Brandon Marx
      Hello forum,
      I have some decent amount of experience in Unity making games for Software Engineering projects in college, these were very specific projects however and I still am fairly new to building games. I wanted to make a game that uses the shadows of objects for collision detecting (i.e. shooting a gun at a characters shadow causes that character damage. What is the best engine to do this in (game will be 3D), and does anyone have any advice on how to approach this concept? I consider myself fairly experienced in programming, but game dev is just an entirely different beast.
    • By juicyz
      Hey all,
      I've been slowly working on my game called AotW for a while now.  I have come to the conclusions that it would be nice to cooperate with 1 or 2 others to help finish it.  Ive been trying to keep my GDD up to date with my ideas and development so that would give a better overview of the game when the time comes.  Currently I have a basic skeleton of the RPG elements needed but everything can still be discussed and talked about and we can transform my idea to something the group likes.
      The premise of the game is a Diablo-like procedurally generated map with RPG elements that include sockets, inventory, classes, abilities, crafting, loot, items, sockets, and enchanting.  This will be done in a 2D iso view as I can't do 3D art and I enjoy 2D games a lot.
      I don't plan on releasing this as this is more of a hobby project for me and I have a full-time job.  Though I'd like to start putting more hours into development and having others definitely will be motivation.  I also want to be able to say I have finally "finished" a game idea to some degree.  If the time comes and we want to release it, then we can go ahead and do so but that's not my purpose or plan. 
    • By Arnold // Golden Donkey Productions
      Hi, I've been working on this issue for a while and haven't yet found an answer.
      Does anyone know the best way to convert unity's LAT & LONG into a vector 3 position that I could use in a virtual world (if it's even possible). 
      Thankyou in advance
    • By wobbegong_
      I am taking an absolute beginner's game development course and we have just finished game jams in small groups. Our current assignment is to get feedback from people working in any aspect of game development. I would very much appreciate any feedback! The game is up on itchi.io (sound warning) https://wobbegong.itch.io/zombie-shooter It's essentially a very basic PvE.
      I also have some things I'm wondering about, but you don't necessarily have to answer these. 
      1. Do you have any tips on working with physics? My group wrestled a bit with Rigidbody physics not totally working the way we wanted to -- jumping ended up kind of floaty and inclines seem to mess up movement. Alternatively... how can I build terrains with depth that won't result in wonky physics?
      2. How can I keep up the level of challenge in an interesting way as the player progresses through the waves?
      3. What are some of your personal guidelines for creating title screens?
      Thank you very much in advance!
    • By ethancodes
      I'm having a weird issue with detecting a collision. I've tried everything I could find online but nothing seems to work. I have a brick object. It has a 2D Collider attached and I have also attached a 2D Rigidbody on it. I also have an EndScreen 2D Collider. The EndScreen 2D collider is tagged with "EndScreen". I am trying to detect when a brick collides with the end screen collider and simply print "game over" in the console. 
      This is my current code for this part of the program, it is attached to the bricks:
      void OnCollisionEnter (Collision2D collision) { if (collision.gameObject.tag == "EndScreen") { Debug.Log("Game over"); } } Several things have happened depending on the set up. If I have the rigidbody 2D set as static, my ball object can still collide with the bricks, but I get no Log message. If I set it to Kinematic or Dynamic, I get absolutely no interaction between the ball and the bricks, and nothing when the bricks pass through the collider. I have tried to set the collider to a trigger and use OnTriggerEnter2D, no change. I have tried to put the rigidbody on the EndScreen object and tried to set it's body type to all 3 settings, no change. The only thing I can think of that I have not done is put the script on the EndScreen object and switch the tag to the bricks. The reason I have not done this is because I will have several types of bricks, some of which will have different tags. 
      Please tell me somebody can see what I'm doing wrong here, because I'm losing my mind over something I feel should be ridiculously simple. Thanks.
  • Advertisement
  • Advertisement
Sign in to follow this  

Unity How to make Lobby and login systems For multiplayer Fps Game

This topic is 702 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


To Be Honest it's my first time here ... me and team of 8 guys are making multiplayer fps game with unity ( we have already desgined the game (From weapons to players , we are working on the maps ) we have 4 guys know languages (C# / OpenGl / C++ and other languages ( am not the coder so idk so much things about it ) ( we all learned through videos ) ... our problem is with lobby and login system how those are made (the lobby not only rooms i mean also the store , warehouse and setting ...) so can u give me links to where should i go to learn making these things or if u can explain how they are made.

Thanks Alot

Share this post

Link to post
Share on other sites

If you and 8 other people can't figure this out, then perhaps this is beyond the scope of what you should be creating?



In the last online fps I created, I used Java and OpenGL. I would imagine the programming flow would be similar to that of Unity.


I set my game up with a game-state, where if the game-state was set to "playing" it would treat incoming packets normally and move entities around the 3d space properly. If the game-state was set to "lobby" it would force all the client to draw a UI over the game, and the UI would display things like player names and a server-sided counter until the game would start.


Things like in-game purchases would be a little harder to set up. I believe the easiest thing would to have your own game currency, where users could trade in money for the currency. Then purchasing in-game items would be as simple as checking the users current balance and applying an item.


However, the actual currency exchange might be difficult to create. You would need to create a system that detects when a user sends money (maybe from paypal), and then if the payment is confirmed you need to credit their account and notify the customer that it was successful.


Good luck.

Edited by orange451

Share this post

Link to post
Share on other sites

Yeaaaaaaah... if you've learned mostly through videos you may have a hard time implementing this. It is more involved than what people will credit it for.


There's a number of concepts you need to be familiar with before you can get this multiplayer game up and running.

You need to understand these topics. Sockets, TCP, UDP, threads, DNS, NAT punchthrough, and buffers.


Network Programming is pretty tricky. And will generally require two sockets on the client and server side (recieve and sending data asynchornously). And an expert handling of threads, processes, OR other methods the OS may provide.


UDP tends to be the most popular choice by major gamedevelopers. As it allows you to use the NAT punchthrough technique to avoid the need for port forwarding. However, in your case TCP will work just fine.


Once your entire team understands this. You can start worrying about lobbying systems.


There are plenty of books you can pick up that will explain these concepts to you. And also lobbying, microtransations, etc.

Edited by Tangletail

Share this post

Link to post
Share on other sites

Personally I'd recommend looking into integrating the Steamworks API since it can accommodate these things and you would not need to develop a cluster of complicated systems from scratch inside a framework that is touted as making game development easy. I would favor an API over trying to develop code that needs to integrate with hardware, inside Unity, any day of the week. If Steamworks isn't a good fit look for another library which has a Unity integration available, I am sure there are countless solutions unique to Unity.


Your programmers need to get used to researching exactly this sort of stuff or they will only ever learn from tutorials (video/written).

Share this post

Link to post
Share on other sites
Ok all of that helped alot ... Actually I found out that they found somethings that explains things of what u said but as i said all we learned was from internet tutorials so it looked complicated for a game creating and now we know that we were in the right way.
Thanks alot orange451 , tangletail , coope .

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement