- Joined
- Sep 9, 2012
- Messages
- 145
- Reaction score
- 7
Recently I thought I'd try to make a sort of Maplestory-like game and have gotten some good progress with just basic combat, platforming, mob spawning, NPC's, and even quests. This was all fun but I really wanted to do this to learn a lot more about networking with Java. I looked up some Apache Mina tutorials and followed up on that and it sort of works but I was just wondering if someone could explain to me the whole design behind the standard network design in most Java repacks. My game is very slow with more than 5 people connected and since all of the logic is handled server-side I think I'm not optimizing it well enough or doing it as well as Odin. Basically I take the client's input and process that through a Player object which then moves position, attacks, etc. and can interact with other entities. Every frame a packet is sent to each client full of things to render based on entities in the corresponding map. Any suggestions, tips, advice would be very helpful and appreciated.

