際際滷

際際滷Share a Scribd company logo
Multi-platform
compatibility/portability of
HTML5 apps
USING PHASER, PHONEGAP AND INTEL XDK
Introduction
This Project is envisioned for studying and demonstrating the latest trends in
multi-platform app development using a simple HTML 5 game build using Phaser
game framework and ported to various platforms using PhoneGap and INTEL XDK.
Developing for different platforms is very hard.
HTML5 comes for the rescue.
HTML5
 HTML5 is the latest version of the mark-up language of the Internet.
 Rich multimedia support.
 Support for Offline Web Storage, GeoLocation API, Canvas Drawing, CSS3, 2D
animations, and many more.
 HTML5 is becoming a preferred choice for developers.
Phaser
 Phaser is a cross-platform game development framework for desktop and mobiles.
 It is open source.
 Lots of control over object.
 Works in 2D.
PhoneGap
 Allows to build mobile apps using JavaScript, HTML5 and CSS3.
 Makes Hybrid Mobile Apps.
 Includes plugins which allow access to devices hardware.
 Uses cloud compiler to generate apps for different platforms.
Intel XDK
 Intel XDK HTML5 Cross-platform Development Tool provides a simplified
workflow to enable developers to easily design, debug, build and deploy
HTML5 web and hybrid apps across multiple app stores, and form factor
devices.
 From coding to publishing, everything in one software.
 Also uses cloud compiler to generate apps for different platforms.
Game Development Using Phaser
 Phaser is a fast, free and fun open source game framework for making
desktop and mobile browser HTML5 games. It provides fast 2D Canvas and
WebGL rendering.
Images in the game
 Images in the game are made using Adobe Photoshop CS6
Animations
 Animations were made using Adobe Flash Professional CC
Creating the Game
 Phaser works within the canvas element of HTML5
 It is integrated using JavaScript in the script tag
 The Actual game renders inside a div tag
 The game states are declared in the Index.html
 The actual game states are defined in various .jsp files.
 Phaser allows for various settings and configurations of the physics elements
of games like Movement, control, collisions and allows the user to either
manually define them or let Phaser take control.
The code
The game
Cross-Platform Porting
 The game is ported to different platforms in two ways:
 Using PhoneGap:
 Upload the complete project in .zip format on build.phonegap.com
 Provide the required info about the version to use to build the app.
 PhoneGap will automatically run through the code and insert necessary codes and
information so that the application can run natively on the devices.
 The cloud compiler will compile the app and generate the applications for all the
supported platforms like Android, iOS, Windows Phone, Symbian etc.
 Using Intel XDK:
 Install the Intel XDK tool and import your project.
 Go to build and select target platform and upload your project for compilation on
the build server.
 The build server will scan through the code adding necessary details to make the
app run native on the devices.
 The code will then be compiled by the cloud compiler which will generate the
application for the preferred device.
 After build is finished you will get your application.
Conclusion
 HTML5 is a goldmine waiting to be discovered.
 It has the ability to build once and deploy to many.
 Developing in HTML5 is easier than developing in native.
 There is faster implementation and deployment.
 There are limitations in performance and stability.
 But it is cost-effective and requires less maintenance than native.
 Cross-Platform building tools makes porting easier than ever.
 Should be a preferred choice for new developers in mobile application
development.
THANK YOU

More Related Content

What's hot (20)

Mobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
Mobile Programming - 9 Profile UI, Navigation Basic and Splash ScreenMobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
Mobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
AndiNurkholis1
Mobile app development
Mobile app developmentMobile app development
Mobile app development
Sovereign software solution
ML Kit , Cloud FF GDSC MESCOE.pdf
ML Kit , Cloud FF GDSC MESCOE.pdfML Kit , Cloud FF GDSC MESCOE.pdf
ML Kit , Cloud FF GDSC MESCOE.pdf
AkankshaPathak42
PHP And Silverlight - DevDays session
PHP And Silverlight - DevDays sessionPHP And Silverlight - DevDays session
PHP And Silverlight - DevDays session
Maarten Balliauw
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDKLUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
Microsoft Mobile Developer
[Android] Introduction to Android Programming
[Android] Introduction to Android Programming[Android] Introduction to Android Programming
[Android] Introduction to Android Programming
Nikmesoft Ltd
JavaScript Frameworks For Mobile App Development | Redbytes
JavaScript Frameworks For Mobile App Development | RedbytesJavaScript Frameworks For Mobile App Development | Redbytes
JavaScript Frameworks For Mobile App Development | Redbytes
Redbytes Software
Google flutter app development
Google flutter app developmentGoogle flutter app development
Google flutter app development
Marie Weaver
Flutter rev cx
Flutter rev cxFlutter rev cx
Flutter rev cx
Josh Software Inc.
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
Peter van der Linden
Mobile Programming - 8 Progress Bar, Draggable Music Knob, Timer
Mobile Programming - 8 Progress Bar, Draggable Music Knob, TimerMobile Programming - 8 Progress Bar, Draggable Music Knob, Timer
Mobile Programming - 8 Progress Bar, Draggable Music Knob, Timer
AndiNurkholis1
Flutter
FlutterFlutter
Flutter
Ankit Kumar
Introduction to Android Programming by Dr.M.Pyingkodi-kongu engineering c...
Introduction to  Android   Programming by  Dr.M.Pyingkodi-kongu engineering c...Introduction to  Android   Programming by  Dr.M.Pyingkodi-kongu engineering c...
Introduction to Android Programming by Dr.M.Pyingkodi-kongu engineering c...
pyingkodi maran
Capturing Your Audience with Kinect
Capturing Your Audience with KinectCapturing Your Audience with Kinect
Capturing Your Audience with Kinect
Shahed Chowdhuri
Android App Development 20150604
Android App Development 20150604Android App Development 20150604
Android App Development 20150604
Hideo Kadowaki
Cross platform app development with flutter
Cross platform app development with flutterCross platform app development with flutter
Cross platform app development with flutter
Hwan Jo
Key reasons to consider angular for progressive web app development min
Key reasons to consider angular for progressive web app development minKey reasons to consider angular for progressive web app development min
Key reasons to consider angular for progressive web app development min
Solution Analysts
Android App Development 20150402
Android App Development 20150402Android App Development 20150402
Android App Development 20150402
Hideo Kadowaki
Building Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using CordovaBuilding Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using Cordova
Noam Kfir
Windows 8 App and Game Development Landscape
Windows 8 App and Game Development LandscapeWindows 8 App and Game Development Landscape
Windows 8 App and Game Development Landscape
Jim O'Neil
Mobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
Mobile Programming - 9 Profile UI, Navigation Basic and Splash ScreenMobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
Mobile Programming - 9 Profile UI, Navigation Basic and Splash Screen
AndiNurkholis1
ML Kit , Cloud FF GDSC MESCOE.pdf
ML Kit , Cloud FF GDSC MESCOE.pdfML Kit , Cloud FF GDSC MESCOE.pdf
ML Kit , Cloud FF GDSC MESCOE.pdf
AkankshaPathak42
PHP And Silverlight - DevDays session
PHP And Silverlight - DevDays sessionPHP And Silverlight - DevDays session
PHP And Silverlight - DevDays session
Maarten Balliauw
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDKLUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
LUMIA APP LAB #15: USING THE NOKIA IMAGING SDK
Microsoft Mobile Developer
[Android] Introduction to Android Programming
[Android] Introduction to Android Programming[Android] Introduction to Android Programming
[Android] Introduction to Android Programming
Nikmesoft Ltd
JavaScript Frameworks For Mobile App Development | Redbytes
JavaScript Frameworks For Mobile App Development | RedbytesJavaScript Frameworks For Mobile App Development | Redbytes
JavaScript Frameworks For Mobile App Development | Redbytes
Redbytes Software
Google flutter app development
Google flutter app developmentGoogle flutter app development
Google flutter app development
Marie Weaver
Mobile Programming - 8 Progress Bar, Draggable Music Knob, Timer
Mobile Programming - 8 Progress Bar, Draggable Music Knob, TimerMobile Programming - 8 Progress Bar, Draggable Music Knob, Timer
Mobile Programming - 8 Progress Bar, Draggable Music Knob, Timer
AndiNurkholis1
Introduction to Android Programming by Dr.M.Pyingkodi-kongu engineering c...
Introduction to  Android   Programming by  Dr.M.Pyingkodi-kongu engineering c...Introduction to  Android   Programming by  Dr.M.Pyingkodi-kongu engineering c...
Introduction to Android Programming by Dr.M.Pyingkodi-kongu engineering c...
pyingkodi maran
Capturing Your Audience with Kinect
Capturing Your Audience with KinectCapturing Your Audience with Kinect
Capturing Your Audience with Kinect
Shahed Chowdhuri
Android App Development 20150604
Android App Development 20150604Android App Development 20150604
Android App Development 20150604
Hideo Kadowaki
Cross platform app development with flutter
Cross platform app development with flutterCross platform app development with flutter
Cross platform app development with flutter
Hwan Jo
Key reasons to consider angular for progressive web app development min
Key reasons to consider angular for progressive web app development minKey reasons to consider angular for progressive web app development min
Key reasons to consider angular for progressive web app development min
Solution Analysts
Android App Development 20150402
Android App Development 20150402Android App Development 20150402
Android App Development 20150402
Hideo Kadowaki
Building Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using CordovaBuilding Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using Cordova
Noam Kfir
Windows 8 App and Game Development Landscape
Windows 8 App and Game Development LandscapeWindows 8 App and Game Development Landscape
Windows 8 App and Game Development Landscape
Jim O'Neil

Similar to Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(Mini project) (20)

Cross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioCross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual Studio
Mizanur Sarker
Mobile Web Apps
Mobile Web AppsMobile Web Apps
Mobile Web Apps
Athhar Ahamed
Mobile Devolpment 際際滷s
Mobile Devolpment 際際滷sMobile Devolpment 際際滷s
Mobile Devolpment 際際滷s
Luke Angel
Mobile Learning Development Tools
Mobile Learning Development ToolsMobile Learning Development Tools
Mobile Learning Development Tools
Upside Learning Solutions
POV | Unity vs HTML5 | Affle Enterprise
POV | Unity vs HTML5 | Affle EnterprisePOV | Unity vs HTML5 | Affle Enterprise
POV | Unity vs HTML5 | Affle Enterprise
Affle mTraction Enterprise
Windows 10 UWP Development Overview
Windows 10 UWP Development OverviewWindows 10 UWP Development Overview
Windows 10 UWP Development Overview
DevGAMM Conference
Windowsphone7
Windowsphone7Windowsphone7
Windowsphone7
yuvaraj72
The iPhone development on windows
The iPhone development on windowsThe iPhone development on windows
The iPhone development on windows
NAILBITER
mobicon_paper
mobicon_papermobicon_paper
mobicon_paper
Vineet Kumar
For Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App DevelopmentFor Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App Development
ChromeInfo Technologies
Mobile Web Apps and the Intel速 XDK
Mobile Web Apps and the Intel速 XDKMobile Web Apps and the Intel速 XDK
Mobile Web Apps and the Intel速 XDK
Intel速 Software
Flutter App Development- Why Should You Choose It .
Flutter App Development- Why Should You Choose It .Flutter App Development- Why Should You Choose It .
Flutter App Development- Why Should You Choose It .
Techugo
phonegap_101
phonegap_101phonegap_101
phonegap_101
Asanka Indrajith
iOS-iPhone documentation
iOS-iPhone documentationiOS-iPhone documentation
iOS-iPhone documentation
Raj Dubey
2018 top ide's for andriod development
2018 top ide's for andriod development2018 top ide's for andriod development
2018 top ide's for andriod development
Qamar Abbas
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDK
Intel速 Software
Best Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development FrameworksBest Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development Frameworks
varshasolanki7
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1
Foyzul Karim
How to Develop Cross Platform Application in Visual Studio Code?
How to Develop Cross Platform Application in Visual Studio Code?How to Develop Cross Platform Application in Visual Studio Code?
How to Develop Cross Platform Application in Visual Studio Code?
RubenGray1
Here are the Most Useful Tools for Mobile App Development
Here are the Most Useful Tools for Mobile App DevelopmentHere are the Most Useful Tools for Mobile App Development
Here are the Most Useful Tools for Mobile App Development
IndianAppDevelopers
Cross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual StudioCross-Platform Development using Angulr JS in Visual Studio
Cross-Platform Development using Angulr JS in Visual Studio
Mizanur Sarker
Mobile Devolpment 際際滷s
Mobile Devolpment 際際滷sMobile Devolpment 際際滷s
Mobile Devolpment 際際滷s
Luke Angel
Windows 10 UWP Development Overview
Windows 10 UWP Development OverviewWindows 10 UWP Development Overview
Windows 10 UWP Development Overview
DevGAMM Conference
Windowsphone7
Windowsphone7Windowsphone7
Windowsphone7
yuvaraj72
The iPhone development on windows
The iPhone development on windowsThe iPhone development on windows
The iPhone development on windows
NAILBITER
For Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App DevelopmentFor Business Success, Choose Cross Platform App Development
For Business Success, Choose Cross Platform App Development
ChromeInfo Technologies
Mobile Web Apps and the Intel速 XDK
Mobile Web Apps and the Intel速 XDKMobile Web Apps and the Intel速 XDK
Mobile Web Apps and the Intel速 XDK
Intel速 Software
Flutter App Development- Why Should You Choose It .
Flutter App Development- Why Should You Choose It .Flutter App Development- Why Should You Choose It .
Flutter App Development- Why Should You Choose It .
Techugo
iOS-iPhone documentation
iOS-iPhone documentationiOS-iPhone documentation
iOS-iPhone documentation
Raj Dubey
2018 top ide's for andriod development
2018 top ide's for andriod development2018 top ide's for andriod development
2018 top ide's for andriod development
Qamar Abbas
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDK
Intel速 Software
Best Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development FrameworksBest Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development Frameworks
varshasolanki7
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1
Foyzul Karim
How to Develop Cross Platform Application in Visual Studio Code?
How to Develop Cross Platform Application in Visual Studio Code?How to Develop Cross Platform Application in Visual Studio Code?
How to Develop Cross Platform Application in Visual Studio Code?
RubenGray1
Here are the Most Useful Tools for Mobile App Development
Here are the Most Useful Tools for Mobile App DevelopmentHere are the Most Useful Tools for Mobile App Development
Here are the Most Useful Tools for Mobile App Development
IndianAppDevelopers

Recently uploaded (20)

Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation FourthStrategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
keileyrazawi
The Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptxThe Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptx
SamarHosni3
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptxO SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
AituzazKoree
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
A Biodiction : A Unit of Dr. Divya Sharma
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptxA-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
Quiz Club of PSG College of Arts & Science
10.socialorganisationandsocialsystem .pptx
10.socialorganisationandsocialsystem .pptx10.socialorganisationandsocialsystem .pptx
10.socialorganisationandsocialsystem .pptx
Vivek Bhattji
2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions
leigh441292
"The Write Path: Navigating Research Writing, Publication, and Professional G...
"The Write Path: Navigating Research Writing, Publication, and Professional G..."The Write Path: Navigating Research Writing, Publication, and Professional G...
"The Write Path: Navigating Research Writing, Publication, and Professional G...
neelottama
Research in Physical Education by Diwakar Kashyap Sir
Research in Physical Education by Diwakar Kashyap SirResearch in Physical Education by Diwakar Kashyap Sir
Research in Physical Education by Diwakar Kashyap Sir
Diwakar Kashyap
PATENTABILITY UNDER THE 2025 CRI DRAFT GUIDELINES
PATENTABILITY UNDER THE 2025 CRI DRAFT GUIDELINESPATENTABILITY UNDER THE 2025 CRI DRAFT GUIDELINES
PATENTABILITY UNDER THE 2025 CRI DRAFT GUIDELINES
BananaIP Counsels
How to manage Customer Tips with Odoo 17 Point Of Sale
How to manage Customer Tips with Odoo 17 Point Of SaleHow to manage Customer Tips with Odoo 17 Point Of Sale
How to manage Customer Tips with Odoo 17 Point Of Sale
Celine George
PSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First TryPSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First Try
lethamcmullen
technology in banking ppt FOR E-CONTENT -2.ppt
technology in banking ppt  FOR E-CONTENT -2.ppttechnology in banking ppt  FOR E-CONTENT -2.ppt
technology in banking ppt FOR E-CONTENT -2.ppt
HARIHARAN A
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay ChoudharyCode a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
QuantInsti
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-6-2025 ver 5.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-6-2025 ver 5.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-6-2025 ver 5.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-6-2025 ver 5.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
Analysis of Conf File Parameters in Odoo 17
Analysis of Conf File Parameters in Odoo 17Analysis of Conf File Parameters in Odoo 17
Analysis of Conf File Parameters in Odoo 17
Celine George
How to process Interwarehouse and Intrawarehouse transfers in Odoo
How to process Interwarehouse and Intrawarehouse transfers in OdooHow to process Interwarehouse and Intrawarehouse transfers in Odoo
How to process Interwarehouse and Intrawarehouse transfers in Odoo
Celine George
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷sPurchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Celine George
Pushyabhuti Dynesty Vardhan Vamsha Early Rulers.pptx
Pushyabhuti Dynesty Vardhan Vamsha Early Rulers.pptxPushyabhuti Dynesty Vardhan Vamsha Early Rulers.pptx
Pushyabhuti Dynesty Vardhan Vamsha Early Rulers.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
APM London Network: Essentials of a Good PMO, 2 April 2025
APM London Network: Essentials of a Good PMO, 2 April 2025APM London Network: Essentials of a Good PMO, 2 April 2025
APM London Network: Essentials of a Good PMO, 2 April 2025
Association for Project Management
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation FourthStrategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
keileyrazawi
The Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptxThe Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptx
SamarHosni3
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptxO SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
AituzazKoree
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
A Biodiction : A Unit of Dr. Divya Sharma
10.socialorganisationandsocialsystem .pptx
10.socialorganisationandsocialsystem .pptx10.socialorganisationandsocialsystem .pptx
10.socialorganisationandsocialsystem .pptx
Vivek Bhattji
2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions
leigh441292
"The Write Path: Navigating Research Writing, Publication, and Professional G...
"The Write Path: Navigating Research Writing, Publication, and Professional G..."The Write Path: Navigating Research Writing, Publication, and Professional G...
"The Write Path: Navigating Research Writing, Publication, and Professional G...
neelottama
Research in Physical Education by Diwakar Kashyap Sir
Research in Physical Education by Diwakar Kashyap SirResearch in Physical Education by Diwakar Kashyap Sir
Research in Physical Education by Diwakar Kashyap Sir
Diwakar Kashyap
PATENTABILITY UNDER THE 2025 CRI DRAFT GUIDELINES
PATENTABILITY UNDER THE 2025 CRI DRAFT GUIDELINESPATENTABILITY UNDER THE 2025 CRI DRAFT GUIDELINES
PATENTABILITY UNDER THE 2025 CRI DRAFT GUIDELINES
BananaIP Counsels
How to manage Customer Tips with Odoo 17 Point Of Sale
How to manage Customer Tips with Odoo 17 Point Of SaleHow to manage Customer Tips with Odoo 17 Point Of Sale
How to manage Customer Tips with Odoo 17 Point Of Sale
Celine George
PSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First TryPSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First Try
lethamcmullen
technology in banking ppt FOR E-CONTENT -2.ppt
technology in banking ppt  FOR E-CONTENT -2.ppttechnology in banking ppt  FOR E-CONTENT -2.ppt
technology in banking ppt FOR E-CONTENT -2.ppt
HARIHARAN A
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay ChoudharyCode a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
Code a Strategy on Pine Script With the Help of ChatGPT by Akshay Choudhary
QuantInsti
Analysis of Conf File Parameters in Odoo 17
Analysis of Conf File Parameters in Odoo 17Analysis of Conf File Parameters in Odoo 17
Analysis of Conf File Parameters in Odoo 17
Celine George
How to process Interwarehouse and Intrawarehouse transfers in Odoo
How to process Interwarehouse and Intrawarehouse transfers in OdooHow to process Interwarehouse and Intrawarehouse transfers in Odoo
How to process Interwarehouse and Intrawarehouse transfers in Odoo
Celine George
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷sPurchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Celine George

Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(Mini project)

  • 2. Introduction This Project is envisioned for studying and demonstrating the latest trends in multi-platform app development using a simple HTML 5 game build using Phaser game framework and ported to various platforms using PhoneGap and INTEL XDK. Developing for different platforms is very hard. HTML5 comes for the rescue.
  • 3. HTML5 HTML5 is the latest version of the mark-up language of the Internet. Rich multimedia support. Support for Offline Web Storage, GeoLocation API, Canvas Drawing, CSS3, 2D animations, and many more. HTML5 is becoming a preferred choice for developers.
  • 4. Phaser Phaser is a cross-platform game development framework for desktop and mobiles. It is open source. Lots of control over object. Works in 2D.
  • 5. PhoneGap Allows to build mobile apps using JavaScript, HTML5 and CSS3. Makes Hybrid Mobile Apps. Includes plugins which allow access to devices hardware. Uses cloud compiler to generate apps for different platforms.
  • 6. Intel XDK Intel XDK HTML5 Cross-platform Development Tool provides a simplified workflow to enable developers to easily design, debug, build and deploy HTML5 web and hybrid apps across multiple app stores, and form factor devices. From coding to publishing, everything in one software. Also uses cloud compiler to generate apps for different platforms.
  • 7. Game Development Using Phaser Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It provides fast 2D Canvas and WebGL rendering.
  • 8. Images in the game Images in the game are made using Adobe Photoshop CS6
  • 9. Animations Animations were made using Adobe Flash Professional CC
  • 10. Creating the Game Phaser works within the canvas element of HTML5 It is integrated using JavaScript in the script tag The Actual game renders inside a div tag The game states are declared in the Index.html The actual game states are defined in various .jsp files. Phaser allows for various settings and configurations of the physics elements of games like Movement, control, collisions and allows the user to either manually define them or let Phaser take control.
  • 13. Cross-Platform Porting The game is ported to different platforms in two ways: Using PhoneGap: Upload the complete project in .zip format on build.phonegap.com Provide the required info about the version to use to build the app. PhoneGap will automatically run through the code and insert necessary codes and information so that the application can run natively on the devices. The cloud compiler will compile the app and generate the applications for all the supported platforms like Android, iOS, Windows Phone, Symbian etc.
  • 14. Using Intel XDK: Install the Intel XDK tool and import your project. Go to build and select target platform and upload your project for compilation on the build server. The build server will scan through the code adding necessary details to make the app run native on the devices. The code will then be compiled by the cloud compiler which will generate the application for the preferred device. After build is finished you will get your application.
  • 15. Conclusion HTML5 is a goldmine waiting to be discovered. It has the ability to build once and deploy to many. Developing in HTML5 is easier than developing in native. There is faster implementation and deployment. There are limitations in performance and stability. But it is cost-effective and requires less maintenance than native. Cross-Platform building tools makes porting easier than ever. Should be a preferred choice for new developers in mobile application development.