Kryonet Libgdx Android?

Kryonet Libgdx Android
Okay I want to implement multiplayer to my space game but I am confused on how to make Kryonet work for libgdx Android and I have no idea how to make it work without connect via Lan (Hamachi) Can anyone help?

Did you even search the internet before posting?

like the official tutorial/guide?

It’s no different.

Yeah I did thanks.
I mean like android doesn’t have hamachi so how the hell do i get multiplayer to work?

Such a vague and unsatisfying question. Perhaps actually taking a shot at setting up a basic server/client and you will see exactly how it works, why do you want Hamachi on the phone anyway? It is not needed unless you are doing some hacky server stuff.

If you want to do something with your friends, you can literally code a server for desktop and a client for android and have all your friends connect and do whatever, not sure what your intentions are as you have given little to no information. Asking how the hell do I get multiplayer to work is like asking a child how the world spins, sure you will get an answer but it’s bound to be wrong or complete nonsense.

Research port forwarding :slight_smile:

And dedicated servers

The open source project GDX-Proto uses kryonet on Android

net code here:

But I don’t understand why you think you need Hamachi?