V2 codes

Here you will find some tutorials about game converting
Post Reply
User avatar
origon
Site Admin
Site Admin
Posts: 19511
Joined: Thu Mar 17, 2016 8:24 pm
Location: Denmark
Arcade super highscore: 3
Arcade highscore: 2

V2 codes

Post by origon » Sun Apr 02, 2017 11:12 am

this is the V2 code. It goes on the submit button of any game (but not AS3 games)

Code: Select all

on (release)
{
    sendscore = new LoadVars();
    sendscore.gscore = _userscore;
    sendscore.gname = "test";
    sendscore.send("index.php?act=Arcade&do=newscore", "_self", "POST");
}
Change the gscore to the score var of the game
Change the gname to name of the game file .......keep it between the quotes, like "gamename"

Post Reply