Going MobileBy Nate Beck
ADL, PFI... WTF?ADL - AIR Debug Launcher - Using ADL, you can run an applicationwithout first packaging and installing it.A...
The Markets... that support Adobe Flash
Membership Fee $99 / year                    $25          $99 / year ¹               $0      $0      Revenue Split        ...
Case Study – Word Wars
Build Process                         APK  Executable   ADT   IPA    Assets            BAR
Application Descriptor           Id           Version Number           Render Mode           Auto Orientation           As...
DEVICES SUCK
Your finger is not transparent   THIS       NOT THIS
Devices do not have roll over or roll out
TouchEvents are different   than MouseEvents    flash.ui.Multitouchflash.ui.MultitouchInputMode
Let’s not forget about gestures       flash.events.TransformGestureEvent
Use Enter Framenot Mouse Move
Screen Density       != Screen Resolution
Screen Density != Screen Resolution                        150 x 40 pixel button Desktop monitor        Galaxy Tab        ...
Screen Density != Screen Resolution              3.5 inch diagonal screen      Same physical size, different pixel counts
Screen Density != Screen ResolutionClassification        160 DPI              240 DPI              320 DPIDevices          ...
Devices have differing aspect ratios
Some devices have additional stuff...
Capabilitiesflash.system.Capabilities
Devices have orientations        StageOrientationEvent.ORIENTATION_CHANGING    stage.setOrientation( StageOrientation.UPSI...
Accelerometers     Get your tilt on.
Emulators
Testing on the Device                        !FAILWiFi Debug Only     WiFi and USB Debug   WiFi Debug OnlyLong Build Times...
Full Screen
Permissions(Android / Playbook)  android.permission.INTERNET  android.permission.WRITE_EXTERNAL_STORAGE  android.permissio...
CPU vs GPUCPU - blitting   GPU - DisplayObject iOS - 20 FPS       iOS - 34 FPSDroid - 24 FPS     Droid - 32 FPS
Playbook is wicked fast
Molehill, Stage3D?         “Stage3D for mobile is planned for middle of next year, but we are working hard on it to make i...
“Adobe AIR 3.2 release candidate is now available for download. This build   introduces the Stage3D API to iOS and Android...
Hugs For Thibault
Use a Framework        www.smash.io
ANT is your friend(or maven if you’re a cool kid)
Build servers are awesome           +
Hosting your build servers
Your game can (and will)be interrupted, at any time stage.addEventListener(Event.DEACTIVATE, onDeactivate);    stage.addEv...
Piracy can be a problem
Please use Version Control... please
Questions?
Thanks!           Nate Beck           Principal Architect           @jnbeck           nate@zaalabs.com           blog.nate...
Going Mobile - Flash Gaming Summit 2012
Going Mobile - Flash Gaming Summit 2012
Going Mobile - Flash Gaming Summit 2012
Going Mobile - Flash Gaming Summit 2012
Going Mobile - Flash Gaming Summit 2012
Upcoming SlideShare
Loading in …5
×

Going Mobile - Flash Gaming Summit 2012

1,046 views
959 views

Published on

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
1,046
On SlideShare
0
From Embeds
0
Number of Embeds
266
Actions
Shares
0
Downloads
6
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Going Mobile - Flash Gaming Summit 2012

  1. 1. Going MobileBy Nate Beck
  2. 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. 3. The Markets... that support Adobe Flash
  4. 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. 5. Case Study – Word Wars
  6. 6. Build Process APK Executable ADT IPA Assets BAR
  7. 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. 8. DEVICES SUCK
  9. 9. Your finger is not transparent THIS NOT THIS
  10. 10. Devices do not have roll over or roll out
  11. 11. TouchEvents are different than MouseEvents flash.ui.Multitouchflash.ui.MultitouchInputMode
  12. 12. Let’s not forget about gestures flash.events.TransformGestureEvent
  13. 13. Use Enter Framenot Mouse Move
  14. 14. Screen Density != Screen Resolution
  15. 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. 16. Screen Density != Screen Resolution 3.5 inch diagonal screen Same physical size, different pixel counts
  17. 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. 18. Devices have differing aspect ratios
  19. 19. Some devices have additional stuff...
  20. 20. Capabilitiesflash.system.Capabilities
  21. 21. Devices have orientations StageOrientationEvent.ORIENTATION_CHANGING stage.setOrientation( StageOrientation.UPSIDE_DOWN );
  22. 22. Accelerometers Get your tilt on.
  23. 23. Emulators
  24. 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. 25. Full Screen
  26. 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. 27. CPU vs GPUCPU - blitting GPU - DisplayObject iOS - 20 FPS iOS - 34 FPSDroid - 24 FPS Droid - 32 FPS
  28. 28. Playbook is wicked fast
  29. 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. 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. 31. Hugs For Thibault
  32. 32. Use a Framework www.smash.io
  33. 33. ANT is your friend(or maven if you’re a cool kid)
  34. 34. Build servers are awesome +
  35. 35. Hosting your build servers
  36. 36. Your game can (and will)be interrupted, at any time stage.addEventListener(Event.DEACTIVATE, onDeactivate); stage.addEventListener(Event.ACTIVATE, onActive);
  37. 37. Piracy can be a problem
  38. 38. Please use Version Control... please
  39. 39. Questions?
  40. 40. Thanks! Nate Beck Principal Architect @jnbeck nate@zaalabs.com blog.natebeck.net

×