> I am thinking of hiring a developer to build a multiplayer game platform on to my existing website but have some conerns and wondered if anyone else may have done it before or know if its possible at all?
>
> I would like to build multiplayer games like streetfighter on the site but I have been warned about lag. The site is hosted on a windows server 2008/apache. I have been told that games could suffer up to a second or more in lag so having a game like street fighter would defeat the point if users reactions are delayed against one another in battle. I guess things like chess and checkers would be fine as the users will be making a move in the game at their own time but is there a way for me to offer games like street fighter without the delay so players are playing in real time?
This doesn't sound like a CakePHP question yet.
If you're making a game on a web site, you're either doing lots of Flash and ActionScript programming, or writing lots of JavaScript controlling a canvas element. If this is an interactive game, your JavaScript will probably contain lots of AJAX- and Comet-type stuff for interacting with a server-side script to manage your game state and push it to all players. That server-side script could certainly be a CakePHP application if you wanted it to be, but all it probably needs to be able to do is to is receive a data packet from your JavaScript or ActionScript application in some well-defined format like JSON or XML, and respond to it with another data packet in a similar format, perhaps including interacting with a server-side database first. "How do I write a multiplayer online game" is a broad topic that's probably best researched by you elsewhere. If you have specific CakePHP-related questions once you've begun implementing some server-side logic, feel free to ask those here.
http://en.wikipedia.org/wiki/Canvas_element
http://en.wikipedia.org/wiki/Ajax_(programming)
http://en.wikipedia.org/wiki/Comet_(programming)
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment