|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I'm coding a game in PHP, have most of it coded, but I recently implemented clans into the game. One of the features I would like to add in is Real-Time clan fights...however, I have not the slightest idea on the approach to Real-Time coding. Please help.
![]() |
| Sponsored Links |
|
|
|
|||
|
the link is at http://mayhem.sbdesigning.com
It's all text based, and runs off of a MySQL database... |
|
|||
|
I don't know if you can get exact real time, but if you just had a database backend that you did not mind pounding into submission, couldn't you just create a turn-based environment (I guess you could do it without the database as well), and speed it up as such that it appears to be real-time. Ie there are actual rounds to the game, but perhaps those rounds are so short that the player would not even realize it.
By the way I am not sure how Java or Ajax would work for a real-time fight since those are both client side. The two clients would need to communicate for a real time battle. Would be better to do it just in PHP me thinks. |
| Sponsored Links |
|
|
|
|||
|
ya, I'm actually thinking of going with the quick turn based...maybe make the actual user status's and such in an iframe so i can call it to a page that refreshes with their new status, health, and such. And put in a "shoutbox" type thing so they can communicate.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP: Execution Time Function | Jordan | PHP Tutorials | 18 | Yesterday 02:07 PM |
| 8 Steps to Growing Your Blog Community One Person At a Time | bbalegere | Marketing | 4 | 01-22-2007 12:03 PM |
| A time showing tutorial | ahsan16 | VB Tutorials | 1 | 01-10-2007 05:50 AM |
| Time format | xXHalfSliceXx | HTML Programming | 0 | 12-10-2006 08:15 PM |
| Odd Timestamp | dirkfirst | C# Programming | 10 | 12-08-2006 05:40 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 97%