SlideShare a Scribd company logo
1 of 33
Game Development with
QML for Nokia Devices
By Faisal Iqbal – Mobile Specialist
About Me
   Faisal Iqbal a.k.a. chall3ng3r
   Adobe Flash, MS .Net, Nokia Qt
   10+ Years Professional Experience
   6+ Years with Mobile Technologies
   Nokia Developer Champion for 5 Years
   Won Local and International Mobile Dev.
    Contests
Highway Racer on Nokia Store
Some Achievements
   Highway Racer
     Developed in 1 Month - Graphics + Game Engine
     Aug 2011 – Released on Nokia Store (previously
      Ovi)
     September 2011
      Won Nokia & P@SHA MakeMyApp Challenge
      2011
     Feb 2011 – Over 280,000 Downloads!!!
Agenda
Workshop      Introduction to QML
Day 1
              Games Development with QML
              -- Lunch Break
              QML Plugins for Game
               Development
              -- Tea Break
              Lets Make a Ping Pong Game
Introduction to QML
- Qt and Qt Quick Platform Overview
- Future of Qt Quick
Qt and Qt Quick Platform
Overview
   Qt - Released publicly in 1995 by Trolltech
   Popular on Embedded platforms & Linux (KDE)
   2010 - Nokia Qt SDK v1.0 was released (Qt
    4.6)
   Qt Quick runs QML, introduced with Qt 4.7 -
    2011
   QML = Qt Meta Language / Qt Modeling
Qt Quick - QML
   JavaScript
                                 import QtQuick 1.0
   CSS
                                 Rectangle {
   GUI Layer for Qt Apps                  id: canvas
                                           width: 200
   Animations and Transitions             height: 200
                                           color: "blue"
   Fluid UI Performance                   Image {
    (60FPS)                                          id: logo
                                                     source: "pics/logo.png“
   Media APIs                                       anchors.centerIn: parent
                                                     x: canvas.height / 5
   Qt Mobility APIs             }
                                           }

   Qt C++ Plugins
Future of Qt Quick
   More Platforms like QNX, Android, iOS and maybe WP ;)
   Qt5 (summer 2012)
       Powerful and high-performing C++ API
   QML as the best way to create rich interfaces
   Qt Quick 2 in Qt5
   QML is our bet in "the next step in GUI programming"
   Should apply for most use-cases
   Qt Quick 2 uses the Google V8 Javascript Engine
       Superfast JS support
       Architectures: x86, x86-64, ARM
Future of Qt Quick – Continued…
   Qt Quick 3D
   QML bindings for Qt3D
   Access to OpenGL and 3D graphics hardware
   QML Item3D elements live in 3D space
       OpenGL, 3D hardware, and C++ convert this to 2D on screen
   Desktop support will continue to exist
       Qt Quick components for Desktop are ready
   Qt Webkit in Qt5
       Webkit 2 architecture
Game Development with QML
- QML User Interface Elements
- Graphics Performance
- Transitions & States
QML User Interface Elements
   Basic UI Elements
   Containers or
    Layout Managers
   Views or Pages
   Lets see in
    action…
QML User Interface Elements –
Cont.
   Qt Quick
    Components
   More Components
   Streamline
    Presentation on
    Meego and
    Symbian
   Lets see in
Graphics Performance
   Smooth & Fluid
   vs J2ME
   vs Flash Lite
   vs HTML5 Apps
   Lets see in
    action…
Transitions and States
   Built-in
   Easy
   Customizable
   Lets make some…
QML Plugins for Game Development
- Box2D QML Plugin - Basics
- Sound Engine
Box2D QML Plugin - Basics
   What is Box2D       Why Use Box2D
   Basic Concepts      Examples
     World               Angry  Birds
     Bodies              Moto Trial Racer

     Joints              Flying Bus – (No

   Lets play…             Box2D)
Sound Engine
   Qt Game Enabler
   Lets play…
Lets Make a Ping Pong Game!
- Sketching Storyboard
- Defining and Locking Features
Features & Sketching Storyboard
   Pencil and Paper      Splash Screen
   Write Everything      Main Menu
   Lets Draw…            Level 1
                          Pause Menu
                          Level End
Lets Talk – Q&A
Contact Me:
 Web: chall3ng3r.com

 Email: ifaisal@orison.biz

 Twitter/FB/Skype: chall3ng3r
Go home, but remember to come back tomorrow!
Agenda
Workshop      Coding Ping Pong Game
Day 2         Adding Finishing Touches
              -- Lunch Break
              Preparing for Publishing
              -- Tea Break
              Advance QML Tips & Tricks
              Closing Notes by P@SHA and Telenor
Coding Ping Pong Game
- Setting Up Qt Creator Project
- Box2D World and Bodies
- Game Logic
Setting Up The Environment
   New Qt Creator Project
   Box2D Libraries and Plugin
   Game GUI
   Game Logic
Adding Finishing Touches
- Sound Effects and Music
Sound Effects and Music
   Qt GameEnabler
   Online Sound Libraries
     http://www.freesound.org/
Preparing for Publishing
- Developer Signing and On-Device Testing
- Icons and Packaging
Developer Signing
   Visit: http://publish.nokia.com/
   Request UIDs from Nokia Publisher Team
   Install CODA and PerfMon on Device
   Sign and Test On Device
Icons and Packaging
   PNG and SVG-Tiny
   SIS for Symbian OS
   DEB for Meego OS
Advance QML Tips & Tricks
- Content Protection
- OpenGL GPU Acceleration
- Nokia Remote Device Access
Tips & Tricks
   Content Protection
     Decompress     SIS
     Embed   Code
   OpenGL Acceleration
   Nokia Remote Device Access
We Made It – Thank You
Contact Me:
 Web: chall3ng3r.com

 Email: ifaisal@orison.biz

 Twitter/FB/Skype: chall3ng3r

More Related Content

Recently uploaded

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
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
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
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
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
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
 
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
 

Recently uploaded (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
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
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
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
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
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
 
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
 

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Game Development with QML - chall3ng3r

  • 1. Game Development with QML for Nokia Devices By Faisal Iqbal – Mobile Specialist
  • 2. About Me  Faisal Iqbal a.k.a. chall3ng3r  Adobe Flash, MS .Net, Nokia Qt  10+ Years Professional Experience  6+ Years with Mobile Technologies  Nokia Developer Champion for 5 Years  Won Local and International Mobile Dev. Contests
  • 3. Highway Racer on Nokia Store
  • 4. Some Achievements  Highway Racer  Developed in 1 Month - Graphics + Game Engine  Aug 2011 – Released on Nokia Store (previously Ovi)  September 2011 Won Nokia & P@SHA MakeMyApp Challenge 2011  Feb 2011 – Over 280,000 Downloads!!!
  • 5. Agenda Workshop  Introduction to QML Day 1  Games Development with QML  -- Lunch Break  QML Plugins for Game Development  -- Tea Break  Lets Make a Ping Pong Game
  • 6. Introduction to QML - Qt and Qt Quick Platform Overview - Future of Qt Quick
  • 7. Qt and Qt Quick Platform Overview  Qt - Released publicly in 1995 by Trolltech  Popular on Embedded platforms & Linux (KDE)  2010 - Nokia Qt SDK v1.0 was released (Qt 4.6)  Qt Quick runs QML, introduced with Qt 4.7 - 2011  QML = Qt Meta Language / Qt Modeling
  • 8. Qt Quick - QML  JavaScript import QtQuick 1.0  CSS Rectangle {  GUI Layer for Qt Apps id: canvas width: 200  Animations and Transitions height: 200 color: "blue"  Fluid UI Performance Image { (60FPS) id: logo source: "pics/logo.png“  Media APIs anchors.centerIn: parent x: canvas.height / 5  Qt Mobility APIs } }  Qt C++ Plugins
  • 9. Future of Qt Quick  More Platforms like QNX, Android, iOS and maybe WP ;)  Qt5 (summer 2012)  Powerful and high-performing C++ API  QML as the best way to create rich interfaces  Qt Quick 2 in Qt5  QML is our bet in "the next step in GUI programming"  Should apply for most use-cases  Qt Quick 2 uses the Google V8 Javascript Engine  Superfast JS support  Architectures: x86, x86-64, ARM
  • 10. Future of Qt Quick – Continued…  Qt Quick 3D  QML bindings for Qt3D  Access to OpenGL and 3D graphics hardware  QML Item3D elements live in 3D space  OpenGL, 3D hardware, and C++ convert this to 2D on screen  Desktop support will continue to exist  Qt Quick components for Desktop are ready  Qt Webkit in Qt5  Webkit 2 architecture
  • 11. Game Development with QML - QML User Interface Elements - Graphics Performance - Transitions & States
  • 12. QML User Interface Elements  Basic UI Elements  Containers or Layout Managers  Views or Pages  Lets see in action…
  • 13. QML User Interface Elements – Cont.  Qt Quick Components  More Components  Streamline Presentation on Meego and Symbian  Lets see in
  • 14. Graphics Performance  Smooth & Fluid  vs J2ME  vs Flash Lite  vs HTML5 Apps  Lets see in action…
  • 15. Transitions and States  Built-in  Easy  Customizable  Lets make some…
  • 16. QML Plugins for Game Development - Box2D QML Plugin - Basics - Sound Engine
  • 17. Box2D QML Plugin - Basics  What is Box2D  Why Use Box2D  Basic Concepts  Examples  World  Angry Birds  Bodies  Moto Trial Racer  Joints  Flying Bus – (No  Lets play… Box2D)
  • 18. Sound Engine  Qt Game Enabler  Lets play…
  • 19. Lets Make a Ping Pong Game! - Sketching Storyboard - Defining and Locking Features
  • 20. Features & Sketching Storyboard  Pencil and Paper  Splash Screen  Write Everything  Main Menu  Lets Draw…  Level 1  Pause Menu  Level End
  • 21. Lets Talk – Q&A Contact Me:  Web: chall3ng3r.com  Email: ifaisal@orison.biz  Twitter/FB/Skype: chall3ng3r
  • 22. Go home, but remember to come back tomorrow!
  • 23. Agenda Workshop  Coding Ping Pong Game Day 2  Adding Finishing Touches  -- Lunch Break  Preparing for Publishing  -- Tea Break  Advance QML Tips & Tricks  Closing Notes by P@SHA and Telenor
  • 24. Coding Ping Pong Game - Setting Up Qt Creator Project - Box2D World and Bodies - Game Logic
  • 25. Setting Up The Environment  New Qt Creator Project  Box2D Libraries and Plugin  Game GUI  Game Logic
  • 26. Adding Finishing Touches - Sound Effects and Music
  • 27. Sound Effects and Music  Qt GameEnabler  Online Sound Libraries  http://www.freesound.org/
  • 28. Preparing for Publishing - Developer Signing and On-Device Testing - Icons and Packaging
  • 29. Developer Signing  Visit: http://publish.nokia.com/  Request UIDs from Nokia Publisher Team  Install CODA and PerfMon on Device  Sign and Test On Device
  • 30. Icons and Packaging  PNG and SVG-Tiny  SIS for Symbian OS  DEB for Meego OS
  • 31. Advance QML Tips & Tricks - Content Protection - OpenGL GPU Acceleration - Nokia Remote Device Access
  • 32. Tips & Tricks  Content Protection  Decompress SIS  Embed Code  OpenGL Acceleration  Nokia Remote Device Access
  • 33. We Made It – Thank You Contact Me:  Web: chall3ng3r.com  Email: ifaisal@orison.biz  Twitter/FB/Skype: chall3ng3r