Re: Game development approach

From: Date: Fri, 25 Mar 2005 14:44:36 +0000
Subject: Re: Game development approach
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-211566@lists.php.net to get a copy of this message
Robert Cummings wrote:
Javascript. And perhaps use XmlHttpRequest to synchronize the game cycle with your web server from time to time. Or if the pages are being submitted, you can just synchronize at that time.
Hi Rob, thanks for your answer. Let me see if I got it right, I would use javascript to be run on the client as to time the cycle and request the update to the server, that would run the cycle. The XMLHTTPrequest would be used to keep all the requests synchronized, so that one player can't get an update berfore the cycle time is counted, and hence all players get the updates at the same time. Is it so? Kind regards, Alex

« previous php.general (#211566) next »