Developers

Submit Your Game Here

 

 
Money

- How to earn money (ad share)

Developers (only developers at this time) can earn money by submitting their games to Zumspiel. Simple as that.

How much you ask? Developers earn 30% by default, another 30% for implementing Zumspiel's API, and another 30% if you submit the game exclusively. So you can earn either 30%, 60% or 90%... the choice is yours.


- Notes

In order for us to send us your share, we need your either your PayPal account or your mailing address. You can do so from the User Panel from once you have submitted a game.




Uploading

- Rules

It must be a game, it can not be a video. If the game has unwanted material in it such as pornographic, hateful, obscene, etc, it will not accept and it will be banned along with uploader.

It also must be your original work, you can not upload stolen content. The uploader will receive a warning the first, and banned the second.


- Editing

In the User's Panel panel there is a tab called "Submitted Games". Click on that and you will be able to see all the games submitted along with the edit option. You may upload a new version of the game, icon/thumbnail, edit the description, controls, and dimensions, to name a few.


- Removal

No you may not remove the game once its uploaded.




API

- What it can do

The Zumspiel API allows developers to submit the users score/time earned in their game to our database to record. Furthermore, it allows us to create badges for the games to keep the users even more interested and more excited to play - and of course keep the users coming back for a challenge.

Right now there are three (3) different ways to allow users to earn badges through the developers game:

1) Shortest/Lowest Time
2) Longest/Highest Time
3) Highest Score

When submitting the score/time to our database, you need to pass the game mode the user is currently playing (easy, medium, hard, etc).

Note: You can NOT use score and time for the user to earn his/hers badge, its either the score OR time that will be determined for the badge.


- API Properties

There are three properties which you set for the passed Object to the method submit:

score (Number)
time (Number - PLEASE keep it in milliseconds, NOT in the readable format of 00:12:56)
mode (String - default is "normal")

Hopefully thats not too much to remember Wink


- API Download

Download the SWC appropriate to the version you are using for your game:

Actionscript 2.0     Actionscript 3.0

Once you downloaded the SWC file, you will need to move it into the correct location:

For Macs: /Applications/Adobe Flash CS3/Configuration/Components/

For Windows: C:\Program Files\Adobe Flash CS3\Configuration\Components\

Once you have moved the SWC file into the directory, restart Flash. Then open the Components Window from Flash, drag and drop the ZumspielAPI Component into your Library. Then you should be set to write the code!


- Actionscript 2 Sample and Download

If you developed your game using Actionscript 2, here is some sample code to implement the API into your game:

// in the first frame
_root.attachMovie("ZumspielAPI", "zapi", 0);

// when submitting the score to the database, at the end of the level OR game over screen
zapi.submit({ score:83232, mode:"easy" });

// OR when submitting the time, again, at the end of the level OR game over screen
zapi.submit({ time:930042, mode:"easy" });


- Actionscript 3 Sample and Download

If you developed your game using Actionscript 3, here is some sample code to implement the API into your game:

// in the first frame
var zapi:ZumspielAPI = new ZumspielAPI();
zapi.addEventListener(Event.Complete, zAPI_Complete);

// when submitting the score to the database, at the end of the level OR game over screen
zapi.submit({ score:83232, mode:"medium" });

// OR when submitting the time, again, at the end of the level OR game over screen
zapi.submit({ time:930042, mode:"medium" });


- Notes (a must read for Actionscript 2)

The usage of the API over the two different versions of Actionscript are very similar, you pass an Object with one or two properties and their values. Simple as that.

However, there is a slight differences from the two.

1. DON'T edit the _root.game_id variable. Very important. If you set or change this variable the score(s) and/or time(s) will not be recorded.

2. In Actionscript 2, you can pass an optional function to the second parameter of the submit method when submitting the users score/time, like so:

zapi.submit({ score:83232 }, zAPI_Complete);
function zAPI_Complete(success) {
	if(success) {
		// it went through
	} else {
		// not good...
	}
}


Notice how in the example the property mode was not passed? That is because the default mode value is normal (this goes for Actionscript 3 as well).