LWJGL + Kryonet Networking Demo

Channel:
Subscribers:
1,090
Published on ● Video Link: https://www.youtube.com/watch?v=aEBvOPWsitg



Duration: 0:40
2,631 views
18


So my first video in a while. Recently I've been fiddling around with how to go about networking games. I eventually came across Kryonet - a networking library in Java that supports UDP and TCP networking side by side, in a very simple API.

In this demo two people are connected to the same server in the same world, but this program can support up to ~64 people before being unstable. Textures are from a minecraft texture pack, and jump physics are from my Qjuake engine.

Go ahead and figure out what all the code does, but if you can't, I'll have a few Kryonet examples on here within the week. No promises. Send me messages if they're not online.

World_Server source code: https://drive.google.com/open?id=0B0ODrSDolTFTVk9PQlZ3bURWVUk
World_Client source code: https://drive.google.com/open?id=0B0ODrSDolTFTYU9PSEhsSDZOUGM

(External Links)
LWJGL - OpenGL Bindings for Java: http://lwjgl.org
KryoNet - High-speed Networking Library for Java: http://code.google.com/p/kryonet/
slick-util.jar - Resource/Texture loading utility: http://slick.ninjacave.com/slick-util/







Tags:
Computer Network
Lightweight Java Game Library
lwjgl
java
3d
networking
udp
tcp
high
speed
physics
quake
source
code
sourcecode
Software
links
kryonet
kryo
free