Your SlideShare is downloading. ×
Going Mobile - Flash Gaming Summit 2012
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Going Mobile - Flash Gaming Summit 2012

871

Published on

Nate Beck's slides for Going Mobile at Flash Gaming Summit 2012

Nate Beck's slides for Going Mobile at Flash Gaming Summit 2012

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
871
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Going MobileBy Nate Beck
  • 2. ADL, PFI... WTF?ADL - AIR Debug Launcher - Using ADL, you can run an applicationwithout first packaging and installing it.ADT - AIR Developer Tool - ADT is a multi-purpose, command-linetool for developing AIR applications.PFI - Packager For iPhone - Completely replaced by ADT.iOS - The OS for iPads, iPod Touch and iPhones
  • 3. The Markets... that support Adobe Flash
  • 4. Membership Fee $99 / year $25 $99 / year ¹ $0 $0 Revenue Split 30% 30% 30% 30% 30% Overall Difficulty 5 1 3 2 111(easy) to 10 (hard) Number of Apps ~570,000 ~395,000 ~30,400 ~3,030 ~4,000 ¹ At the moment, first year is free Source - Apple App Store - http://148apps.biz/app-store-metrics/ Source - Android Market - http://www.appbrain.com/stats/
  • 5. Case Study – Word Wars
  • 6. Build Process APK Executable ADT IPA Assets BAR
  • 7. Application Descriptor Id Version Number Render Mode Auto Orientation Aspect Ratio Full Screen Onscreen Keyboard Behavior Icons Paths Device Profile Permissions iPhone Settings
  • 8. DEVICES SUCK
  • 9. Your finger is not transparent THIS NOT THIS
  • 10. Devices do not have roll over or roll out
  • 11. TouchEvents are different than MouseEvents flash.ui.Multitouchflash.ui.MultitouchInputMode
  • 12. Let’s not forget about gestures flash.events.TransformGestureEvent
  • 13. Use Enter Framenot Mouse Move
  • 14. Screen Density != Screen Resolution
  • 15. Screen Density != Screen Resolution 150 x 40 pixel button Desktop monitor Galaxy Tab Droid 2 iPhone 4 @100 dpi @160 dpi @240 dpi @320 dpi = 1.5” x 0.4” = 0.9” x 0.25” = 0.6” x 0.17” = 0.46” x 0.13” Same pixel count, different physical sizes (Minimum recommended size: 0.25” x 0.25”)
  • 16. Screen Density != Screen Resolution 3.5 inch diagonal screen Same physical size, different pixel counts
  • 17. Screen Density != Screen ResolutionClassification 160 DPI 240 DPI 320 DPIDevices Most tablets Most Android phones iPhone 4 iPhone 3GS Motorola Droid ProMapped range < 200 DPI >= 200 DPI > 280 DPI <= 280 DPITypical range 132 DPI (iPad) 217 DPI (HTC Evo) 326 DPI (iPhone 4) to to 181 DPI (HTC Hero) 254 DPI (NexusOne)
  • 18. Devices have differing aspect ratios
  • 19. Some devices have additional stuff...
  • 20. Capabilitiesflash.system.Capabilities
  • 21. Devices have orientations StageOrientationEvent.ORIENTATION_CHANGING stage.setOrientation( StageOrientation.UPSIDE_DOWN );
  • 22. Accelerometers Get your tilt on.
  • 23. Emulators
  • 24. Testing on the Device !FAILWiFi Debug Only WiFi and USB Debug WiFi Debug OnlyLong Build Times Faster Build Times Debug TokensMobile Provisions Signing Certificates
  • 25. Full Screen
  • 26. Permissions(Android / Playbook) android.permission.INTERNET android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE android.permission.ACCESS_FINE_LOCATION android.permission.DISABLE_KEYGUARD android.permission.WAKE_LOCK android.permission.CAMERA android.permission.RECORD_AUDIO android.permission.ACCESS_NETWORK_STATE android.permission.ACCESS_WIFI_STATE
  • 27. CPU vs GPUCPU - blitting GPU - DisplayObject iOS - 20 FPS iOS - 34 FPSDroid - 24 FPS Droid - 32 FPS
  • 28. Playbook is wicked fast
  • 29. Molehill, Stage3D? “Stage3D for mobile is planned for middle of next year, but we are working hard on it to make it more like beginning of next year” - Thibault Imbert, Flash Player Product Manager October 31, 2011
  • 30. “Adobe AIR 3.2 release candidate is now available for download. This build introduces the Stage3D API to iOS and Android devices, enabling full hardware accelerated 2D and 3D graphics for mobile apps.” - Adobe Labs, compliments of Thibault February 27, 2012
  • 31. Hugs For Thibault
  • 32. Use a Framework www.smash.io
  • 33. ANT is your friend(or maven if you’re a cool kid)
  • 34. Build servers are awesome +
  • 35. Hosting your build servers
  • 36. Your game can (and will)be interrupted, at any time stage.addEventListener(Event.DEACTIVATE, onDeactivate); stage.addEventListener(Event.ACTIVATE, onActive);
  • 37. Piracy can be a problem
  • 38. Please use Version Control... please
  • 39. Questions?
  • 40. Thanks! Nate Beck Principal Architect @jnbeck nate@zaalabs.com blog.natebeck.net

×