V2 codes

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

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
phpBB Arcade - Activity rank