Danny Shumway
02-20-2008, 02:31 AM
I have a few different ideas for multiplayer realtime flash games played online. I've looked around online, but most of the tutorials I find suggest different methods and languages. I would really like to use PHP for this, and found a really great tutorial about it. My question though -
Can I make a real time game with just PHP and Actionscript, or do I need to include MySQL. If so, does anyone know any really good tutorials or can show me how to set it up with my website? I am using the host www.byethost.com which claims support for pretty much any coding. The most important thing is that the connection runs very quickly even when using a dial up connection. Other than that pretty much the only thing I want to do is hold variables in my PHP object. My idea was to use this type of coding-
onEnterFrame = function(){
//After establishing a connection
phpVar = flashVar;
OtherFlashVar = phpVar2;
//etc...
}
Is this possible? If I'm going about this wrong please tell me.
Thanks!
Can I make a real time game with just PHP and Actionscript, or do I need to include MySQL. If so, does anyone know any really good tutorials or can show me how to set it up with my website? I am using the host www.byethost.com which claims support for pretty much any coding. The most important thing is that the connection runs very quickly even when using a dial up connection. Other than that pretty much the only thing I want to do is hold variables in my PHP object. My idea was to use this type of coding-
onEnterFrame = function(){
//After establishing a connection
phpVar = flashVar;
OtherFlashVar = phpVar2;
//etc...
}
Is this possible? If I'm going about this wrong please tell me.
Thanks!