LibGDX supports Desktop (Windows, Linux and Mac), Android and web applications. Can i code the network part of an online game without taking care of what kind a of application i'm running? i.e coding the network engine interdependently of the application type.
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
|
If you just want to target desktop and android devices, you can use the same networking library, as long as the library supports android. Kryonet is a networking library, that works both on desktop and android, and it is very easy to use (just look at the example from the page). If you want to implement networking also for HTML5 games, you would most likely need a different solution. A way to go could be working only with byte streams/arrays and implement the protocol for both javascript and java. I think Node.js has networking functionality and enables sending and receiving byte streams. This would be a more low level approach to networking, in contrast to the kryonet solution. |
|||||
|