You are here: Re: [PHP] Game development approach « PHP « IT news, forums, messages
Re: [PHP] Game development approach

Posted by Robert Cummings on 03/25/05 06:07

On Tue, 2005-03-22 at 21:13, Alexandre wrote:
> Hi there,
>
> I'm developing an online game (using PHP+MySQL, and being totally interfaced via
> web) which needs to have a "game cycle" running. For example, the player is
> flying a plane, so he sets the plane speed to 10%, then the game cycle needs to
> keep "moving the plane" forward (i.e. updating position), while the player
> doesn't order it a full stop. The point is how to implement this "game cycle"?
>
> I've done some research on the web and haven't found a feasible approach to this
> idea.

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.

Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация