What server should I use for a PHP Online Game?
Open database and see where player is currently located on the Y axis.
Check with map location and make sure no one or a wall is positioned in Y-1.
If no obstruction present, database updated for the Y value of the player - 1.
Read database for all areas the player could see at the moment and display them on the screen.
Problem was, it would take around a second for this to happen, making multiple simply impossible. I had my friend and I fighting each other in what looked and felt like slow motion. No lag or anything, just too slow for multiple player. You really need like .1 second frame rate at the minimum to play something online.
I have heard that there are special databases which are called "dynamic" ? I believe and can be used for multiple player gaming and fast response database calls in real time.
Am I going about this wrong? Any advice? Thank you so much!
Chris
Product Support @ WPTB...
Discover: The hot new plugin your competitors are killing it with...
Want to read my personal blog? Tashi Mortier