MySQL Scoring

Hey there Unity Community :wink: I am very new to Unity but have a game. Its basically an asteroid shooter (http://thegamerland.com/tglroids.php) I need it so after the end of the game and it says gameover. It gets the score and deposits it into your thegamerland account. My team honestly has no idea what to do and it looks like we need major help figuring this out. It would also need to deposit it into the current logged in account. If anyone can help, its much appreciated.

I suppose you’re talking about having MySQL on a remote server, so you could have a website that exposes Error: ASP.net | The ASP.NET Site webservices to call when the game ends.

Exactly. The game is on the site, we need to make it so when logged in and you play the game, on the end, your final score adds into your account so we can turn score into currency . The part in bold is easily done by my team so do not worry about that.

So what is your problem? You would use WWWForm to call your webservice that will save the score on MySQL…

To restate what ZioRed is saying…

You would set it up to call, dial, interact, goto your website server.

psuedo:
On game end… go to www.whatev.com/databasename/username/login.
fine player id YODA
and place “score” in the proper container.

Im learning c# / server / php and database stuff now and have been for the past 3 days… so take my method VERY lightly… but i think that’s nearly what you need to do.