SlideShare ist ein Scribd-Unternehmen logo
1 von 15
   Eclipse
   These instructions
   A whole lot of patience
   Download Eclipse if you haven’t already
   Install the ADT – Android Development Tools plugin
   Downloading the Android SDK
   Install the Mercurial plugin
   Clone the Mercurial repositories for the following projects:
    ◦   AndEngine
    ◦   AndEngineTexturePackerExtension
    ◦   AndEngineSVGTextureRegionExtension
    ◦   AndEnginePhysicsBox2DExtension
    ◦   AndEngineMultiTouchExtension
    ◦   AndEngineMultiplayerExtension
    ◦   AndEngineMODPlayerExtension
    ◦   AndEngineAugmentedRealityExtension
    ◦   AndEngineExamples

   Link the AndEngineExamples project to AndEngine the extension
    projects
   Create an AVD – Android Virtual Device
   Rummage through the Examples project
   Go to Eclipse.org
   Go to downloads
   Download Eclipse for Java Developers for your
    platform (Win / Mac / Lnx / etc) and chipset
    (x86 / x64)
   Once you have Eclipse up…
   Navigate to Help > Install New Software…
   On the right side towards the top, click the Add…
    button
   For Name, put whatever you want (I used
    Android)
   For Location, enter the following:
    ◦ https://dl-ssl.google.com/android/eclipse/
   In the “Work with:” combo box, select the
    Android Development Tools repository
   Select ADT
   Run through the wizard
   Navigate to Window > Android SDK Manager
   Select the Android SDK Tools and Android
    SDK Platform-tools
   Select the SDK Platform, Examples, Samples,
    and any other useful items for your target
    development platforms
   Click Install Packages…
   Run through the wizard
   In Eclipse…
   Navigate to Help > Install New Software…
   On the right side towards the top, click the Add…
    button
   For Name, put whatever you want (I used
    Mercurial Eclipse)
   For Location, enter the following:
    ◦ http://cbes.javaforge.com/update
   In the “Work with:” combo box, select the
    Mercurial repository
   Find and select MercurialEclipse
   Run through the wizard
   In Eclipse…
   Navigate to File > Import…
   Expand Mercurial and select Clone Existing
    Mercurial Repository
   Enter the URL for the desired project
   Click Finish
   Rinse, repeat
   In the Package Explorer pane on the left, right
    click the project to bring the link into
   Navigate to Build Path > Link Source
   For “Linked folder location:”, browse to the
    desired source to be linked
   Provide a Folder name (I used
    ProjectName_src)
   Hit Finish
   Navigate to Window > AVD Manager
   On the right side, click New..
   Fill in the necessary info
    ◦ Select the Target corresponding to your desired
      target platform
    ◦ It will yell at you if it’s not happy with your input
   Click Create AVD
   When you run your project, ADT will be
    intelligent enough to select the AVD
    appropriate for your project
   There is no official documentation
   The forums are hit or miss
   There are a few YouTube videos

   Your best bet is to find an example closest to
    your desired outcome and reverse engineer it
    ◦ Oddly enough, it works pretty well
   Find an example closest to your game
    Create a new Android project
    ◦ Navigate to File > New > Android Project
    ◦ Fill in the Project Name
    ◦ Click Next
    ◦ Select your target API and any additional Add-Ons
      you need
    ◦ Decide on a package name
         Typical structure is
          <com/edu/org>.<orgname>.<projectname>
    ◦ Hit Finish
   Copy your selected example’s Activity class
    into your project
   Cannibalize that class into your premade
    Activity class for your project
   The central component of AndEngine is the main
    Activity class
    ◦ The Activity class features four core functions in which
      you do your work that are executed in the following
      order
      onLoadEngine
         Construct rendering objects (Engine, Camera, etc)
      onLoadResources
        Import your assets (images, audio, data files, etc)
      onLoadScene
         Setup the objects that appear in your scene using the assets
          you’ve imported (Maps, Sprites, etc)
      onLoadComplete
         I haven’t used it, but I imagine it’s for any manipulations that
          must be made after all of the previous steps
   The Android Manifest File
    ◦ XML file that defines information and requirements
      relating to your application
        SDK version
        Hardware requirements
        Permissions Requirements
        Icon
        Other stuff – explore!
    ◦ Always named AndroidManifest.xml

Weitere ähnliche Inhalte

Was ist angesagt?

AIR2.5 Hands On - Flash on the Beach 2010
AIR2.5 Hands On - Flash on the Beach 2010AIR2.5 Hands On - Flash on the Beach 2010
AIR2.5 Hands On - Flash on the Beach 2010Mark Doherty
 
Compiling With Eclipse
Compiling With EclipseCompiling With Eclipse
Compiling With Eclipsesatriahelmy
 
Why Katalon Studio?
Why Katalon Studio?Why Katalon Studio?
Why Katalon Studio?Knoldus Inc.
 
Exploring Android Studio
Exploring Android StudioExploring Android Studio
Exploring Android StudioAkshay Chordiya
 
Eclipse workshop presentation (March 2016)
Eclipse workshop presentation (March 2016)Eclipse workshop presentation (March 2016)
Eclipse workshop presentation (March 2016)Miguel Pardal
 
Extending Eclipse Che to build custom cloud IDEs
Extending Eclipse Che to build custom cloud IDEsExtending Eclipse Che to build custom cloud IDEs
Extending Eclipse Che to build custom cloud IDEsFlorent BENOIT
 
Code in the cloud with Eclipse Che and Docker
Code in the cloud with Eclipse Che and DockerCode in the cloud with Eclipse Che and Docker
Code in the cloud with Eclipse Che and DockerFlorent BENOIT
 
Integrating external products into eclipse
Integrating external products into eclipseIntegrating external products into eclipse
Integrating external products into eclipseGirish Balre
 
Eclipse 2011 Hot Topics
Eclipse 2011 Hot TopicsEclipse 2011 Hot Topics
Eclipse 2011 Hot TopicsLars Vogel
 
Migrating Unity3D projects to Windows 8
Migrating Unity3D projects to Windows 8Migrating Unity3D projects to Windows 8
Migrating Unity3D projects to Windows 8282productions
 
Google Map Implementation with offline feature.
Google Map Implementation with offline feature.Google Map Implementation with offline feature.
Google Map Implementation with offline feature.Jayanta Sinhamahapatra
 
MATE: A Flex Framework - "Extreme Makeover"
MATE: A Flex Framework - "Extreme Makeover"MATE: A Flex Framework - "Extreme Makeover"
MATE: A Flex Framework - "Extreme Makeover"Theo Rushin Jr
 
An Introduction to Eclipse Che - Next-Gen Eclipse Java IDE
An Introduction to Eclipse Che - Next-Gen Eclipse Java IDEAn Introduction to Eclipse Che - Next-Gen Eclipse Java IDE
An Introduction to Eclipse Che - Next-Gen Eclipse Java IDEKubeAcademy
 
Selenium WebDriver with C#
Selenium WebDriver with C#Selenium WebDriver with C#
Selenium WebDriver with C#srivinayak
 
Eclipse Che : ParisJUG
Eclipse Che : ParisJUGEclipse Che : ParisJUG
Eclipse Che : ParisJUGFlorent BENOIT
 
Getting started with code composer studio v3.3 for tms320 f2812
Getting started with code composer studio v3.3 for tms320 f2812Getting started with code composer studio v3.3 for tms320 f2812
Getting started with code composer studio v3.3 for tms320 f2812Pantech ProLabs India Pvt Ltd
 

Was ist angesagt? (20)

AIR2.5 Hands On - Flash on the Beach 2010
AIR2.5 Hands On - Flash on the Beach 2010AIR2.5 Hands On - Flash on the Beach 2010
AIR2.5 Hands On - Flash on the Beach 2010
 
Android Essential Tools
Android Essential ToolsAndroid Essential Tools
Android Essential Tools
 
Compiling With Eclipse
Compiling With EclipseCompiling With Eclipse
Compiling With Eclipse
 
Why Katalon Studio?
Why Katalon Studio?Why Katalon Studio?
Why Katalon Studio?
 
Exploring Android Studio
Exploring Android StudioExploring Android Studio
Exploring Android Studio
 
Eclipse workshop presentation (March 2016)
Eclipse workshop presentation (March 2016)Eclipse workshop presentation (March 2016)
Eclipse workshop presentation (March 2016)
 
Extending Eclipse Che to build custom cloud IDEs
Extending Eclipse Che to build custom cloud IDEsExtending Eclipse Che to build custom cloud IDEs
Extending Eclipse Che to build custom cloud IDEs
 
Android SDK: How to Install
Android SDK: How to InstallAndroid SDK: How to Install
Android SDK: How to Install
 
Code in the cloud with Eclipse Che and Docker
Code in the cloud with Eclipse Che and DockerCode in the cloud with Eclipse Che and Docker
Code in the cloud with Eclipse Che and Docker
 
Integrating external products into eclipse
Integrating external products into eclipseIntegrating external products into eclipse
Integrating external products into eclipse
 
Eclipse 2011 Hot Topics
Eclipse 2011 Hot TopicsEclipse 2011 Hot Topics
Eclipse 2011 Hot Topics
 
Migrating Unity3D projects to Windows 8
Migrating Unity3D projects to Windows 8Migrating Unity3D projects to Windows 8
Migrating Unity3D projects to Windows 8
 
Android App development III
Android App development IIIAndroid App development III
Android App development III
 
Google Map Implementation with offline feature.
Google Map Implementation with offline feature.Google Map Implementation with offline feature.
Google Map Implementation with offline feature.
 
MATE: A Flex Framework - "Extreme Makeover"
MATE: A Flex Framework - "Extreme Makeover"MATE: A Flex Framework - "Extreme Makeover"
MATE: A Flex Framework - "Extreme Makeover"
 
Android programming-basics
Android programming-basicsAndroid programming-basics
Android programming-basics
 
An Introduction to Eclipse Che - Next-Gen Eclipse Java IDE
An Introduction to Eclipse Che - Next-Gen Eclipse Java IDEAn Introduction to Eclipse Che - Next-Gen Eclipse Java IDE
An Introduction to Eclipse Che - Next-Gen Eclipse Java IDE
 
Selenium WebDriver with C#
Selenium WebDriver with C#Selenium WebDriver with C#
Selenium WebDriver with C#
 
Eclipse Che : ParisJUG
Eclipse Che : ParisJUGEclipse Che : ParisJUG
Eclipse Che : ParisJUG
 
Getting started with code composer studio v3.3 for tms320 f2812
Getting started with code composer studio v3.3 for tms320 f2812Getting started with code composer studio v3.3 for tms320 f2812
Getting started with code composer studio v3.3 for tms320 f2812
 

Ähnlich wie AndEngine

Android installation guide
Android installation guideAndroid installation guide
Android installation guidemagicshui
 
Android chapter02-setup1-sdk
Android chapter02-setup1-sdkAndroid chapter02-setup1-sdk
Android chapter02-setup1-sdkTran Le Hoan
 
Android styles and themes
Android   styles and themesAndroid   styles and themes
Android styles and themesDeepa Rani
 
03 Beginning Android Application Development
03 Beginning Android Application Development03 Beginning Android Application Development
03 Beginning Android Application DevelopmentArief Gunawan
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGapDoncho Minkov
 
Session 2 prepare android development environment
Session 2   prepare android development environmentSession 2   prepare android development environment
Session 2 prepare android development environmentAdham Enaya
 
Introduction to Android and Java.pptx
Introduction to Android and Java.pptxIntroduction to Android and Java.pptx
Introduction to Android and Java.pptxGandhiMathy6
 
Android software development – the first few hours
Android software development – the first few hoursAndroid software development – the first few hours
Android software development – the first few hourssjmarsh
 
Android Application Development Environment Setup
Android Application Development Environment SetupAndroid Application Development Environment Setup
Android Application Development Environment SetupIan Pinto
 
How to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptxHow to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptxMSivani
 
Android installation
Android installationAndroid installation
Android installationDurai S
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android ApplicationNandini Prabhu
 
Installing iOS and Android Simulators on MacOSX
Installing iOS and Android Simulators on MacOSXInstalling iOS and Android Simulators on MacOSX
Installing iOS and Android Simulators on MacOSXKen Skistimas
 
02.1 - Getting Started with Android
02.1 - Getting Started with Android02.1 - Getting Started with Android
02.1 - Getting Started with AndroidOum Saokosal
 
Installing eclipse & sdk
Installing eclipse & sdkInstalling eclipse & sdk
Installing eclipse & sdkArun Kumar
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studioAbdul Basit
 

Ähnlich wie AndEngine (20)

Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Android chapter02-setup1-sdk
Android chapter02-setup1-sdkAndroid chapter02-setup1-sdk
Android chapter02-setup1-sdk
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Android styles and themes
Android   styles and themesAndroid   styles and themes
Android styles and themes
 
03 Beginning Android Application Development
03 Beginning Android Application Development03 Beginning Android Application Development
03 Beginning Android Application Development
 
Android
AndroidAndroid
Android
 
NDK Introduction
NDK IntroductionNDK Introduction
NDK Introduction
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
 
Session 2 prepare android development environment
Session 2   prepare android development environmentSession 2   prepare android development environment
Session 2 prepare android development environment
 
Introduction to Android and Java.pptx
Introduction to Android and Java.pptxIntroduction to Android and Java.pptx
Introduction to Android and Java.pptx
 
Monkey Talk
Monkey TalkMonkey Talk
Monkey Talk
 
Android software development – the first few hours
Android software development – the first few hoursAndroid software development – the first few hours
Android software development – the first few hours
 
Android Application Development Environment Setup
Android Application Development Environment SetupAndroid Application Development Environment Setup
Android Application Development Environment Setup
 
How to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptxHow to Install and Set up Android Studio.pptx
How to Install and Set up Android Studio.pptx
 
Android installation
Android installationAndroid installation
Android installation
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
 
Installing iOS and Android Simulators on MacOSX
Installing iOS and Android Simulators on MacOSXInstalling iOS and Android Simulators on MacOSX
Installing iOS and Android Simulators on MacOSX
 
02.1 - Getting Started with Android
02.1 - Getting Started with Android02.1 - Getting Started with Android
02.1 - Getting Started with Android
 
Installing eclipse & sdk
Installing eclipse & sdkInstalling eclipse & sdk
Installing eclipse & sdk
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studio
 

Kürzlich hochgeladen

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 

Kürzlich hochgeladen (20)

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 

AndEngine

  • 1.
  • 2. Eclipse  These instructions  A whole lot of patience
  • 3. Download Eclipse if you haven’t already  Install the ADT – Android Development Tools plugin  Downloading the Android SDK  Install the Mercurial plugin  Clone the Mercurial repositories for the following projects: ◦ AndEngine ◦ AndEngineTexturePackerExtension ◦ AndEngineSVGTextureRegionExtension ◦ AndEnginePhysicsBox2DExtension ◦ AndEngineMultiTouchExtension ◦ AndEngineMultiplayerExtension ◦ AndEngineMODPlayerExtension ◦ AndEngineAugmentedRealityExtension ◦ AndEngineExamples  Link the AndEngineExamples project to AndEngine the extension projects  Create an AVD – Android Virtual Device  Rummage through the Examples project
  • 4. Go to Eclipse.org  Go to downloads  Download Eclipse for Java Developers for your platform (Win / Mac / Lnx / etc) and chipset (x86 / x64)
  • 5. Once you have Eclipse up…  Navigate to Help > Install New Software…  On the right side towards the top, click the Add… button  For Name, put whatever you want (I used Android)  For Location, enter the following: ◦ https://dl-ssl.google.com/android/eclipse/  In the “Work with:” combo box, select the Android Development Tools repository  Select ADT  Run through the wizard
  • 6. Navigate to Window > Android SDK Manager  Select the Android SDK Tools and Android SDK Platform-tools  Select the SDK Platform, Examples, Samples, and any other useful items for your target development platforms  Click Install Packages…  Run through the wizard
  • 7. In Eclipse…  Navigate to Help > Install New Software…  On the right side towards the top, click the Add… button  For Name, put whatever you want (I used Mercurial Eclipse)  For Location, enter the following: ◦ http://cbes.javaforge.com/update  In the “Work with:” combo box, select the Mercurial repository  Find and select MercurialEclipse  Run through the wizard
  • 8. In Eclipse…  Navigate to File > Import…  Expand Mercurial and select Clone Existing Mercurial Repository  Enter the URL for the desired project  Click Finish  Rinse, repeat
  • 9. In the Package Explorer pane on the left, right click the project to bring the link into  Navigate to Build Path > Link Source  For “Linked folder location:”, browse to the desired source to be linked  Provide a Folder name (I used ProjectName_src)  Hit Finish
  • 10. Navigate to Window > AVD Manager  On the right side, click New..  Fill in the necessary info ◦ Select the Target corresponding to your desired target platform ◦ It will yell at you if it’s not happy with your input  Click Create AVD  When you run your project, ADT will be intelligent enough to select the AVD appropriate for your project
  • 11. There is no official documentation  The forums are hit or miss  There are a few YouTube videos  Your best bet is to find an example closest to your desired outcome and reverse engineer it ◦ Oddly enough, it works pretty well
  • 12. Find an example closest to your game  Create a new Android project ◦ Navigate to File > New > Android Project ◦ Fill in the Project Name ◦ Click Next ◦ Select your target API and any additional Add-Ons you need ◦ Decide on a package name  Typical structure is <com/edu/org>.<orgname>.<projectname> ◦ Hit Finish
  • 13. Copy your selected example’s Activity class into your project  Cannibalize that class into your premade Activity class for your project
  • 14. The central component of AndEngine is the main Activity class ◦ The Activity class features four core functions in which you do your work that are executed in the following order  onLoadEngine  Construct rendering objects (Engine, Camera, etc)  onLoadResources  Import your assets (images, audio, data files, etc)  onLoadScene  Setup the objects that appear in your scene using the assets you’ve imported (Maps, Sprites, etc)  onLoadComplete  I haven’t used it, but I imagine it’s for any manipulations that must be made after all of the previous steps
  • 15. The Android Manifest File ◦ XML file that defines information and requirements relating to your application  SDK version  Hardware requirements  Permissions Requirements  Icon  Other stuff – explore! ◦ Always named AndroidManifest.xml