Using PlayFab Service in Construct 2

3

Index

Attached Files

The following files have been attached to this tutorial:

.capx

c2-playfab-example.capx

Download now 179.69 KB

Stats

5,444 visits, 10,262 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 19 May, 2018. Last updated 19 Feb, 2019

Introduction

Hi fellow devs! Welcome to my tutorial! In this tutorial we will learn how to connect our Construct 2 project to PlayFab services.

PlayFab is similar with GameSparks. You can compare their feature on other site. In this tutorial, i will only explain how to use PlayFab Service in Construct 2 or Construct 3 project.

As you know, PlayFab doesn't have any official plugin for Construct 2/3, so in this tutorial I will teach you how to connect your construct 2 project to PlayFab service without 3rd party plugin.

You can learn more about PlayFab from their official site..

As a side note :

This tutorial only cover the core function of PlayFab, if you're interested about how to implement PlayFab Leaderboard, check out this template.

Step 1 - Register, Create your game, get your Title ID

First of all make sure you already have a PlayFab dev account. If you don't have one, you can register at this link.

You will be asked to create a new Studio, give it a name, and then create a new Title/Game.

Fill all the required fields. Then, click continue.

Now, look at your newly created Title, and then copy the Title ID.

Step 2 - Download PlayFab SDK

Head over to PlayFab SDK Download, click the Download PlayFab SDK button.

Extract the downloaded file, then Find PlayFabClientApi.js in folder \JavaScriptSDK-versioned\PlayFabSdk\src\PlayFab[/b]

Rename it to playfabclientapi.js (lowercase) so the engine/browser will find the file easily.

  • 3 Comments

  • Order by
Want to leave a comment? Login or Register an account!