All Questions
6 questions
2
votes
2
answers
172
views
basic java libgdx program runs in background after closing because of socket.io socket.connect
In a java libgdx project, the program continues running in the background on desktop even after it is closed.
This is happening due to the line socket.connect();
If that line of code is removed the ...
0
votes
1
answer
129
views
Libgdx when screen changed, socket events still running in previous screen
I'm making online game in libgdx.I'm using socket.io for server and I'm using rooms.But I have a problem with screen changes.I have two screen class, I'm connecting to server only once from town class ...
3
votes
1
answer
363
views
Is it possible to compile a LibGDX game for HTML if it uses Socket.IO? If so, how?
From what I've seen, it seems to use socket.io in my game and have it run, I would need to do a lot of work to wrap JS code for Java and other things that currently fall outside my field of expertise.
...
0
votes
0
answers
393
views
Libgdx socket.io enemy movement only appears on the first connected client
I'm building a mmorpg in Libgdx with socket.io(with node.js).I'm trying to create enemies(monsters, skeletons etc.).I created a monster class and it working for singleplayer but I'm trying to move ...
0
votes
0
answers
439
views
Connect to Heroku Node.js server from Java desktop client
I have created a simple game that uses Java, Socket.IO, and a NodeJS server. This game works perfectly when hosted on my local machine.
I am having trouble connecting to the server from the Java ...
5
votes
2
answers
3k
views
LibGDX - Connecting cross-platform clients to a server (HTML5/GWT, iOS, Android and Desktop)
Over the weekend I set up all the networking for a game I was making. I was basing it off this tutorial: GamesFromScratch.com Basic LibGDX Networking. It said that it only supported TCP but I was okay ...