קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בדף הזה מוסבר איך להגדיר את Google Play Games Services ואז להוסיף תכונות למשחק ל-Android. המשימות כוללות הגדרת השירות ב-Google Play Console והוספת תכונות למשחק, כמו כניסה לחשבון והישגים.
כדי לעבור ישירות למדריכים של כל שפת תכנות, אפשר להשתמש בקישורים הבאים:
משימות ההגדרה של Play Games Services הן נפוצות במשחקים ב-C וב-Java. עם זאת, המשימות להגדרת פרויקט המשחק ולהוספת תכונות של שירותי Play Games הן ספציפיות לשפת התכנות הראשית שבה נעשה שימוש בפרויקט המשחק. יש הבדל נוסף במשימות לתחילת העבודה במשחקים של Unity, כי הן משתמשות בפלאגין ל-Play Games Services במקום להשתמש בקבוצה נוספת של ממשקי API ל-C#.
אלה השלבים הבסיסיים להגדרת Play Games Services במשחק ולהוספת תכונות:
לפני שמוסיפים תכונות אחרות של Play Games Services, צריך להגדיר את Play Games Services בפרויקט המשחק ולשלב את שירות הכניסה. פרטים נוספים זמינים במדריכים הבאים. המשימות האלה ספציפיות לשפת התכנות הראשית שבה נעשה שימוש בפרויקט המשחק:
אחרי שמשלימים את השילוב של הכניסה לחשבון, אפשר להוסיף למשחק תכונות נוספות של שירותי Play Games. התהליך כולל הגדרה של התכונה ב-Play Console ואז שילוב של ה-API בפרויקט המשחק.
פרטים נוספים זמינים במדריכים הבאים:
אחרי שמוסיפים תכונות של Play Games Services לפרויקט המשחק, צריך לבדוק את כל העדכונים שמבצעים בפרויקט של Play Games Services באמצעות חשבונות הבדיקה שהגדרתם כשהגדרתם את Play Games Services. כשתהיו מרוצים מהשינויים, תוכלו להשתמש ב-Play Console כדי לפרסם אותם.
הפעולה הזו לא כוללת פרסום של המשחק, אלא רק עדכון של הפרויקט ושל השירותים של Play Games Services שמתארחים ב-Google.
השלב הבא
אחרי שמגדירים את Play Games Services ומוסיפים תכונות למשחק, אפשר להשתמש בממשקי ה-API ל-REST של Play Games Services למשימות פרסום וניהול.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# Get started with Google Play Games Services\n\nThis page outlines how to set up [Google Play Games Services](/games/pgs/overview) and then\nadd features to an Android game. The tasks include setting up the service in\nGoogle Play Console and adding features to your game, such as sign-in and\nachievements.\n\nTo go straight to the guides for each programming language, use these links:\n\n[C and CPP](/games/pgs/cpp/cpp-start)\n[Unity](/games/pgs/unity/unity-start)\n[Java](/games/pgs/android/android-start)\n\nThe Play Games Services setup tasks are common for C and Java games. However,\nthe tasks that set up your game project and add Play Games Services features\nare specific to the main programming language used in the game project. The get\nstarted tasks for Unity games have additional difference because they use a\n[plugin](/games/pgs/unity/overview) for Play Games Services instead of having\nan additional set of C# APIs.\n\nHere are the basic steps to set up Play Games Services for a game and add\nfeatures:\n\n1. [Set up](#setup-pgs) Play Games Services.\n\n2. [Set up your game project](#setup-project) and integrate the Sign-in\n service.\n\n3. Set up and [add features](#add-features) to your game project.\n\n4. [Test and Publish](#test-publish) any changes you make to your\n Play Games Services features.\n\nBefore you start\n----------------\n\nYou must have a Google Play Developer account set up in\nPlay Console. For more information, see the\n[Register for a Google Play Developer account](https://support.google.com/googleplay/android-developer/answer/6112435).\n\nSet up Play Games Services\n--------------------------\n\n- To set up Play Games Services in Google Play Console, see the\n [set up](/games/pgs/console/setup) guide.\n\n- For Unity games: If you are developing your game in Unity, after you\n complete these, you must perform additional steps to configure the\n [Google Play Games plugin for Unity](/games/pgs/unity/overview). See the\n [plugin set up](/games/pgs/unity/unity-start) guide for details.\n\nSet up your game project\n------------------------\n\nYou must set up a Play Games Services in your game project and integrate the\n[Sign-in service](/games/pgs/signin) before adding other\nPlay Games Services features. See the following guides for details. These tasks\nare specific to the main programming language used by your game project:\n\n- [C and C++ games](/games/pgs/cpp/cpp-start)\n\n- [Unity games](/games/pgs/unity/unity-start)\n\n- [Java games](/games/pgs/android/android-signin)\n\nAdd additional features\n-----------------------\n\nAfter you integrate sign-in, you can add additional Play Games Services\nfeatures to your game. This involves setting up the feature in\nPlay Console and then integrating the API in your game project.\nSee the following guides for details:\n\n- [Achievements](/games/pgs/achievements)\n\n- [Leaderboards](/games/pgs/leaderboards)\n\n- [Events](/games/pgs/events)\n\n- [Friends](/games/pgs/friends)\n\n- [Saved games](/games/pgs/savedgames)\n\nTest and publish Play Games Services updates\n--------------------------------------------\n\nAfter you add Play Games Services features to your game project, you should\ntest any updates you make to your Play Games Services project using the\n[test accounts](/games/pgs/console/setup#start) that you setup when you\nconfigure Play Games Services. When you're satisfied with the changes, you can\nuse Play Console to [publish](/games/pgs/console/publish) them.\nThis does not involve publishing your game, and only updates the\nPlay Games Services project and services hosted by Google.\n\nWhat's next\n-----------\n\nAfter you set up Play Games Services and add features to your game, you can use\nthe Play Games Services REST APIs for\n[publishing](/games/pgs/publishing/publishing) and\n[management](/games/pgs/managment/managment) tasks."]]