Coding Android TV games is easy as pie - th3starsite

Breaking

Home Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

الأربعاء، 19 نوفمبر 2014

Coding Android TV games is easy as pie



Posted by Alex Ames, Fun Propulsion Labs at Google*

We’re pleased to announce Pie Noon, a simple game created to demonstrate multi-player support on the Nexus Player, an Android TV device. Pie Noon is an open source, cross-platform game written in C++ which supports:



  • Up to 4 players using Bluetooth controllers.

  • Touch controls.

  • Google Play Games Services sign-in and leaderboards.

  • Other Android devices (you can play on your phone or tablet in single-player mode, or against human adversaries using Bluetooth controllers).


Pie Noon serves as a demonstration of how to use the SDL library in Android games as well as Google technologies like Flatbuffers, Mathfu, fplutil, and WebP.



  • Flatbuffers provides efficient serialization of the data loaded at run time for quick loading times. (Examples: schema files and loading compiled Flatbuffers)

  • Mathfu drives the rendering code, particle effects, scene layout, and more, allowing for efficient mathematical operations optimized with SIMD. (Example: particle system)

  • fplutil streamlines the build process for Android, making iteration faster and easier. Our Android build script makes use of it to easily compile and run on on Android devices.

  • WebP compresses image assets more efficiently than jpg or png file formats, allowing for smaller APK sizes.





You can download the game in the Play Store and the latest open source release from our GitHub page. We invite you to learn from the code to see how you can implement these libraries and utilities in your own Android games. Take advantage of our discussion list if you have any questions, and don’t forget to throw a few pies while you’re at it!



* Fun Propulsion Labs is a team within Google that's dedicated to advancing gaming on Android and other platforms.



ليست هناك تعليقات:

إرسال تعليق

Post Bottom Ad

Responsive Ads Here

Pages