It seems to me that Apple was a little in a hurry to implement GameCenter. Maybe I'm missing something.
If you create a game in which you want to offer in-app purchases (say you want to sell additional cards or add-ons), is there any way to match players who use the same cards (plural) using GKMatchRequest? those. whose in-app purchases overlap but are not accurate.
Or maybe you want to sell cars in a racing game. How can you match players who share some of their cars, not all of them necessarily? I think you cannot, because the playerGroup property in GKMatchRequest is compared only if users belong to the same group.
So, if one user buys card A and card B, and another user buys card B and card C, there is no way to match them, although they can play on card B. at the same time. Of course, you can implement your interface so that users can point to what card do they want to play. But there are other scenarios when the in-app purchase cannot be a question / or question, but can be combined into a game (for example, if you can buy different types of soldiers in battle, and then play with players who share some of their soldiers types. .. in the game itself, you could implement the logic to exclude those types that players do not share).
Can anyone think of a solution that works?
, , . , , , B, C E. , , . , 1, B 2, E. , , .
, , , . - ( - ), "", . , , .
, , , , , : ", . , ? . .
P.S. , , , Apple *** . Game Center - , , . , , .
, , , .
In-app Game Center ( ).
, -, Game Center. iOS iTunes, , . iTunes , iTunes ( "" ), iTunes. ! , , Game Center, ? , . Game Center iTunes, ? exmaple, user1 Game Center , , iTunes . 1 Game Center log2 Game Center, iTunes, , , 2 -, 1? , 2 iTunes, 1?
, , Game Center, ? , Game Center , , , ?
" " > "" > " ", , " , , , ". , , .
:
, 4, , Apple Game Center . , , OpenGLES: , --, - uber-cool, Unreal Engine Epic Citadel ( ).
Source: https://habr.com/ru/post/1768639/More articles:How to add a collection, for example. dynamic array as a property of an asp.net user control? - .netTooltip for download - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1768636/jquery-animation-glitch-functions-fire-in-wrong-order-when-mousing-across-to-quickly&usg=ALkJrhgLnh2DhYA5JiiPM8rOip6I1cy1EAWhat is the best way to set up a hierarchy in SQL Server 2005? - sql-server-2005in sh script, get pid of background process - linuxAdd a view to the XML format programmatically and make its z-image below the existing view - androidC: sprintf inside printf as first argument - chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1768642/any-alternatives-to-key-word-or-in-an-sql-statement&usg=ALkJrhgoBQ-7qWZx-CR9LsTwnkxSSniJjgPostgres Injection Tools - securityJQuery DIV Number - javascriptAll Articles