Tagged Questions
4
votes
3answers
242 views
Are there methods faster than Strings for sending a sprite's state over UDP?
I'm programming a 2.5D networked game in Java. The networking works like this right now:
Create new networked sprite object at the client. Send it to the server. Server distributes and saves it. ...
1
vote
1answer
79 views
LibGDX Cross Platform Networking
Backstory:
I've been developing a game with LibGDX for the past two years, and I've seen it refactored more times than I remember.
I jumped on the iOS iKVM port as soon as it was released.
But I've ...
4
votes
0answers
163 views
Structuring server-side networking with entity-component systems
I've been working on an online game, and recently have been working on converting the base of the game to use the Artemis Entity System Framework. I'm having a bit of difficulty conceptualizing ...
0
votes
1answer
197 views
Anyone know good network Java Tutorials for Game Dev? [closed]
I'm trying to create a very basic pong game with Java that can have two users on two different computers and one will be the host, or a computer can just be a host and the other two clients connect, ...
1
vote
0answers
84 views
2D Java Networked Game Coordinate Updating [closed]
I'm currently developing a networked 2D MMO-style game in which several thin clients (ran in an applet) are able to connect to a server and well, do MMO-style "things"!
Some more background on the ...
3
votes
2answers
201 views
Syncing game states in a multiplayer RTS game
I'm working in a group with 2 friends on our Gr. 12 final project for programming. We're making a multiplayer RTS game. I've been assigned to the networking section of the game, and none of us have ...
4
votes
1answer
361 views
Networking library compatible C++ and Java
There is any networking library like eNet compatible with Java and C++?
'm trying to find a way to communicate an Android game in Java with a C + + server, but I prefer to use a network library ...
0
votes
0answers
106 views
Dynamic proxies for game objects
I am looking for the best approach to build an observer that can monitor the changes in the game object for purposes of client/server synchronization.
For example my game may have multiple game ...
1
vote
2answers
387 views
Moving AI in a multiplayer game
I've been programming a multiplayer game and its coming together very nicely. It uses both TCP and UDP (UDP for movement and TCP for just about everything else). What I was wondering was how I would ...
1
vote
2answers
785 views
how should I network my turn based game?
I'm writing a very basic turn based strategy game which allows a player to select units and attack enemy units on their turn. The game is written in Java using the slick2d library and I plan to use ...
-2
votes
1answer
151 views
Issues with networking in my Java game, Client crashes when I try and read from the server input
A buddy and I have been programming a code game over the last 2 weeks, it is intended to be a multiplayer game with the ability to have 2 players play against each other.
I am running into an issue ...
1
vote
1answer
1k views
Simple Java networking game engine
I want to create a simple java networking game and search a networking engine that eases use of sockets etc. I have already read some questions on here and the internet about java networking for ...
2
votes
3answers
467 views
What's an efficient way to represent game state for networked games?
I've done a little bit of network coding for games before, but primarily with TCP for games that don't really need to simulate real-time interaction. I am working on a (somewhat) simple 2D Java game ...
1
vote
2answers
246 views
Resources for game networking in Java
I am currently working on a Java multiplayer game. The game itself (single player) already works perfectly fine and so does the chat. The only thing that is really missing is the multiplayer part. ...
2
votes
2answers
260 views
Would it be too much overhead to keep a HashMap of variables on a server per object for the purpose of syncing object changes with the client?
I am currently writing a server for a multiplayer game. I am trying to find a good solution for synchronizing GameObjects across the server. The server sends each client a snapshot of every object in ...
3
votes
1answer
325 views
Photon alongside LibGDX
Can anyone point me to a possible implementation of the Photon network engine along with LibGDX for Android? Or any multiplayer networking SDK for all that matters.
From reading source code it ...
4
votes
2answers
1k views
How do MMO servers communicate with players who are behind a NAT?
I'm now planning to develop a real-time mmo in the future using udp as the transmission protocol since it has lesser overheads than tcp... I understand that between the client and the server, they ...
10
votes
1answer
1k views
Should I write my own physics engine, because of networking integration?
I'm currently developing a top down, realtime, zombie shooter. I'm coding this in Java, using JBox2D as my physics engine. I have been coding the networking this week, and am now up to the physics ...
10
votes
3answers
763 views
How do I efficiently code both the client and server at the same time?
I'm coding my game using a client-server model. When playing on singleplayer, the game starts a local server, and interacts with it just like a remote server (multiplayer). I have done this to avoid ...
3
votes
2answers
2k views
What Java library provides a high-level communication interface suitable for use in an action-game server?
I need to write a server for an action game, which needs fast communication with the client. There will only be one server, and I'll split the world in zones. The client will be written in Java using ...
3
votes
1answer
355 views
Network Game testing via Wireshark
How can i check/inspect the performance of my network game via Wireshark and specifically the Graphs available in Wireshark,i want to test the performance of my network game. which kind of graphs can ...
2
votes
3answers
698 views
Pub/Sub or message passing in multiplayer server backend?
For my masters thesis I'm going to develop a scalable multiplayer server for locationbased games. It's going to be a "service oriented architecture" e.g. one dedicated service for positions, one for ...
3
votes
3answers
411 views
Suitable Client Server setup for Network Game testing
I want to test my Client/Server game for which, currently, I am using localhost for both Client and Server.
Obviously I'm not getting any fluctuation in data and measure idea of performance, and in ...
1
vote
2answers
135 views
Observing particular Port for measuring network game performance
How can I check/inspect the performance of some network application via observing the port it used, I want to test the performance of my network game.
If my game is using port 1009, how can I check ...
2
votes
1answer
5k views
Java multiplayer cards game
I need to develop a simple multiplayer card game. For example, a poker game; this is only for study. I am going to develop it in Java.
How I can I manage communication between the server and clients? ...
1
vote
4answers
852 views
Client server design question
I'm working on creating a multiplayer game, with the client in ActionScript and the server written in Java. I'm using XMLSocket in the client to connect to the server. The server code looks something ...
1
vote
1answer
407 views
Network Abstraction for a Java Game Messaging System
I'm currently working on an online java game. Currently building the messaging system between the client/server and I came across a big if.
I am not experienced as a game programmer, only worked with ...
8
votes
6answers
2k views
Which server platform to choose
I'm going to write a server for an online multiplayer with these requirements:
Pretty simple turn based game (think a card game) that is played entirely on the server (security reasons)
Must be able ...