package flixel.addons.api
FlxGameJolt | Similar to FlxKongregate, this allows access to the GameJolt API. Based loosely on the AS3 version by SumYungGai with many changes. * * @see http://gamejolt.com/community/forums/topics/as3-trophy-api/305/ * @see http://gamejolt.com/api/doc/game/ * @author SumYungGai * @author Steve Richey (STVR) * * Usage: * Note: Do NOT store you private key as an unobfuscated string! One method is to save it as a text file called "myKey.privatekey" and add "*.privatekey" to your ignore list for version control (.gitignore for git, global-ignores in your config file for svn, .hgignore for Mercurial). Then: * Below your import statements, add @:file("myKey.privatekey") class MyKey extends ByteArray { } to embed that file's data as a ByteArray. * If your game is embedded as Flash on GameJolt's site, or run via Quick Play, you do not need to get the user name and token; this will be done automatically. * Otherwise, you will need to retrieve the user name and token (possibly via an input box prompt). * Then, verify this data via the following method: |
FlxKongregate | Allows for easy access to the Kongregate API * * Todo: Add in the functions for Chat Integration - you can still use them via the FlxKongregate.api object. * * @link http://www.photonstorm.com * @author Richard Davey / Photon Storm |