V2 codes

Here you will find some tutorials about game converting
User avatar
Site Admin
Site Admin
Posts: 19342
Joined: Thu Mar 17, 2016 8:24 pm
Online/Offline: Offline
Location: Denmark
Arcade super highscore: 3
Arcade highscore: 2

V2 codes

Postby 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"

Return to “Game converting”

Who is online

Users browsing this forum: No registered users and 1 guest