Idea

miloszmoczkowski avatar image
miloszmoczkowski suggested

Playfab actions for PlayMaker

I'm not sure if it's a good place to post it. I'm implementing Playfab API as actions for Playfab. I have implemented them as part of Decompression project. You can try the game on Play Store or AppStore . So far the available actions are:

  • ConfirmPurchaseAction.cs
  • GetCatalogItemsAction.cs
  • GetPhotonAuthenticationTokenAction.cs
  • GetTitleDataAction.cs
  • GetUserDataAction.cs
  • GetUserInventoryAction.cs
  • LoginWithAndroidDeviceAction.cs
  • LoginWithDeviceAction.cs
  • LoginWithGameCenterAction.cs
  • LoginWithGoogleAccountAction.cs
  • LoginWithIOSDeviceIDAction.cs
  • LoginWithSocialAccountAction.cs
  • RedeemCouponAction.cs
  • RestoreIOSPurchasesAction.cs
  • StartPurchaseAction.cs
  • UpdateUserDataAction.cs
  • ValidateGooglePlayPurchaseAction.cs
  • ValidateIOSReceiptAction.cs

And I'm constantly adding others!

Actions are open-source and available on Github: https://github.com/mmoczkowski/PlayMaker-Playfab

apis
10 |1200

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

4 Comments

·
brendan avatar image
brendan commented

Actually, if you're working on a PlayMaker Add-on, I'd recommend the General forum, but we'll also start a thread so that you can talk with our tools team about the work you've been doing. Thanks!

1 comment
10 |1200

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

miloszmoczkowski avatar image miloszmoczkowski commented ·

Thanks a lot Brendan. I'll happy to implement more Playfab actions. Ping me when you create the tools team thread :)

0 Likes 0 ·
brendan avatar image
brendan commented

Also, it's worth noting that there is one pre-existing product in the Unity Marketplace for PlayMaker: https://www.assetstore.unity3d.com/en/#!/content/65311.

10 |1200

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

1807605288 avatar image
1807605288 commented

It sounds like you are crafting each of these PlayMaker actions by hand, for each API, one at a time.

Once you have an initial format for a couple types of calls, it's fairly straightforward to build the whole API using our SdkGenerator.

https://github.com/PlayFab/SDKGenerator

I would suggest you check out our example template first:

https://github.com/PlayFab/SDKGenerator/tree/master/targets/newTarget

which is activated by this:

https://github.com/PlayFab/SDKGenerator/blob/master/SDKBuildScripts/NewTarget.bat

Once you're comfortable with the simplest steps of the SdkGenerator, which is copy/pasting files, and writing template files, you can look at one of our other, complete SDKs for more examples:

https://github.com/PlayFab/SDKGenerator/tree/master/targets/javascript

JavaScriptSdk is one of our simplest SDKs, and it should be a good stepping stone after "newtarget" if you need more help.

10 |1200

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

hello-1 avatar image
hello-1 commented

Hello Playfab Team and members,

I have arrived at the implementing stage for cloud saving and player analytics and thus I am looking at PlayFab as a solution for this. The project is mostly built on Playmaker and is geared for Mobile publication.

This page is the top 5 results in Google for "playmaker prefab actions".I tried importing the above mentioned GitHub scripts but they are giving an error in Unity 2019.3 and being a 2016 thread I do not expect it to be supported, especially by an indie dev for so long.

The paid alternative on the asset store has not been updated since fall 2019 with reviews of broken scripts plaguing the Store.

I would have tried the SDK Generator mentioned but I do not have the coding knowledge to do so.

So, I would like to humbly request the dev team to officially release at least an essentials pack of Playmaker scripts of PlayFab. There are still a lot of users who are developing games using PlayMaker.
That combined with Unity gives a substantial edge in game dev for faster prototyping and eventually publishing the titles.

Kind Regards,

2 comments
10 |1200

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

brendan avatar image brendan commented ·

To be clear, no one at PlayFab was involved in creating (or maintaining) either of those, so we're unable to update or support them.

Your new Idea post was the best thing to do. We prioritize in part based on feedback. Though I will call out that we've had very few requests concerning Playmaker in all the years we've been running the service, so I tend to doubt we're going to be able to get this into the schedule anytime soon. Just trying to set expectations appropriately.

1 Like 1 ·
hello-1 avatar image hello-1 commented ·

Hello Brenden,

I appreciate the reply.

Most Playfab users probably have a programming background or have a dedicated member from a networking background working in the team implementing these features in the game.

There are also those who cannot afford a programmer or for other reasons are trying to get the game developed with visual scripting plugins like PlayMaker or Bolt from Unity Asset Store.

Please do consider adding prioritizing this feature as it would make PlayFab more accessible to the game development community.



Till then, I am currently trying the GitHub samples maintained by the PlayFab dev team and in it, there is a "PlayFabSignIn" sample scene for Unity,

can I this sample be used for logins using for Mobile platforms?


Thank you for your time,

Kind Regards

1 Like 1 ·

Write a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.