Re: Game development approach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux