เริ่มต้นใช้งานเกม Android
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
โดยปกติแล้ว คุณจะเริ่มพัฒนาเกมในเครื่องมือสร้างเกม เช่น Unity, Unreal, Defold หรือ Godot ซึ่งอาจเป็นที่ที่คุณออกแบบภาพด้วย จากนั้นคุณก็ใช้เครื่องมือของ Android เพื่อพัฒนา เพิ่มประสิทธิภาพ และเผยแพร่เกม
พัฒนา
หากต้องการพัฒนาเกม Android คุณต้องใช้ Android Game Development Kit (AGDK) ร่วมกับเกมเอนจิน AGDK ประกอบด้วยเครื่องมือและไลบรารีหลักสำหรับการพัฒนาเกม Android ซึ่งรวมถึงการผสานรวมเกม C/C++, การปรับแต่งประสิทธิภาพ, เสียงประสิทธิภาพสูง และฟีเจอร์สำหรับการใช้หรือปรับแต่งเครื่องมือสร้างเกม
เครื่องมือสร้างเกมบางรุ่นผสานรวมคอมโพเนนต์ AGDK แล้ว คุณจึงสร้างเกม Android ได้โดยไม่ต้องแก้ไขเครื่องมือสร้างเกม นอกจากนี้ คุณยังใช้ AGDK เพื่อพัฒนาหรือปรับแต่งเครื่องมือสร้างเกมด้วยตนเองได้ด้วย
คุณสามารถใช้ Android Game Development Extension (AGDE) ซึ่งเป็นส่วนขยาย Visual Studio ที่คุณสามารถใช้พัฒนาเกมใน Visual Studio ซึ่งมี Android เป็นแพลตฟอร์มเป้าหมาย
คุณสามารถใช้บริการเกมของ Google Play เพื่อเพิ่มฟีเจอร์โซเชียลลงในเกม ดูสถิติการเล่นเกม และให้บริการเล่นเกมข้ามแพลตฟอร์มในอุปกรณ์ต่างๆ คุณสามารถตั้งค่าและจัดการบริการเกมของ Play ใน Google Play Console จากนั้นเพิ่มฟีเจอร์โดยใช้ Play Games Services API สำหรับ Android, C และ Unity
คุณสามารถใช้ Google Play Games สำหรับ PC ซึ่งเป็นแพลตฟอร์มที่ให้บริการเกม Android บน PC โดยใช้การจําลองประสิทธิภาพสูงที่เล่นได้บนอุปกรณ์ Android และ ChromeOS จากฐานโค้ดเดียว
คุณสามารถใช้ Android NDK เพื่อพัฒนาแอป Android ในโค้ดแบบเนทีฟโดยใช้ C หรือ C++ ซึ่งจะช่วยเพิ่มประสิทธิภาพของเกมด้วยการให้สิทธิ์เข้าถึงฮาร์ดแวร์ของอุปกรณ์โดยตรงมากขึ้น นอกจากนี้ คุณยังใช้คลัง C และ C++ ซ้ำ รวมถึงแชร์โค้ดเกมในแพลตฟอร์มต่างๆ ได้ด้วย สําหรับแอปบางประเภท ตัวเลือกนี้จะช่วยให้คุณนําไลบรารีโค้ดที่เขียนด้วยภาษาเหล่านั้นมาใช้ซ้ำได้
ไปที่ "พัฒนา"
เพิ่มประสิทธิภาพ
คุณสามารถเพิ่มประสิทธิภาพเกมให้เหมาะกับลักษณะที่ต้องการ เช่น อายุการใช้งานแบตเตอรี่หรือประสิทธิภาพที่ดีขึ้น เครื่องมือเพิ่มประสิทธิภาพมีดังนี้
ไปที่ Optimize
เผยแพร่
คุณใช้ Google Play เพื่อเพิ่มบริการและเผยแพร่เกม Android
เล่นขณะดาวน์โหลดช่วยให้ผู้เล่นเริ่มเล่นเกมได้อย่างรวดเร็วหลังจากดาวน์โหลดข้อมูลเพียงเล็กน้อย ขณะที่ระบบดึงข้อมูลชิ้นงานเกมที่เหลือในเบื้องหลัง
ไปที่ "เผยแพร่"
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# Get started with Android games\n\nTypically, you start developing your game in a game engine, such as Unity,\nUnreal, Defold, or Godot. That's likely to be where you do your visual design,\nas well. Then you work in Android tools to develop, optimize, and distribute\nyour game.\n\nDevelop\n-------\n\nTo develop Android games, you use the\n[Android Game Development Kit (AGDK)](/games/agdk) in combination\nwith your game engine. The AGDK comprises core Android game development tools\nand libraries. It includes C/C++ game integration, performance tuning,\nhigh-performance audio, and features for using or customizing game engines.\n\nSome game engines have integrated AGDK components, so you can build Android\ngames without modifying the game engine. You can also use AGDK to develop or\ncustomize a game engine yourself.\n\nYou can use the [Android Game Development Extension (AGDE)](/games/agde), a\nVisual Studio extension you can use to develop games in Visual Studio that\ninclude Android as a target platform.\n\nYou can use [Google Play Games services](/games/pgs/overview) to add social\nfeatures to your game, view\ngameplay stats, and provide cross-platform gameplay across multiple devices. You\ncan set up and manage Play Games Services in the Google Play Console, and then\nadd features using the Play Games Services APIs for Android, C, and Unity.\n\nYou can use [Google Play Games for PC](/games/playgames/overview), a platform\nthat brings your Android game to PCs\nusing high-performance emulation with Android and ChromeOS cross-device play\nfrom a single codebase.\n\nYou can use the [Android NDK](/ndk) to develop an Android app in\nnative code using C or C++. It can increase the performance of your game by\nproviding it with more direct access to device hardware. It also lets you\nreuse C and C++ libraries, and share game code across multiple platforms. For\ncertain types of apps, this can help you reuse code libraries written in those\nlanguages.\n\n[Go to Develop](/games/develop/overview)\n\nOptimize\n--------\n\nYou can optimize your games for the characteristics you want, such as battery\nlife or improved performance. Optimization tools include the following:\n\n- [Android GPU Inspector (AGI)](/agi), an advanced\n graphics and system profiling tool that provides tracing and\n analysis of individual frames.\n\n- [Android Performance Tuner (APT)](/games/sdk/performance-tuner), a tool you\n can use to measure and optimize frame rates, graphical fidelity, loading time\n and loading abandonment across many Android devices at scale.\n\n- [Android Dynamic Performance Framework (ADPF)](/games/optimize/adpf), a set of\n APIs you can use to optimize\n game performance at a sustainable level that doesn't overheat devices.\n\n[Go to Optimize](/games/optimize/overview)\n\nPublish\n-------\n\nYou use [Google Play](/games/distribute) to add services to and distribute\nAndroid games.\n\nWith [Play as you Download](/games/distribute/play-as-you-download), you can\nallow your players to get into gameplay quickly after a\nsmall download while remaining game assets are fetched in the background.\n\n[Go to Publish](/games/distribute/overview)"]]