skypeep
10-22-2009, 10:53 AM
Hi Friends, I am designing a shooter game in flash.
I want to know is it possible to save data to my server by using PHP and MySQL and XML on each event. For example if a user start playing the game the current score and bullets left will be saved on server at runtime by clicking or shooting per bullet.
you can see the game here
http://www.pcfixpoint.com/test/shooter/main.html
shooting the bullets is fast mouse click event so I thought this is not possible to save each time to the server while playing or shooting the bullets. And even it will need more bandwidth and complex if more than thousands users are playing at the same time. This is my problem.
I already go through the term " shared object" in flash to save Score and data from the users but it is used to save on local computer. And I want to save on the server so can user check their history while playing the game.
anybody knows the good way to do this because I am new to the flash.please I need help.
thanks in advance.
I want to know is it possible to save data to my server by using PHP and MySQL and XML on each event. For example if a user start playing the game the current score and bullets left will be saved on server at runtime by clicking or shooting per bullet.
you can see the game here
http://www.pcfixpoint.com/test/shooter/main.html
shooting the bullets is fast mouse click event so I thought this is not possible to save each time to the server while playing or shooting the bullets. And even it will need more bandwidth and complex if more than thousands users are playing at the same time. This is my problem.
I already go through the term " shared object" in flash to save Score and data from the users but it is used to save on local computer. And I want to save on the server so can user check their history while playing the game.
anybody knows the good way to do this because I am new to the flash.please I need help.
thanks in advance.