Could anyone recommend a java collision/simple physics library? It only needs to be 2D. Alternatively, maybe theres one for AS or Python I could use if it's any easier? The main purpose would be:
-Spawn client in a fixed 2D space (with set bounds), server asks client for current position at 5fps or less (1fps maybe), updates his position on server.
-Server has other players/npcs loaded as well, with their positions. Server detects what players/npcs are in a fixed radius of the player (like Unity's OnTriggerEnter) and returns a LinkedList called playerUpdateRadius or something, that is then used for various things sent to this player, like OTHER players and npc's positions. This is so the server doesn't send every damn player and npc in in the room to the client.
"simple" collisions library?
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 26 guests