With so many real time multiplayer games emerging these days, latency plays a very vital role in the game performance. One of the key factors that impacts the latency is the distance between a client device and the server.
Earlier, developers had to write the algorithm to find the nearest AppWarp server on the client app and then set that server location to connect. We have come up with a new feature through which you can enable your app to connect to the nearest AppWarp server by adding a single line of code. To do this, you simply need to set geo as auto as follows:Con tantos juegos de multijugador en tiempo real emergiendo en estos días, latencia juega un rol muy vital en el rendimiento del juego. Uno de los factores claves que afecta la latencia es la distancia entre el dispositivo del cliente y el servidor.
Anteriormente, los desarrolladores debían escribir el algoritmo para encontrar el servidor AppWarp más cercano a la aplicación del cliente y luego establecer la localización del servidor a conectarse. Hemos llegado a una nueva solución a través de la cual puede habilitar su aplicación para conectarse al servidor AppWarp más cercano mediante la adición de una sola línea de código. Para hacer esto, simplemente necesita establecer la geolocalización de manera automática, como se muestra a continuación:
WarpClient.getInstance().setGeo("auto");
WarpClient.getInstance().connectWithUserName("Michael");
There are some restrictions that you should be aware of when overriding the default location:
- Static rooms are only available in the default location of the application
- Players connected to different geo locations will not be able to play with each other
For any queries or suggestions please write to us at support@shephertz.com.
WarpClient.getInstance().setGeo("auto");
WarpClient.getInstance().connectWithUserName("Michael");
Existen algunas restricciones que debe tener en cuenta al momento de deshabilitar la ubicación predeterminada:
- Static rooms solo están disponibles en la ubicación predeterminada de la aplicación
- Jugadores conectados a diferentes geolocalizaciones no podrán jugar entre ellos
En caso de preguntas o sugerencias, por favor contáctenos a support@shephertz.com.
Leave A Reply