I created a game in XOJO for Mac. It is ready and I am in the final stages of testing and making small adjustments. I would like to integrate it with Apple’s Game Center. Does anyone have an example of the Declares needed for me to do this integration?
This will be my first app to be uploaded to the Apple Store.
Another very specific and pertinent question:
Is there an environment similar to the Apple Store at Microsoft?
I’m not sure you can avoid paid plugins if you want to use the apple game center or the in app purchases…
you may end up in hundreds of declares … if it is even possible !
On a side note: Can you show the game made with Xojo (screenshot, screencast, …)?
It seems to me punishing that a game made with Xojo gets through the quality control for Game Center.
Well I’m afraid you’re going to be out of luck then. GameKit (the Apple framework you need for Game Center) is only documented for Swift which means creating declares is going to be tedious to impossible.
Huh, I tried that and Objective-C wasn’t available.
Keep in mind though… many of the Apple Frameworks which have a sign in or authorization method may not return their result on the main thread, which is a requirement for Xojo access.
If you are really tied to not using plugins you can attempt to use the classes I have in iOSKit for GameKit. In theory it should mostly map so you’ll have to extract them into a desktop project and see what all is broken. I would highly suggest you just buy the plugin though. It will save you a lot of headaches and Christian’s support is very good. But if you want to try to DIY you can start here If you are really tied to not using plugins you can attempt to use the classes I have in iOSKit for GameKit. In theory it should mostly map so you’ll have to extract them into a desktop project and see what all is broken (this stuff worked like 6 years ago but who knows what might be wrong now). I would highly suggest you just buy the plugin though. It will save you a lot of headaches and Christian’s support is very good. But if you want to try to DIY you can start here
You do whatever’s right for you, of course, but MBS doesn’t exactly “tie” you to their solution. You buy it once and it works forever or until some OS update breaks it - it’s not subscription-based, and you can update regularly or not, as you see fit. The vast majority of the MBS plugins, even going back many years, still work for the latest Xojo and Mac/Win. Most of the updates you see from @Christian_Schmitz are new features.