SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
NOKIA ASHA IDEA TO APP
Games for Kids

Michael Samarin
Director,
Developer Training and Evangelism
Futurice
@MichaelSamarin
BEFORE WE BEGIN…
•
•

•

This webinar is for beginner Asha game developers
All information you need in order to start making
games is available in Nokia Asha SDK 1.1:
• IDE and Asha 50x Emulator
• Complete 2D and 3D game examples
• Extensive offline Help system with
documentation on Java APIs and step-bystep developer guides
We encourage you to download SDK and start
experimenting:

http://developer.nokia.com/asha/java/downloads
ASHA GAMES FOR KIDS
•
•
•
•
•
•
•

It’s only about your Ideas …
Understand your target age
Understand Store Content Guidelines
APIs for sound and music
APIs for user input – touch and sensors
APIs for persistence
APIs for 2D and 3D graphics
MENU AND GAME CONTROLS
• Avoid complex hierarchical menu structures
• Remember about “Angry Birds” generation – in
many cases text is not required in game menus
• For Asha 500 series do not use concept of soft
keys – design separately for keyboard based
Asha
• Do not invent complex in-game controls – use
direct touch and accelerometer
• Sound and music are as important as graphics –
don’t make them annoying and too simple
MEDIA PLAYBACK
• Following JSRs allow developers
incorporating and controlling sound /
music playback on Asha:
• Mobile Media API (MM API) (JSR-135)
• Advanced Multimedia Supplements
API for J2ME (AMMS API) (JSR-234)
• Both JSRs are available on all Asha
devices, but with different capabilities
TOUCH
• Single touch, part of MIDP
• Only tracks 1st touch point
• Multipoint Touch (Nokia API)
• Tracks multiple touch points
• Call-back for touch changes, but status
available any time
• Gestures recognition (Nokia API)
• Tap, Long Press, Drag, Drop, Flick,
Pinch
SENSORS
• JSR 256 Sensor API
• Optional Generic API: designed for
battery, network status, also for
temperature, blood pressure, etc.
• Acceleration: –2g .. +2g, x / y / z axis
• Double Tap: 1 .. 63, phone sides
• Orientation: 0 .. 6, phone orientation
PERSISTENT STORAGE
• Keeping data between game sessions
• Extending game’s data or graphical assets (not code) beyond JAR file
size limit
• FileConnection API
• Optional JSR-75, but available on all Series 40 devices
• RecordStore (also known as RMS)
• Part of MIDP specification
• Both APIs operates on file system level, but with different abstraction
layers. There are no performance benefits of using one vs. another,
they are equally fast (or slow) – you should choose, according to your
game needs
ASHA APIS FOR 2D AND 3D GRAPHICS
• 2D Game Development
• Game API, part of the MIDP 2.0
standard, java package:
javax.microedition.lcdui.game
• LWUIT, available as SDK Plug-In,
suitable especially for Puzzle games
• 3D Game Development
• Mobile 3D Graphics API, optional JSR184 also known as M3G
2D GAME API
•
•

•
•
•
•

Game API Package (MIDP):
GameCanvas
• Double buffered
• Convenient for minimizing code of game loop
• Methods for querying status of keys
Layer
• Abstract class, any visual game element
LayerManager
• Combines layers together, provides viewport
Sprite
• Animated game object
TiledLayer
• Game areas, backgrounds
LWUIT
•

•

•

•

Comprehensive UI library
• Use the rich set of easily customizable UI
components, such as Table, Calendar, and
HTML.
Transitions and animations
• Add animations to UI components and
transitions between Forms using Animation
Framework.
UI and theme design
• Use Asha themes or create custom themes.
Create UIs and themes with Resource Editor.
Layout management
• Define Layouts, such as grid, table, and flow
in code editor or using Resource Editor.
MOBILE 3D GRAPHICS API JSR-184 OR M3G
•
•
•
•
•
•
•

Object-Oriented 3D and Scene Graph based
Very compact API with fast development
Optimized for small memory and budget CPU
Immediate mode
• Similar to OpenGL ideology
Retained mode
• Scene Graph based
Entire Scene Graph can be restored from file
• Well defined M3G format
Modes can be freely mixed
THANK YOU!

Contenu connexe

En vedette

Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky SudokuNokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky SudokuMicrosoft Mobile Developer
 
Nokia Asha UX webinar: Design tips for Nokia Asha game developers
Nokia Asha UX webinar: Design tips for Nokia Asha game developersNokia Asha UX webinar: Design tips for Nokia Asha game developers
Nokia Asha UX webinar: Design tips for Nokia Asha game developersMicrosoft Mobile Developer
 
Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0Microsoft Mobile Developer
 
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...Microsoft Mobile Developer
 
Deep dive into Nokia Asha UI design: Fundamentals
Deep dive into Nokia Asha UI design: FundamentalsDeep dive into Nokia Asha UI design: Fundamentals
Deep dive into Nokia Asha UI design: FundamentalsMicrosoft Mobile Developer
 
Nokia Asha webinar: Developing health-care applications for Nokia Asha phones
Nokia Asha webinar: Developing health-care applications for Nokia Asha phonesNokia Asha webinar: Developing health-care applications for Nokia Asha phones
Nokia Asha webinar: Developing health-care applications for Nokia Asha phonesMicrosoft Mobile Developer
 
Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsMicrosoft Mobile Developer
 

En vedette (10)

Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky SudokuNokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
Nokia Asha UI Clinic: November 2013 — Jumping Man and Sky Sudoku
 
Nokia Asha UX webinar: Design tips for Nokia Asha game developers
Nokia Asha UX webinar: Design tips for Nokia Asha game developersNokia Asha UX webinar: Design tips for Nokia Asha game developers
Nokia Asha UX webinar: Design tips for Nokia Asha game developers
 
Introduction to Nokia Asha SDK 1.2 (beta)
Introduction to Nokia Asha SDK 1.2 (beta)Introduction to Nokia Asha SDK 1.2 (beta)
Introduction to Nokia Asha SDK 1.2 (beta)
 
Push notifications on Nokia X
Push notifications on Nokia XPush notifications on Nokia X
Push notifications on Nokia X
 
Introducao a nova plataforma nokia asha
Introducao a nova plataforma nokia ashaIntroducao a nova plataforma nokia asha
Introducao a nova plataforma nokia asha
 
Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0Introduction to Nokia Asha software platform 1.0
Introduction to Nokia Asha software platform 1.0
 
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
Nokia Asha webinar: Developing location-based services for Nokia Asha phones ...
 
Deep dive into Nokia Asha UI design: Fundamentals
Deep dive into Nokia Asha UI design: FundamentalsDeep dive into Nokia Asha UI design: Fundamentals
Deep dive into Nokia Asha UI design: Fundamentals
 
Nokia Asha webinar: Developing health-care applications for Nokia Asha phones
Nokia Asha webinar: Developing health-care applications for Nokia Asha phonesNokia Asha webinar: Developing health-care applications for Nokia Asha phones
Nokia Asha webinar: Developing health-care applications for Nokia Asha phones
 
Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and tools
 

Plus de Microsoft Mobile Developer

Location based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagLocation based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagMicrosoft Mobile Developer
 
Windows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appWindows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appMicrosoft Mobile Developer
 
La pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeLa pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeMicrosoft Mobile Developer
 
Il pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoIl pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoMicrosoft Mobile Developer
 
Lens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraLens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraMicrosoft Mobile Developer
 
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0Microsoft Mobile Developer
 
Sviluppare una live app notifiche, live tile, lock screen
Sviluppare una live app notifiche, live tile, lock screenSviluppare una live app notifiche, live tile, lock screen
Sviluppare una live app notifiche, live tile, lock screenMicrosoft Mobile Developer
 
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data SharingAccesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data SharingMicrosoft Mobile Developer
 

Plus de Microsoft Mobile Developer (19)

Healthcare apps for Nokia X and Nokia Asha
Healthcare apps for Nokia X and Nokia AshaHealthcare apps for Nokia X and Nokia Asha
Healthcare apps for Nokia X and Nokia Asha
 
Lessons learned from Nokia X UI reviews
Lessons learned from Nokia X UI reviewsLessons learned from Nokia X UI reviews
Lessons learned from Nokia X UI reviews
 
Location based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagLocation based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tag
 
HERE Maps for the Nokia X platform
HERE Maps for the Nokia X platformHERE Maps for the Nokia X platform
HERE Maps for the Nokia X platform
 
Nokia In-App Payment - UX considerations
Nokia In-App Payment - UX considerationsNokia In-App Payment - UX considerations
Nokia In-App Payment - UX considerations
 
UX considerations when porting to Nokia X
UX considerations when porting to Nokia XUX considerations when porting to Nokia X
UX considerations when porting to Nokia X
 
Kids' games and educational app design
Kids' games and educational app designKids' games and educational app design
Kids' games and educational app design
 
Nokia X: opportunities for developers
Nokia X: opportunities for developersNokia X: opportunities for developers
Nokia X: opportunities for developers
 
Lumia App Labs: Nokia Imaging SDK 1.1
Lumia App Labs: Nokia Imaging SDK 1.1Lumia App Labs: Nokia Imaging SDK 1.1
Lumia App Labs: Nokia Imaging SDK 1.1
 
Intro to Nokia X software platform and tools
Intro to Nokia X software platform and toolsIntro to Nokia X software platform and tools
Intro to Nokia X software platform and tools
 
Windows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appWindows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra app
 
La pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeLa pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo store
 
Il pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoIl pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progetto
 
Lens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraLens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocamera
 
NFC, Bluetooth e comunicazione tra app
NFC, Bluetooth e comunicazione tra appNFC, Bluetooth e comunicazione tra app
NFC, Bluetooth e comunicazione tra app
 
Connettersi al Cloud Azure Mobile Services
Connettersi al Cloud Azure Mobile ServicesConnettersi al Cloud Azure Mobile Services
Connettersi al Cloud Azure Mobile Services
 
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
LUMIA APP LABS #18: INTRODUCING NOKIA IMAGING SDK 1.0
 
Sviluppare una live app notifiche, live tile, lock screen
Sviluppare una live app notifiche, live tile, lock screenSviluppare una live app notifiche, live tile, lock screen
Sviluppare una live app notifiche, live tile, lock screen
 
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data SharingAccesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
Accesso ai Dati in Windows Phone: Isolated Storage, Database e Data Sharing
 

Dernier

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Nokia Asha idea to app - games for kids

  • 1. NOKIA ASHA IDEA TO APP Games for Kids Michael Samarin Director, Developer Training and Evangelism Futurice @MichaelSamarin
  • 2. BEFORE WE BEGIN… • • • This webinar is for beginner Asha game developers All information you need in order to start making games is available in Nokia Asha SDK 1.1: • IDE and Asha 50x Emulator • Complete 2D and 3D game examples • Extensive offline Help system with documentation on Java APIs and step-bystep developer guides We encourage you to download SDK and start experimenting: http://developer.nokia.com/asha/java/downloads
  • 3. ASHA GAMES FOR KIDS • • • • • • • It’s only about your Ideas … Understand your target age Understand Store Content Guidelines APIs for sound and music APIs for user input – touch and sensors APIs for persistence APIs for 2D and 3D graphics
  • 4. MENU AND GAME CONTROLS • Avoid complex hierarchical menu structures • Remember about “Angry Birds” generation – in many cases text is not required in game menus • For Asha 500 series do not use concept of soft keys – design separately for keyboard based Asha • Do not invent complex in-game controls – use direct touch and accelerometer • Sound and music are as important as graphics – don’t make them annoying and too simple
  • 5. MEDIA PLAYBACK • Following JSRs allow developers incorporating and controlling sound / music playback on Asha: • Mobile Media API (MM API) (JSR-135) • Advanced Multimedia Supplements API for J2ME (AMMS API) (JSR-234) • Both JSRs are available on all Asha devices, but with different capabilities
  • 6. TOUCH • Single touch, part of MIDP • Only tracks 1st touch point • Multipoint Touch (Nokia API) • Tracks multiple touch points • Call-back for touch changes, but status available any time • Gestures recognition (Nokia API) • Tap, Long Press, Drag, Drop, Flick, Pinch
  • 7. SENSORS • JSR 256 Sensor API • Optional Generic API: designed for battery, network status, also for temperature, blood pressure, etc. • Acceleration: –2g .. +2g, x / y / z axis • Double Tap: 1 .. 63, phone sides • Orientation: 0 .. 6, phone orientation
  • 8. PERSISTENT STORAGE • Keeping data between game sessions • Extending game’s data or graphical assets (not code) beyond JAR file size limit • FileConnection API • Optional JSR-75, but available on all Series 40 devices • RecordStore (also known as RMS) • Part of MIDP specification • Both APIs operates on file system level, but with different abstraction layers. There are no performance benefits of using one vs. another, they are equally fast (or slow) – you should choose, according to your game needs
  • 9. ASHA APIS FOR 2D AND 3D GRAPHICS • 2D Game Development • Game API, part of the MIDP 2.0 standard, java package: javax.microedition.lcdui.game • LWUIT, available as SDK Plug-In, suitable especially for Puzzle games • 3D Game Development • Mobile 3D Graphics API, optional JSR184 also known as M3G
  • 10. 2D GAME API • • • • • • Game API Package (MIDP): GameCanvas • Double buffered • Convenient for minimizing code of game loop • Methods for querying status of keys Layer • Abstract class, any visual game element LayerManager • Combines layers together, provides viewport Sprite • Animated game object TiledLayer • Game areas, backgrounds
  • 11. LWUIT • • • • Comprehensive UI library • Use the rich set of easily customizable UI components, such as Table, Calendar, and HTML. Transitions and animations • Add animations to UI components and transitions between Forms using Animation Framework. UI and theme design • Use Asha themes or create custom themes. Create UIs and themes with Resource Editor. Layout management • Define Layouts, such as grid, table, and flow in code editor or using Resource Editor.
  • 12. MOBILE 3D GRAPHICS API JSR-184 OR M3G • • • • • • • Object-Oriented 3D and Scene Graph based Very compact API with fast development Optimized for small memory and budget CPU Immediate mode • Similar to OpenGL ideology Retained mode • Scene Graph based Entire Scene Graph can be restored from file • Well defined M3G format Modes can be freely mixed