Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Multijugador Lan/Local/Offline como crear

Discussion in 'Connected Games' started by saske0712, Aug 2, 2019.

  1. saske0712

    saske0712

    Joined:
    Aug 2, 2019
    Posts:
    4
    Hello, can you tell me some option to create a lan / local world game, to play with friends in my unity 5 game without using the internet, a local network game.
     
  2. G44Gonzalo

    G44Gonzalo

    Joined:
    Apr 11, 2018
    Posts:
    12
    Según lo que yo se, para crear juegos multijugador, necesitarás una red wifi o conexión a internet, para conectarse a un servidor. Crear un juego online es una tarea muy pero que muy complicada, ten eso en cuenta.
    Puede ser que haya una forma de transmitir la información mediante bluetooth, pero no creo que eso sea posible, no lo sé. Ojalá alguien más experto te pueda dejar información más relevante :)
    Yo estoy creando también un juego online, que más de nada, es para jugar con mis amigos, pero cuando quiera jugar simplemente dejaré mi pc encendido en mi casa como servidor y mediante eso ya se conectarán los usuarios.


    According to what I know, to create multiplayer games, you will need a Wi-Fi network or internet connection, to connect to a server. Creating an online game is a very complicated task, keep that in mind. There may be a way to transmit information via bluethoot, but I don't think that is possible, I don't know. I hope someone more expert can leave you with more relevant information :)

    I am also creating an online game, to play with my friends, but when I want to play I will simply leave my PC on in my house as a server and through that the users will connect.
     
    saske0712 likes this.
  3. saske0712

    saske0712

    Joined:
    Aug 2, 2019
    Posts:
    4
    En lo de crear juego Online ya tengo experiencia, mi problema es como crear un juego Lan para jugar con mis amigos con red wifi, pero sin tener internet

    In creating online game I already have experience, my problem is how to create a Lan game to play with my friends with Wi-Fi network, but without having internet
     
  4. G44Gonzalo

    G44Gonzalo

    Joined:
    Apr 11, 2018
    Posts:
    12
    Busqué antes por internet, y es posible crear juegos a través de bluetooth, pero no se pueden conectar según he leido móviles ios y android entre sí. Yo creo que no te puedo ayudar asi que suerte y a ver si alguien más experto te responde. :)
     
    saske0712 likes this.
  5. saske0712

    saske0712

    Joined:
    Aug 2, 2019
    Posts:
    4
    Esperando respuesta...
     
  6. Ilan1903

    Ilan1903

    Joined:
    Aug 2, 2019
    Posts:
    3
    If it's with wifi network you can just change up your code, just put in IPv4, it's your localIP, you can do the other things like internet ones.
     
  7. saske0712

    saske0712

    Joined:
    Aug 2, 2019
    Posts:
    4

    I did not understand you very well, what you tell me is that it works in LAN World without internet, passing data through IPv4.
     
  8. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    5,954
    Pick a network API which does not depend on some internet service, and follow that network API's tutorials or documentation. (Photon Cloud for example depends on an internet service, so wouldn't be suitable for a lan game) The only fundamental difference between an internet game and a lan game is with an internet game you need some strategy to get around the issue that almost all internet users are behind a NAT router. Otherwise they are basically the same thing.