PDA

View Full Version : [AS2] High Score


Thomas-19
03-13-2010, 11:15 PM
Hello World ;)

I'm working on a game right now which has a high score. Calculating the higest score etc and writing it to any file is not going to be a problem for me (working with AS2 in flash8 btw), but writing the server sided service is a problem for me.

For as far as I know AS2 can only save local data, which needs to be picked up by a webservice in order to be stored on a server.

Now I was wondering if any of you guys have a piece of code that could really help me out on this one or a good tutorial? Basically what I want to know is how to send a number from flash to be stored on an external server.

Anything that helps will be greatly apreciated!

Thanks in advance,

- Thomas

Huijari
03-14-2010, 07:40 PM
Well, I am using this:
http://shang-liang.com/blog/safe-high-score-list-for-flash-games-with-swfencrypt/

It encrypts the score, but there is way to decrypt it. Only way to make it full secure would be swf encryptor.

Here's the other one(I recommend the first)

http://www.flashkit.com/tutorials/Games/High-sco-Glen_Rho-657/more4.php

Choose your favorite ;)

Thomas-19
03-15-2010, 11:26 AM
thanks for your reply, but i'm more looking for a server-side script that retrieves data stored locally then puts in a database on the server ;)

Any other ideas?