SlideShare a Scribd company logo
Cross-platform Game
DevelopmentQuangHD
OGDC 2013, HCM
Hello World!
Contact me: quanghd@cami.vn
Follow us: facebook.com/camistudio
He’s me exactly!
HTML5, WTF?
I mean…
What’s the fun?
HTML5, WTF?
• Media
• Web Socket
• Local Storage
• WebGL
• Canvas
New Javascript API
HTML5 = HTML + 5
HTML5, WTF?
What Canvas is
Showcase
To be
Continued
…
HTML5 – Why should?
HTML/JS is huge popular
HTML5 – Why should?
Easy to train or recruit employees
Hire me
HTML5 – Why should?
Cross-platform
HTML5 – Why should?
Friendly development environment
HTML5 – Why should?
Flexible UI system
HTML5 – Why not?
Performance
HTML5 – Why not?
Community is new and quiet
OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang
HTML5 – Why not?
3D is terrible
HTML5 – Why not?
Out-of-the-box
• Game Engine:
ImpactJS, Construct 2, CAAT… and 50 more
• Toolkit:
CocoonJS, appMobi SDK, PhoneGap…
• Server-side:
NodeJS, Socket.IO…
Powerful Toys
Powerful Toys
FPS - Benchmark Report
• Access Native APIs
– Location
– Notification
– Camera, blah blah…
• Services
– IAP (In-App-Purchase)
– Social Network Integration
– Ads Promotion, blah blah…
Powerful Toys
Turn-base mobile game on HTML5
A true story
ImpactJS CocoonJS Venturesoom
What did we choose?
99$ Free No way to
measure
• Text, effects… Write more plugins
• Screen Resolution Dev on middle ratio
• Limited Engine Do more on canvas
• RAM Consumption OMG (Oh My God!)
Problem/Solution
Memory Consumption
Large images/spritesheets loaded
Resolution: 1024x768
Format: PNG-8
Size: 916 bytes
In-Memory: 3MB!!!
(1024x768x4 bytes)
Memory Consumption
Wasted pixels
Resolution: 800x600
Format: PNG-8
Size: 619 bytes
In-Memory: 3MB!!!
(1024x768x4 bytes)
Wasted: 1.17MB
WTF?
Memory Consumption
• Solution:
– Create Image atlas
– Reuse image anytime
– Do own Garbage Collector
• CocoonJS Cloud System Compiling
– 1 minute action
– Android & iOS & Tizen…
– Ready to publish to App Store
Time to build
• Intel XDK Cloud System Compiling
– 1 minute action
– Android & iOS & Chrome & Win Phone…
– Ready to publish to App Store
Time to build
• Working smooth in 60fps (avg).
• Running on all popular platforms:
Android & iOS & Chrome & Win Phone…
The Epic Victory
Advices
The world is
moving to HTML5
Our Biggest Mistake
Was Betting Too
Much On HTML5
VS
The end
The game’s beginning…
Any
question?

More Related Content

PPT
Topic buying a computer dnt
PPTX
Wp7 performance challenges
PPTX
Ipad 2
PDF
Thinking cpu & memory - DroidCon Paris 18 june 2013
PPTX
The future of technology
PDF
Ubuntu en AAO
PDF
Running HTML5 Mobile Web Games at 60fps
PDF
Get responsive in 30 minutes (WordCamp Sofia)
Topic buying a computer dnt
Wp7 performance challenges
Ipad 2
Thinking cpu & memory - DroidCon Paris 18 june 2013
The future of technology
Ubuntu en AAO
Running HTML5 Mobile Web Games at 60fps
Get responsive in 30 minutes (WordCamp Sofia)

Similar to OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang (20)

PDF
HTML5 Games Status and issues
PDF
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
PPTX
Improving Game Performance in the Browser
PPTX
A Holistic Approach to HTML5 Game Design & Development
PDF
Game design & development
PPT
HTML5 Dev Conf 2013 Presentation
PDF
Building a game engine with jQuery
PPTX
Publishing HTML5 Games: It’s ShowTime! | Laurens Rutten
PPTX
Html5 (games)
PDF
Html5 - the new kid on the block
PPTX
Сергей Батищев: 2D игры на HTML5: мифы и реальность разработки
PDF
Hacking to be performant
PPTX
Html5 Game Development with Canvas
PPTX
Massively Social != Massively Multiplayer
PDF
Augernaut js
PDF
Creating Casual Games for Windows 8
PDF
Desarrollo de apps multiplataforma con tecnologías web
PDF
Sg conference multiplatform_apps_adam_stanley
PDF
Овчаренко Євген “Відеоігри це ефективність”
PDF
JS Fest 2019. Денис Радин. AAA 3D графика в Web с ReactJS, BabylonJS и Unity3D
HTML5 Games Status and issues
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
Improving Game Performance in the Browser
A Holistic Approach to HTML5 Game Design & Development
Game design & development
HTML5 Dev Conf 2013 Presentation
Building a game engine with jQuery
Publishing HTML5 Games: It’s ShowTime! | Laurens Rutten
Html5 (games)
Html5 - the new kid on the block
Сергей Батищев: 2D игры на HTML5: мифы и реальность разработки
Hacking to be performant
Html5 Game Development with Canvas
Massively Social != Massively Multiplayer
Augernaut js
Creating Casual Games for Windows 8
Desarrollo de apps multiplataforma con tecnologías web
Sg conference multiplatform_apps_adam_stanley
Овчаренко Євген “Відеоігри це ефективність”
JS Fest 2019. Денис Радин. AAA 3D графика в Web с ReactJS, BabylonJS и Unity3D
Ad

More from ogdc (20)

PDF
OGDC 2014_Entity system in mobile game development_Mr. Cody nguyen
PDF
OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...
PPSX
OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...
PDF
OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...
PDF
OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...
PDF
OGDC 2014_User segmentation and Monetization_Mr. Phat hoang
PDF
OGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong Hai
PDF
OGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc Duy
PDF
OGDC 2014_Architecting Games in Unity_Mr. Rustum Scammell
PDF
OGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien Giang
PDF
OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...
PDF
OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...
PDF
OGDC 2014_Why choosing 2D animation for Mobile Game?_Mr. Joe Tran
PDF
OGDC 2014_ An artist's story_Mr. Vu Cam Cong Danh
PDF
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
PDF
OGDC 2014_Cross platform mobile game application development_Mr. Makku J.Kero
PDF
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
PDF
OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...
PDF
OGDC 2014_Build your own Particle System_Mr. Nguyen Dang Quang
PDF
OGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van Thanh
OGDC 2014_Entity system in mobile game development_Mr. Cody nguyen
OGDC 2014_Sky Garden Mobile conceptualization: From PC to Mobile_Mr. Luc Hoan...
OGDC 2014_Creativity in Game Design - Case Study: Famous Vietnamese mobile ga...
OGDC 2014_Vietnam Mobile Internet 2014: A focus in smartphone game and compar...
OGDC 2014_Vietnam Smartphone game market 2013 overview. From vision to action...
OGDC 2014_User segmentation and Monetization_Mr. Phat hoang
OGDC 2014_Animation workflow with Spine in Tiny Busters_Mr. Huynh Dong Hai
OGDC 2014_Speed Up and make quality 3D game models_Mr. Pham Duc Duy
OGDC 2014_Architecting Games in Unity_Mr. Rustum Scammell
OGDC 2014_One-Man Studio: How to make a game prototype_Mr. Le Vo Tien Giang
OGDC 2014_Hands on experience with Cocos2dx in cross-platform with Farmery_Mr...
OGDC 2014_Optimize or Die: Key disciplines to optimize your mobile game_Mr. P...
OGDC 2014_Why choosing 2D animation for Mobile Game?_Mr. Joe Tran
OGDC 2014_ An artist's story_Mr. Vu Cam Cong Danh
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Cross platform mobile game application development_Mr. Makku J.Kero
OGDC 2014_Tips and Tricks for seasonal events and community building in Drago...
OGDC 2014_Business design is game design: 10 bits of business/design wisdom_M...
OGDC 2014_Build your own Particle System_Mr. Nguyen Dang Quang
OGDC 2014_ Game Design: 5 years of painful lessons_Mr. Do Van Thanh
Ad

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Cloud computing and distributed systems.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation theory and applications.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
Programs and apps: productivity, graphics, security and other tools
Review of recent advances in non-invasive hemoglobin estimation
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation_ Review paper, used for researhc scholars
The Rise and Fall of 3GPP – Time for a Sabbatical?
Building Integrated photovoltaic BIPV_UPV.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Advanced methodologies resolving dimensionality complications for autism neur...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
Cloud computing and distributed systems.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation theory and applications.pdf
MIND Revenue Release Quarter 2 2025 Press Release

OGDC2013_ Cross platform game development with html5_ Mr Hoang Dinh Quang