开发者

need to write flash game score in XML file

开发者 https://www.devze.com 2023-02-11 20:38 出处:网络
I am working on a flash game which is a shooting egg game. I want to export a score(what 开发者_运维百科ever it may be ) to the xml file so that using php developer can take it from there n post it to

I am working on a flash game which is a shooting egg game. I want to export a score(what 开发者_运维百科ever it may be ) to the xml file so that using php developer can take it from there n post it to the wall just like we play games on facebook n it asks you that "Do u want to post your scores?". The variable of Dynamic text box is score.


I have done this in the past and have sent the score directly to a PHP script eg. php?name=Trevor&score=103 (make sure you encrypt it though, so people can't 'game' it). The php script then stores it in a small database table if the score is within the top 10 scores.

When the scores are required for display, the PHP/SQL requests the top 10 scores and orders them by score.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号