Welcome Guest
Play2beatme.com as a Game development establishment strives to produce numerous games that fall in line with the interest and the liking of the gaming community. We are in the process of increasing our presence even unto the remotest corner of the globe. To give the needed impetus, we at Play2beatme.com plan to enter into business relationships with Game Developers, as a step to further the cause. We invite Game Developers who would be interested to grow with Play2beatme.com, and who feel that their unique talent could work to the advantage of Play2beatme.com. Interested Game Developers can contact us at:
Score Submission API for AS3 and AS2
This is applicable even for third parties who submit their games in our site. The mentioned process will have to be carried out to enable Score Submission.
Installation using action script code snippet
1. This code snippet needs to happen as EARLY as possible as when your game starts. http://www.play2beatme.com/highscoregames
1. Actionscript 3
1. # Load the API:
We will provide for two types of loading related to the API:
1. Call our API on the GetURL Method by using the code GetURL(“ URL STRING WHICH WAS PROVIDED BY US”,”_BLANK”);
2. ADD the Code to Enable our API Connection. REF:Solution #2.
2.Actionscript 3:
In AS 3 Games, we have added the following lines for storing the high score values in table,
Solution #1:
Note: (score.toString())+ For this use the variable which was used while storing the score.
(level.toString() + "/10"); For this use the variable which was used while storing the level.
1. This code snippet needs to happen as EARLY as possible as when your game starts. http://www.play2beatme.com/highscoregames
1. Actionscript 3
1. # Load the API:
We will provide for two types of loading related to the API:
1. Call our API on the GetURL Method by using the code GetURL(“ URL STRING WHICH WAS PROVIDED BY US”,”_BLANK”);
2. ADD the Code to Enable our API Connection. REF:Solution #2.
2.Actionscript 3:
In AS 3 Games, we have added the following lines for storing the high score values in table,
Solution #1:
Step-1:
Here Download has added Base64.AS file for supporting Game Actions.
Download Link for Base64.AS
screenshot
screenshot
Step-2:
Import Base64;
screenshot
Import Base64;
screenshot
Step-3:
screenshot
screenshot
Step-4:
Screenshot for exporting swf:
screenshot
Screenshot for exporting swf:
screenshot
Solution #2:
Step-1:
Note: Place the Following Code Before Submit your Score
screenshot
screenshot
Step:2
The above function is called in the submit button of the score page for saving the high score in table
Step:3
Screenshot to change score and level variables:
Screenshot to change score and level variables:
Step:4
Screenshot to export swf:
Screenshot to export swf:
1. Actionscript 2
# Load the API:
1. Call our API on the GetURL Method by using the code GetURL(“ URL STRING WHICH WAS PROVIDED BY US”,”_BLANK”);
How to use it!!!
1. # Submitting Score: You simply need to provide the score. And, if you use Game Levels, you should provide the current level the player is playing in. (Example Game Level: "1/10", "2/10", "3/10", etc.) The submit score call should be placed wherever you compute the final score for the game.
# Load the API:
1. Call our API on the GetURL Method by using the code GetURL(“ URL STRING WHICH WAS PROVIDED BY US”,”_BLANK”);
How to use it!!!
1. # Submitting Score: You simply need to provide the score. And, if you use Game Levels, you should provide the current level the player is playing in. (Example Game Level: "1/10", "2/10", "3/10", etc.) The submit score call should be placed wherever you compute the final score for the game.
2.Actionscript 2:
In AS 2 Games, we have added the following lines for storing the highscore values in table,
In AS 2 Games, we have added the following lines for storing the highscore values in table,
Step:1
Ref:Step-1 of as3 games solution #1;
Ref:Step-1 of as3 games solution #1;
Step:2
import Base64; screenshot
import Base64; screenshot
Step:3
screenshot
screenshot
Step-4:
Screenshot for exporting swf:
screenshot
Screenshot for exporting swf:
screenshot
Games for your Site | Game Developers | Terms of Service | Privacy Policy | Contact Us | Game Submission
©Copyright 2009-2010 play2beatme.com. All rights reserved.













