Slick Forums

Discuss the Slick 2D Library
It is currently Sat Jun 03, 2023 10:17 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun May 05, 2013 10:18 pm 

Joined: Sun May 05, 2013 9:56 pm
Posts: 1

I'm making a simple, minimalistic 2D networked gameand I'd like to use Phys2D to handle my physics.

I have a couple of questions about Phys2D.

1. Because any player is allowed to know everything about the game world, my network model involves the server sending the clients the inputs of all the clients on each game update. As I am sending input data, and not the results of positional calculations from the game server, the physics simulation must be completely replicable between any two machines, given the same state update information. I noticed that Phys2D uses strictfp, so it would be acceptable for me?

2. What is required to copy the state of the Phys2D World so that it can be sent across the network and reassembled? I see that there is a request to make the necessary component implement Serialisable...

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group