تشغيل الرسومات بدقة 2K باستخدام ميزة "عرض المواد في Play"
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
خلفية
Cat Daddy Games هي استوديو
2K مملوك بالكامل ومقر
في كيركلاند بواشنطن. كانت الفرق التي أنشأت سلسلة NBA 2K Mobile وNBA SuperCard
وWWE SuperCard
تبحث عن حل لتحسين الجودة الإجمالية
لألعابها للمستخدمين، لا سيما من خلال عرض مواد عرض عالية الجودة على
الأجهزة التي تتوافق معهم.
استخدمت الشركة ميزة "عرض المواد في Play" التي توفّر طريقة بسيطة
وأكثر مرونة لإنشاء حِزم APK محسَّنة وعرضها وفقًا لإعدادات جهاز كل مستخدم، كما استخدمت ميزة "استهداف تنسيق ضغط القوام" لتقديم مواد عرض فنية أفضل لأجهزة محدّدة وتقليل عمليات تنزيل مواد العرض.
الإجراءات التي اتخذتها الشركة
في البداية، انتقلت Cat Daddy من استخدام نظام إرسال بيانات
ملف توسيع APK إلى تنسيق Android App Bundle (AAB) الجديد وعرض المواد في Play (PAD). دمج الاستوديو
PAD في نظام الإنشاء المخصص المستند إلى Gradle، مع إجراء تغييرات بسيطة
في الرمز الجانبي للعميل، واستبدل بسلاسة عملية التنزيل القديمة بعملية التنزيل القديمة
بتنزيل "المتابعة السريعة" PAD.
تم ربط نظام ملف توسيع APK الذي تم إيقافه برقم إصدار التطبيق،
ما أدى إلى إضافة تعقيدات إضافية أثناء التطوير والاختبار. ينشئ نظام AAB الجديد إصدارًا مستقلاً ومستقلاً، والذي اختبرته Cat Daddy بسهولة باستخدام بوابة المشاركة الداخلية للتطبيقات. ولا يتطلب ذلك تحميل بيانات OBB الصادرة أو القلق بشأن إصدار التطبيق من إصدارات الاختبار المحلية.
تتمثل إحدى الميزات المفضلة لدى Cat Daddy في نظام PAD في القدرة على توفير
ملفات بيانات خاصة بتنسيق ضغط Texture pression Format.
يتم تنفيذ ذلك بالكامل من خلال Google Play بدون الحاجة إلى إجراء أي تغييرات على البرنامج. تكتشف Google إمكانات الجهاز وتقدم
البيانات المناسبة. كانت Cat Daddy تحتاج فقط إلى إضافة ملف البيانات الإضافي إلى
بنائها، وقد نفذت Google الباقي. لا يتم احتساب تنسيقات البيانات هذه ضمن أي
من قيود حجم الملف.
قدمت Cat Daddy مجموعة إضافية من ملفات البيانات للأجهزة التي تدعم
ضغط بنية ASTC. في السابق، كان الفريق يستخدم ASTC لأعمال فنية عالية الجودة على جميع الأجهزة للحفاظ على الجودة والضغط، وفك ضغط الزخرفة على وحدة المعالجة المركزية للأجهزة التي لا تدعم ASTC.
استخدم الاستوديو ETC1 لرسومات واجهة المستخدم الرسومية.
النتائج
من خلال تنفيذ PAD، تتمكّن Cat Daddy من إدارة الأصول
بشكل مستقل عن الإصدار. تحتوي ألعاب الاستوديو على البنية الكاملة
في حزمة واحدة، بدلاً من فصل مواد العرض. ينتج عن ذلك بيئة إنشاء واختبار
أكثر مرونة ومرونة. باستخدام بيانات محددة لضغط الهيئة، توفر هذه الأنظمة حزم بيانات تستخدم تنسيق ASTC لجميع الزخارف، بما في ذلك واجهة المستخدم التصويرية، والتي ينتج عنها رسومات واجهة المستخدم التصويرية عالية الجودة لتلك الأجهزة التي تتوافق مع ASTC.
وبالنسبة إلى لاعبي ألعاب Cat Daddy، حرصوا على تقليص حجم مواد العرض بشكل كبير، ما أدّى إلى تحسين سرعة التنزيل، ما ساهم في توفير تجربة لعب أكثر سلاسة وسلاسة.
البدء
ابدأ اليوم بالتعرّف على مزيد من المعلومات عن
عرض مواد العرض في Play
واستهداف تنسيق ضغط القوام.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2021-10-20 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2021-10-20 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# 2K delivers higher quality graphics with Play Asset Delivery\n\nBackground\n----------\n\nCat Daddy Games is a wholly-owned\n[2K](https://play.google.com/store/apps/dev?id=6681606924556273560) studio based\nin Kirkland, Washington. The teams behind the NBA 2K Mobile, NBA SuperCard, and\nWWE SuperCard series were looking for a solution to improve the overall quality\nof their games for users, specifically by serving higher quality assets on\ndevices that support them.\n\nThey implemented Play Asset Delivery, which offered a simple\nand more flexible way to generate and serve optimized APKs for each user's\ndevice configuration, and used Texture Compression Format Targeting to deliver\nbetter art assets for specific devices and reduce asset downloads.\n\nWhat they did\n-------------\n\nTo start, Cat Daddy switched over from using the APK Expansion File data\ndelivery system to the new [Android App Bundle (AAB)](/guide/app-bundle) and\n[Play Asset Delivery (PAD)](/guide/playcore/asset-deliverysystem). The studio\nintegrated PAD into its custom Gradle-based build system, and with minimal\nclient side code changes, smoothly replaced their legacy download with a PAD\nFast Follow download.\n\nThe deprecated APK Expansion File system was tied to the app's version number,\nwhich added extra complications while developing and testing. The new AAB system\ncreates a version independent, self-contained bundle, which Cat Daddy easily\ntested using the Internal App Sharing portal. This does not require uploading\nthe versioned OBB data or being concerned about the app version of local test\nbuilds.\n\nOne of Cat Daddy's favorite features in the PAD system is the ability to provide\n[Texture Compression Format specific data files](/guide/playcore/asset-delivery/texture-compression).\nThis is implemented entirely on the Google Play side without requiring any\nclient changes. Google detects the capabilities of the device and serves up the\nappropriate data. Cat Daddy only needed to add the additional data file to its\nbuild, and Google did the rest. These data formats do not count against any of\nthe file size limitations.\n\nCat Daddy provided an additional set of data files for devices that support\nASTC texture compression. Previously, the team had been using ASTC for\nhigh-quality artwork on all devices to maintain quality and compression,\ndecompressing the texture on the CPU for devices that do not support ASTC.\nThe studio used ETC1 for the GUI graphics.\n\nResults\n-------\n\nBy implementing PAD, Cat Daddy is able to have version-independent asset\nmanagement. The studio's games have the entire build contained in a single\nbundle, rather than separating out the assets. This results in a much cleaner\nand more flexible build and test environment. By using Texture Compression\nFormat specific data, they provide data packs that use ASTC format for all\ntextures, including the GUI, which results in higher quality GUI graphics for\nthose devices that support ASTC.\n\nFor the players of Cat Daddy's games, they maintained aggressive asset size\nminimization that resulted in download speed optimizations, providing a more\nseamless and smoother gameplay experience.\n\nGet started\n-----------\n\nGet started today by learning more about\n[Play Asset Delivery](https://developer.android.com/guide/app-bundle/asset-delivery)\nand [Texture Compression Format Targeting](https://developer.android.com/guide/playcore/asset-delivery/texture-compression)."]]