Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Gamua/Flox-AS3
The ActionScript 3 SDK for the Flox Game Backend
https://github.com/Gamua/Flox-AS3
Last synced: about 2 months ago
JSON representation
The ActionScript 3 SDK for the Flox Game Backend
- Host: GitHub
- URL: https://github.com/Gamua/Flox-AS3
- Owner: Gamua
- License: other
- Created: 2013-11-14T10:27:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-06-24T15:41:30.000Z (over 6 years ago)
- Last Synced: 2024-08-04T05:05:01.585Z (5 months ago)
- Language: ActionScript
- Size: 630 KB
- Stars: 35
- Watchers: 14
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-actionscript-sorted - Flox-AS3 - The ActionScript 3 SDK for the Flox Game Backend (API / Other API)
README
Flox SDK - ActionScript 3
=========================What is Flox?
-------------Flox is a server backend especially for game developers, providing all the basics you need for a game: analytics, leaderboards, custom entities, and much more. The focus of Flox lies on its scalability (guaranteed by running in the Google App Engine) and ease of use.
While you can communicate with our servers directly via REST, we provide powerful SDKs for the most popular development platforms, including advanced features like offline-support and data caching. With these SDKs, integrating Flox into your game is just a matter of minutes.
More information about Flox can be found here: [Flox, the No-Fuzz Game Backend](http://gamua.com/flox)
How to use the ActionScript 3 SDK
---------------------------------Just by **starting up Flox**, you will already generate several interesting analytics charts in the web interface.
Flox.init("gameID", "gameKey", "1.0");With **Events**, you can collect more finegrained data about how players are using your game. Pass custom properties to get a nice visualization of the details.
Flox.logEvent("GameStarted");
Flox.logEvent("MenuNavigation", { from: "MainMenu", to: "SettingsMenu" });To **send and retrieve scores**, first set up a leaderboard in the web interface. Using its ID as an identifier, you are good to go.
Flox.postScore("default", 999, "Johnny");
Flox.loadScores("default", TimeScope.ALL_TIME,
function onComplete(scores:Array):void
{
trace("retrieved " + scores.length + " scores");
},
function onError(error:String, cachedScores:Array):void
{
trace("error loading scores: " + error);
});This is just the tip of the iceberg, though! Use Flox to store **custom Entities** and **query** them, make **Player Logins** via a simple **e-mail verification** or a **social network**, browse your game's **logs**, assign **custom permissions**, and much more.
Where to go from here:
----------------------* Visit [flox.cc](http://www.flox.cc) for more information about Flox.
* Register and download the pre-compiled SDK to get started quickly.