question

Martin Mokan avatar image
Martin Mokan asked

Importing PlayFab in PlayCanvas

Hello is anybody here who tried importing PlayFab services into PlayCanvas game engine? uses javascript, importing for unity seem to be prety easy, although there are not JS tutorials and especially for this game engine. thank you

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

You can find the PlayFab JavaScript SDK and the corresponding tutorial here -- https://docs.microsoft.com/en-us/gaming/playfab/sdks/javascript/quickstart. This generic PlayFab JS SDK applies to PlayCanvas.

You can import PlayFab Js SDK to your project by several ways. To load the SDK directly from the PlayFab CDN, you can add this HTML file to your project. If you want to use the more fixed SDK version, you can download the PlayFab JavaScript SDK manually, then refer to the PlayCanvas doc -- https://developer.playcanvas.com/en/user-manual/assets/importing/ to upload the scripts.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.