SG Android Devs Meetup July 2013

25
HI OUYA SG ANDROID DEVELOPERS MEET-UP 24 JULY 2013 BY: WU HUIJIE ( [email protected] )

Transcript of SG Android Devs Meetup July 2013

Page 1: SG Android Devs Meetup July 2013

HI OUYA

SG ANDROID DEVELOPERS MEET-UP

24 JULY 2013

BY: WU HUIJIE ([email protected])

Page 2: SG Android Devs Meetup July 2013

AT A GLANCE• Inside The OUYA

• Noteworthy Games

• Useful Apps

• Compatibility With Other Controllers

• Setting up XBMC

• Developing Games For OUYA

• Useful Links

• Questions

Page 3: SG Android Devs Meetup July 2013

INSIDE THE OUYA

Page 4: SG Android Devs Meetup July 2013

INSIDE THE OUYAOperating System Android 4.1 Jelly Bean

System-on-chip Nvidia Tegra 3 (T33)

CPU Quad-core 1.7Ghz ARM Cortex-A9 MPCore (ARMv7-A architecture)

GPU Nvidia GeForce ULP @ 520Mhz

RAM 1GB DDR3-1600 SDRAM

USB ports 1 USB 2.0, 1 microUSB

Video Support HDMI 1.4, 1080p or 720p. Stereoscopic 3D support

Audio Support HDMI (ARC), 5.1 or 2.0 channel

Internal Storage 8GB eMMC Flash Memory

Source: http://en.wikipedia.org/wiki/Ouya http://www.pcmag.com/article2/0,2817,2418726,00.asp http://www.ifixit.com

Page 5: SG Android Devs Meetup July 2013

INSIDE THE OUYANetworking 10/100 Ethernet, 802.11 b/g/n, BTLE 4.0

Power Consumption

4.5W (gaming), 1W (standby)

Power source 12V DC via Coaxial power connector

Size 75 x 75 x 82mm

Weight 300g

Price USD99

Source: http://en.wikipedia.org/wiki/Ouya http://www.pcmag.com/article2/0,2817,2418726,00.asp http://www.ifixit.com

Page 7: SG Android Devs Meetup July 2013

NOTEWORTHY GAMES• TowerFall

• ShadowGun

• BombSquad

• Final Fantasy III

• Ittle Dew

• Knightmare Tower

• Bombball

• … and many more:http://www.ouya.tv/games/?show=popular

Page 8: SG Android Devs Meetup July 2013

USEFUL APPS• File Expert

• https://play.google.com/store/apps/details?id=xcxin.filexpert&hl=en

• http://www.xageek.com/ • Blue Board

• Available in OUYA Discover store• https://play.google.com/store/apps/details?id=

com.alienmantech.blue_board_tablet • XBMC

• http://xbmc.org/

Page 9: SG Android Devs Meetup July 2013

COMPATIBILITY WITH OTHER CONTROLLERS• PS3 Wireless Dual-shock controller (best

compatibility)

• Need USB to micro USB cable for setup• Xbox360 controller (semi-working, need USB

receiver)

• Logitech F310 Gamepad

• Persistently taking over P1 slot• Logitech F710 Wireless Gamepad

• Persistently taking over P1 slot

Source: http://ouyaforum.com/showthread.php?3673-LIST-Controllers-That-Work-With-OUYA

Page 10: SG Android Devs Meetup July 2013

SETTING UP XBMC

Page 11: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA• Supported Game Engines

• Adobe AIR• Corona• Game Maker• MonoGame• Unity

Page 12: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYAHardware (recommended setup)

• 720/1080p HDTV (recommended)

• LCD monitor with 16:9/16:10 aspect ratio resolution

• HDMI input preferred (min. DVI input)• Built-in audio preferred

• Bluetooth speakers (if using monitor without audio output)

• HDMI cable

• HDMI to DVI converter (if monitor only has DVI input)

• USB to micro USB cable(for connecting development machine to OUYA set)

• Universal power plug adapter(OUYA is shipped with North American power adapter with 100-240V input)

Page 13: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA

Bluetooth speaker

LCD monitor

OUYA console +controller

Page 14: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA

Micro USB

DC Power

HDMI

Page 15: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA

HDMI

HDMI to DVI converter

Page 16: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA

Hardware (minimum setup)

• Android tablet

• Must be running at least Android 4.1• Screen resolution should be at least 1280 x 720px

(720p) or 1920 x 1080px (1080p)• OUYA/PS3/Xbox360 wireless controller

• Needed to be loaded with OUYA launcher and framework APK files

• More details here:https://devs.ouya.tv/developers/docs/setup

Page 17: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA

Page 18: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYAGame engine/SDK Unity Adobe AIR

IDE Unity/Unity Pro + MonoDevelop

FlashDevelopFDTAdobe Flash BuilderIntellij

Language UnityScriptC#Boo

Actionscript

Hardware accelerated 2D/3D graphics

Yes Yes

Pricing FreeSubscription-basedLicense-based

Free for SDK, pricing varies for each IDE

Page 19: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYAGame engine/SDK Unity Adobe AIR

Integration with OUYA Development Kit (ODK)

Official OUYA Unity plugin:

https://github.com/ouya/ouya-unity-plugin

Adobe Native Extensions (ANE)

Gaslightgames ANEs for OUYA:https://github.com/gaslightgames/AIROUYAController

https://github.com/gaslightgames/AIROUYAIAP

GameInput classes support for console controllers (Adobe AIR 3.7, Flash Player 3.7 onwards)

Page 20: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA (WITH UNITY)Getting started

1. Register a free OUYA developer account here:https://devs.ouya.tv/

2. Read docs here: https://devs.ouya.tv/developers/docs/unity

3. Quick start guide here:http://www.thinicegames.com/blog/2013/07/from-unity-to-ouya-quick-setup-guide/

4. Get Android SDK (rev. 21)

1. There’s an issue with rev. 22, so beware!5. Download ODK here:

https://devs.ouya.tv/developers/odk

6. Download Android NDK

1. If using ver. r8d, some modifications will be required7. Get latest JDK

Page 21: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA (WITH UNITY)Getting started

8. Setup Android SDK as instructed

9. Place ODK files in recommended location

10. Download OUYA Unity plugin here:https://github.com/ouya/ouya-unity-plugin

11. Export OUYA core, starter kit and example Unity packages from plugin

12. Create a new Unity project

13. In Build Settings, switch platform to Android and make sure Texture Compression is set to “DXT (Tegra)”

14. Import Unity packages (Core first, starter kit then examples)

Page 22: SG Android Devs Meetup July 2013

DEVELOPING GAMESFOR OUYA (WITH UNITY)

Getting started

15.Open OUYA panel and update bundle IDs, JDK, Android SDK and NDK locations (make sure no grey fields!)

16.Return to OUYA tab and click the compile buttons

17.In the first Unity scene, drag a OUYAGameObject prefab into it and fill in your Developer ID (provided to you after OUYA developer account is created)

Page 24: SG Android Devs Meetup July 2013

USEFUL LINKS• Official OUYA website

• http://www.ouya.tv/ • Unofficial OUYA forums (tons of info and very up-to-

date)

• http://ouyaforum.com/forum.php • http://ouyaforum.com/showthread.php?3673-LIST-Cont

rollers-That-Work-With-OUYA

• List of OUYA games/apps

• http://www.ouya.tv/games/ • http://en.wikipedia.org/wiki/List_of_Ouya_software

• iFixit’s OUYA teardown page

• http://www.ifixit.com/Teardown/Ouya+Teardown/14224/1

Page 25: SG Android Devs Meetup July 2013

QUESTIONS?