SlideShare una empresa de Scribd logo
1 de 45
Descargar para leer sin conexión
Going Mobile
By Nate Beck
ADL, PFI... WTF?
ADL - AIR Debug Launcher - Using ADL, you can run an application
without first packaging and installing it.

ADT - AIR Developer Tool - ADT is a multi-purpose, command-line
tool for developing AIR applications.

PFI - Packager For iPhone - Completely replaced by ADT.

iOS - The OS for iPads, iPod Touch and iPhones
The Markets
... that support Adobe Flash
Membership Fee
 $99 / year
                    $25
          $99 / year ¹
               $0
      $0


      Revenue Split
          30%
                30%
               30%
                   30%
    30%


   Overall Difficulty             5
                 1
                  3
                   2
      11
1(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/
Case Study – Word Wars
Build Process
                         APK




  Executable
   ADT
   IPA




    Assets
            BAR
Application Descriptor
           Id
           Version Number
           Render Mode
           Auto Orientation
           Aspect Ratio
           Full Screen
           Onscreen Keyboard Behavior
           Icons Paths
           Device Profile
           Permissions
           iPhone Settings
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 Frame
not Mouse Move
Screen Density
       != 
Screen Resolution
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”)
Screen Density != Screen Resolution
              3.5 inch diagonal screen




      Same physical size, different pixel counts
Screen Density != Screen Resolution
Classification
        160 DPI
              240 DPI
              320 DPI
Devices
           Most tablets
       Most Android phones
       iPhone 4
                    iPhone 3GS
                 Motorola Droid Pro

Mapped range
        < 200 DPI
            >= 200 DPI
            > 280 DPI
                                           <= 280 DPI

Typical range
     132 DPI (iPad)
      217 DPI (HTC Evo)
    326 DPI (iPhone 4)
                         to
                    to
                 181 DPI (HTC Hero)
   254 DPI (NexusOne)
Devices have differing aspect ratios
Some devices have
 additional stuff...
Capabilities
flash.system.Capabilities
Devices have orientations




        StageOrientationEvent.ORIENTATION_CHANGING
    stage.setOrientation( StageOrientation.UPSIDE_DOWN );
Accelerometers
     Get your tilt on.
Emulators
Testing on the Device
                        !FAIL




WiFi Debug Only
     WiFi and USB Debug
   WiFi Debug Only
Long Build Times
    Faster Build Times
    Debug Tokens
Mobile Provisions
                             Signing
  Certificates
Full Screen
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
CPU vs GPU



CPU - blitting
   GPU - DisplayObject
 iOS - 20 FPS
       iOS - 34 FPS
Droid - 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 it more like beginning of next year”
            - Thibault Imbert, Flash Player Product Manager
                             October 31, 2011
“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
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.addEventListener(Event.ACTIVATE, onActive);
Piracy can be a problem
Please use Version
 Control... please
Questions?
Thanks!
           Nate Beck
           Principal Architect




           @jnbeck
           nate@zaalabs.com
           blog.natebeck.net

Más contenido relacionado

La actualidad más candente

About VJ Presentation @ Yuris Night
About VJ Presentation @ Yuris NightAbout VJ Presentation @ Yuris Night
About VJ Presentation @ Yuris NightDevin Becker
 
MobileApplicationTesting.pptx
MobileApplicationTesting.pptxMobileApplicationTesting.pptx
MobileApplicationTesting.pptxBhavani Testone
 
What's new in Flash Player 10.1 and AIR 2
What's new in Flash Player 10.1 and AIR 2What's new in Flash Player 10.1 and AIR 2
What's new in Flash Player 10.1 and AIR 2Serge Jespers
 
Kudos 2014 2015
Kudos 2014 2015Kudos 2014 2015
Kudos 2014 2015Max Tseng
 
Convert Your Phone into a PC. Kudos PowerOTG Cable. 1 Port
Convert Your Phone into a PC.  Kudos PowerOTG Cable. 1 PortConvert Your Phone into a PC.  Kudos PowerOTG Cable. 1 Port
Convert Your Phone into a PC. Kudos PowerOTG Cable. 1 PortMax Tseng
 
Kudos PowerOTG Program
Kudos PowerOTG ProgramKudos PowerOTG Program
Kudos PowerOTG ProgramMax Tseng
 
Introducing Apple New iPad(iPad 4th generation)
Introducing Apple New iPad(iPad 4th generation)Introducing Apple New iPad(iPad 4th generation)
Introducing Apple New iPad(iPad 4th generation)JJ Wu
 
System softwares by 09,39,27
System softwares by 09,39,27System softwares by 09,39,27
System softwares by 09,39,27Arsalan Qureshi
 
iPhone 6 - Everything you need to know!
iPhone 6 - Everything you need to know! iPhone 6 - Everything you need to know!
iPhone 6 - Everything you need to know! Jayneel Patel
 

La actualidad más candente (20)

iPhone 3GS
iPhone 3GSiPhone 3GS
iPhone 3GS
 
Smart phones
Smart phonesSmart phones
Smart phones
 
About VJ Presentation @ Yuris Night
About VJ Presentation @ Yuris NightAbout VJ Presentation @ Yuris Night
About VJ Presentation @ Yuris Night
 
MobileApplicationTesting.pptx
MobileApplicationTesting.pptxMobileApplicationTesting.pptx
MobileApplicationTesting.pptx
 
What's new in Flash Player 10.1 and AIR 2
What's new in Flash Player 10.1 and AIR 2What's new in Flash Player 10.1 and AIR 2
What's new in Flash Player 10.1 and AIR 2
 
Kudos 2014 2015
Kudos 2014 2015Kudos 2014 2015
Kudos 2014 2015
 
Convert Your Phone into a PC. Kudos PowerOTG Cable. 1 Port
Convert Your Phone into a PC.  Kudos PowerOTG Cable. 1 PortConvert Your Phone into a PC.  Kudos PowerOTG Cable. 1 Port
Convert Your Phone into a PC. Kudos PowerOTG Cable. 1 Port
 
Kudos PowerOTG Program
Kudos PowerOTG ProgramKudos PowerOTG Program
Kudos PowerOTG Program
 
Android
AndroidAndroid
Android
 
Introducing Apple New iPad(iPad 4th generation)
Introducing Apple New iPad(iPad 4th generation)Introducing Apple New iPad(iPad 4th generation)
Introducing Apple New iPad(iPad 4th generation)
 
System softwares by 09,39,27
System softwares by 09,39,27System softwares by 09,39,27
System softwares by 09,39,27
 
Android 5 lollipop
Android 5 lollipopAndroid 5 lollipop
Android 5 lollipop
 
iPhone 6 - Everything you need to know!
iPhone 6 - Everything you need to know! iPhone 6 - Everything you need to know!
iPhone 6 - Everything you need to know!
 
Speereo Browser
Speereo BrowserSpeereo Browser
Speereo Browser
 
iPad User Guide iOS 7
iPad User Guide iOS 7iPad User Guide iOS 7
iPad User Guide iOS 7
 
Android 10 highlights
Android 10 highlightsAndroid 10 highlights
Android 10 highlights
 
FENDER TUNER APP PR
FENDER TUNER APP PRFENDER TUNER APP PR
FENDER TUNER APP PR
 
iPod touch User Guide iOS 7
iPod touch User Guide iOS 7iPod touch User Guide iOS 7
iPod touch User Guide iOS 7
 
Android Wear
Android WearAndroid Wear
Android Wear
 
iPhone User Guide iOS 7
iPhone User Guide iOS 7iPhone User Guide iOS 7
iPhone User Guide iOS 7
 

Similar a Going Mobile - Flash Gaming Summit 2012

Going mobile natebeck
Going mobile natebeckGoing mobile natebeck
Going mobile natebeckNate Beck
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifactsPragya Rastogi
 
Beautiful Mind: iPhone Anatomy & Architecture
Beautiful Mind: iPhone Anatomy & ArchitectureBeautiful Mind: iPhone Anatomy & Architecture
Beautiful Mind: iPhone Anatomy & ArchitectureBess Ho
 
iPhone Seminar Part 1
iPhone Seminar Part  1iPhone Seminar Part  1
iPhone Seminar Part 1NAILBITER
 
Road Ahead For Mobile Game Development
Road Ahead For Mobile Game DevelopmentRoad Ahead For Mobile Game Development
Road Ahead For Mobile Game DevelopmentImran K
 
콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석Jaehyeuk Oh
 
iOS vs android .pptx
iOS  vs android .pptxiOS  vs android .pptx
iOS vs android .pptxabid masood
 
Programing for the iPhone
Programing for the iPhonePrograming for the iPhone
Programing for the iPhoneMike Qaissaunee
 
Android
AndroidAndroid
Androiddavs7
 
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, Palm
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, PalmBattle of Music: SDK from iPhone, Nokia, BlackBerry, Android, Palm
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, PalmBess Ho
 
Mobile and tablet app dev
Mobile and tablet app devMobile and tablet app dev
Mobile and tablet app devJeremy Callinan
 
General Assembly Sydney: Digital Frontiers Workshop
General Assembly Sydney: Digital Frontiers WorkshopGeneral Assembly Sydney: Digital Frontiers Workshop
General Assembly Sydney: Digital Frontiers WorkshopAlex Young
 
Jan Kroon's talk @mdevcon 2012
Jan Kroon's talk @mdevcon 2012Jan Kroon's talk @mdevcon 2012
Jan Kroon's talk @mdevcon 2012Jan Kroon
 
MobileApplicationTesting.pptx
MobileApplicationTesting.pptxMobileApplicationTesting.pptx
MobileApplicationTesting.pptxCbhaSlide
 
Mobile and Tablet App Development and Market Share
Mobile and Tablet App Development and Market ShareMobile and Tablet App Development and Market Share
Mobile and Tablet App Development and Market ShareJeremy Callinan
 
Digital Fun for the Digital Home
Digital Fun for the Digital HomeDigital Fun for the Digital Home
Digital Fun for the Digital HomeRenaun Erickson
 
Java mobile 移动应用开发
Java mobile 移动应用开发Java mobile 移动应用开发
Java mobile 移动应用开发Open Party
 

Similar a Going Mobile - Flash Gaming Summit 2012 (20)

Going mobile natebeck
Going mobile natebeckGoing mobile natebeck
Going mobile natebeck
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifacts
 
Beautiful Mind: iPhone Anatomy & Architecture
Beautiful Mind: iPhone Anatomy & ArchitectureBeautiful Mind: iPhone Anatomy & Architecture
Beautiful Mind: iPhone Anatomy & Architecture
 
iPhone Seminar Part 1
iPhone Seminar Part  1iPhone Seminar Part  1
iPhone Seminar Part 1
 
Road Ahead For Mobile Game Development
Road Ahead For Mobile Game DevelopmentRoad Ahead For Mobile Game Development
Road Ahead For Mobile Game Development
 
Introducción a iOS
Introducción a iOSIntroducción a iOS
Introducción a iOS
 
콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석
 
Android
AndroidAndroid
Android
 
iOS vs android .pptx
iOS  vs android .pptxiOS  vs android .pptx
iOS vs android .pptx
 
Programing for the iPhone
Programing for the iPhonePrograming for the iPhone
Programing for the iPhone
 
Android
AndroidAndroid
Android
 
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, Palm
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, PalmBattle of Music: SDK from iPhone, Nokia, BlackBerry, Android, Palm
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, Palm
 
Mobile and tablet app dev
Mobile and tablet app devMobile and tablet app dev
Mobile and tablet app dev
 
Android
AndroidAndroid
Android
 
General Assembly Sydney: Digital Frontiers Workshop
General Assembly Sydney: Digital Frontiers WorkshopGeneral Assembly Sydney: Digital Frontiers Workshop
General Assembly Sydney: Digital Frontiers Workshop
 
Jan Kroon's talk @mdevcon 2012
Jan Kroon's talk @mdevcon 2012Jan Kroon's talk @mdevcon 2012
Jan Kroon's talk @mdevcon 2012
 
MobileApplicationTesting.pptx
MobileApplicationTesting.pptxMobileApplicationTesting.pptx
MobileApplicationTesting.pptx
 
Mobile and Tablet App Development and Market Share
Mobile and Tablet App Development and Market ShareMobile and Tablet App Development and Market Share
Mobile and Tablet App Development and Market Share
 
Digital Fun for the Digital Home
Digital Fun for the Digital HomeDigital Fun for the Digital Home
Digital Fun for the Digital Home
 
Java mobile 移动应用开发
Java mobile 移动应用开发Java mobile 移动应用开发
Java mobile 移动应用开发
 

Último

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentMahmoud Rabie
 

Último (20)

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career Development
 

Going Mobile - Flash Gaming Summit 2012

  • 2. ADL, PFI... WTF? ADL - AIR Debug Launcher - Using ADL, you can run an application without first packaging and installing it. ADT - AIR Developer Tool - ADT is a multi-purpose, command-line tool 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 11 1(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.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. Build Process APK Executable ADT IPA Assets BAR
  • 12. Application Descriptor Id Version Number Render Mode Auto Orientation Aspect Ratio Full Screen Onscreen Keyboard Behavior Icons Paths Device Profile Permissions iPhone Settings
  • 14. Your finger is not transparent THIS NOT THIS
  • 15. Devices do not have roll over or roll out
  • 16. TouchEvents are different than MouseEvents flash.ui.Multitouchflash.ui.MultitouchInputMode
  • 17. Let’s not forget about gestures flash.events.TransformGestureEvent
  • 18. Use Enter Frame not Mouse Move
  • 19. Screen Density != Screen Resolution
  • 20. 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”)
  • 21. Screen Density != Screen Resolution 3.5 inch diagonal screen Same physical size, different pixel counts
  • 22. Screen Density != Screen Resolution Classification 160 DPI 240 DPI 320 DPI Devices Most tablets Most Android phones iPhone 4 iPhone 3GS Motorola Droid Pro Mapped range < 200 DPI >= 200 DPI > 280 DPI <= 280 DPI Typical range 132 DPI (iPad) 217 DPI (HTC Evo) 326 DPI (iPhone 4) to to 181 DPI (HTC Hero) 254 DPI (NexusOne)
  • 23. Devices have differing aspect ratios
  • 24. Some devices have additional stuff...
  • 26. Devices have orientations StageOrientationEvent.ORIENTATION_CHANGING stage.setOrientation( StageOrientation.UPSIDE_DOWN );
  • 27. Accelerometers Get your tilt on.
  • 29. Testing on the Device !FAIL WiFi Debug Only WiFi and USB Debug WiFi Debug Only Long Build Times Faster Build Times Debug Tokens Mobile Provisions Signing Certificates
  • 31. 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
  • 32. CPU vs GPU CPU - blitting GPU - DisplayObject iOS - 20 FPS iOS - 34 FPS Droid - 24 FPS Droid - 32 FPS
  • 34. 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
  • 35. “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
  • 37. Use a Framework www.smash.io
  • 38. ANT is your friend (or maven if you’re a cool kid)
  • 39. Build servers are awesome +
  • 41. Your game can (and will) be interrupted, at any time stage.addEventListener(Event.DEACTIVATE, onDeactivate); stage.addEventListener(Event.ACTIVATE, onActive);
  • 42. Piracy can be a problem
  • 43. Please use Version Control... please
  • 45. Thanks! Nate Beck Principal Architect @jnbeck nate@zaalabs.com blog.natebeck.net