Giter Club home page Giter Club logo

actionscriptsdk's Introduction

ActionScriptSDK README

NOTICE: This repo is locked and deprecated. No additional updates will be made to this repo.

1. Overview:

ActionScript3 SDK for use in Adobe Flash and AIR.

2. Prerequisites:

To connect to the PlayFab service, your machine must be running TLS v1.2 or better.

3. Installation & Configuration Instructions:

The playfab API source code is located within:

{ActionScriptSDK-Location}/PfApiTest/com

To create a new project using PlayFab, copy the indicated com directory into the source directory for your project.

3b. Using the example project:

The PfApiTest example project can be entirely built and tested with free tools. These instructions assume Windows operating system.

  • Extract the ActionScript Sdk to your computer (referenced as {ActionScriptSDK-Location} within this document)
  • Navigate to: {ActionScriptSDK-Location}/PfApiTest
  • Open {ActionScriptSDK-Location}/PfApiTest/builtTests.bat in a text editor such as Notepad++ or FlashDevelop (Regular notepad may not load unix line endings properly)
  • Update the titleData path in your builtTests.bat file:
  • call adl PfApiTest.xml -- C:\depot\pf-main\tools\SDKBuildScripts\testTitleData.json
  • You will need to create a new testTitleData.json file, and change the above path to match your new file (see next section for details)
  • A very detailed description of how this example was created can be found here:
  • {ActionScriptSDK-Location}/PfApiTest/How to make this example documentation.txt
  • Most of these steps are already finished for you in this example, but you will want to follow or verify the installation steps.
  • Executing builtTests.bat should compile the example project, execute the project in the adl debugger, make a handful of API calls, and exit
  • The exit code for the example will be 0 for success, or 1000 + the number of failures
  • Detailed info about tests run and success/failure will be in {ActionScriptSDK-Location}/PfApiTest/testOutput.txt

4. testTitleData.json file required for example unit-test-project

This sdk includes an optional example project that is used by PlayFab to verify sdk features are fully functional. The testTitleData.json file provides your secret title information to the unit-test project, so it can execute tests in your own PlayFab title.

The format is as follows:

{
	"titleId": "your Game Title ID, found in the settings/credentials section of your dashboard on the website",
	"developerSecretKey": "your PlayFab API Secret Key, found in the settings/credentials section of your dashboard on the website - NEVER SHARE THIS KEY WITH PLAYERS",
	"titleCanUpdateSettings": "false",  // "true" or "false", based on your Allow Client to Post Player Statistics option, found in the settings/general section of your dashboard on the website
	"userName": "testUser", // Arbitrary username, you can change this to any valid username
	"userEmail": "[email protected]", // This email address will be bound to the username above
	"userPassword": "testPassword", // This must be the correct password for the testUser above (if that user does not exist yet, this will be the new password)
	"characterName": "testCharacter" // Arbitrary characterName, you can change this to any valid characterName
}

5. Troubleshooting:

For a complete list of available APIs, check out the online documentation.

Contact Us

We love to hear from our developer community! Do you have ideas on how we can make our products and services better?

Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services.

Forums, Support and Knowledge Base

6. Copyright and Licensing Information:

Apache License -- Version 2.0, January 2004 http://www.apache.org/licenses/

Full details available within the LICENSE file.

actionscriptsdk's People

Contributors

bvanous avatar hungwunfai avatar jeremy-playfab avatar pgilmorepf avatar playfabjenkinsbot avatar zac-playfab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.