Coder Social home page Coder Social logo

flox-as3's Introduction

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

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 for more information about Flox.
  • Register and download the pre-compiled SDK to get started quickly.

flox-as3's People

Contributors

primaryfeather avatar holgua avatar

Watchers

Lam Nguyen avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.