Series 40 Developer TrainingGetting Started with 2D GameDevelopment on Nokia Series 40 AshaPhonesMichael Samarin, Ph.DDire...
Today’s Topics» Understanding Gaming Market for Series 40» Where to get more information» 2D Game APIs in Mobile Java» Dem...
Series 40» 675 Million Devices» 3.9 Million Daily Downloads» Price range 35 – 140 Euro» Gaming Studios to compete with: EA...
Nokia Developer Guides and Docs» http://www.developer.nokia.com/Resources/Library/Java/#!dev  elopers-guides/ui-and-graphi...
Nokia Developer Guides and Docs» http://www.developer.nokia.com/Resources/Library/Java/#!dev  elopers-guides/ui-and-graphi...
› Game API Package (MIDP)› javax.microedition.lcdui.game  › GameCanvas  › Layer  › LayerManager  › Sprite  › TiledLayer
› GameCanvas  › Double buffered  › Convenient for minimizing code    of game loop  › Methods for querying status of    keys
› GameCanvas   public class MyCanvas extends GameCanvas implements Runnable {       public void run() {           Graphics...
›         ›         ›         ›  Live   ›Demos:   ›         ›         ›         ›
› Graphical Assets
› Graphical Assets – Sprite Star
› Graphical Assets – Sprite Lightning
› Layer  › Abstract class, any visual game    element› LayerManager  › Combines layers together,    provides viewport
› Sprite  › Animated game object› TiledLayer  › Game areas, backgrounds
› Sprite  › Animated element of the game    (character)  › Define Sequence, Delay  › Flip, Rotate  › Define Reference Poin...
› TIledLayer  › Defines game backgrounds  › Can be animated  › Doesn’t have Sprite methods
›         ›         ›         ›  Live   ›Demos:   ›         ›         ›         ›
› NetBeans Game Builder Plug-In
›         ›         ›         ›  Live   ›Demos:   ›         ›         ›         ›
Asha 303   Nokia 111
› Java Heap size (1 – 4 MB)           › JAR file size ( 1 – 2 MB)           › CPU speed           › Screen Size 240x 320, ...
Thank you!@MichaelSamarin
Upcoming SlideShare
Loading in...5
×

Introduction to 2D Game Development on Nokia Series 40 Asha Phones

4,317

Published on

During this webinar, you’ll learn how to get started with 2D game development for Nokia Series 40 Asha phones, even if you’ve never developed a game. Michael Samarin from Futurice will show you how to use the Game Builder tool to create simple games. All you need is familiarity with Java™ technology, with the NetBeans IDE (for which Game Builder is a plug-in), and with the Nokia SDK for Java™. Using the Game Builder visual tool and studying the code generated are great ways to build game development skills. The webinar also will give you an overview of Java ME classes typically used in game development. Finally, it will introduce you to asset-management techniques and associated platform limitations and capabilities.

2 Comments
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
4,317
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
162
Comments
2
Likes
3
Embeds 0
No embeds

No notes for slide

Introduction to 2D Game Development on Nokia Series 40 Asha Phones

  1. 1. Series 40 Developer TrainingGetting Started with 2D GameDevelopment on Nokia Series 40 AshaPhonesMichael Samarin, Ph.DDirector,Developer Training and EvangelismFuturice Oy+358 40 518 18 09michael.samarin@futurice.com @MichaelSamarin
  2. 2. Today’s Topics» Understanding Gaming Market for Series 40» Where to get more information» 2D Game APIs in Mobile Java» Demo of 2D Game Building Concepts» NetBeans 7.1 and Game Builder Plugin» Walking Through Game Builder Sample» Series 40 Devices and 2D Games Performance
  3. 3. Series 40» 675 Million Devices» 3.9 Million Daily Downloads» Price range 35 – 140 Euro» Gaming Studios to compete with: EA, Gameloft, Rovio, India Games
  4. 4. Nokia Developer Guides and Docs» http://www.developer.nokia.com/Resources/Library/Java/#!dev elopers-guides/ui-and-graphics/game-api.html6/4/201 42
  5. 5. Nokia Developer Guides and Docs» http://www.developer.nokia.com/Resources/Library/Java/#!dev elopers-guides/ui-and-graphics/game-api.html Oracle (Sun) Guides and Docs» http://developers.sun.com/mobility/midp/articles/gameapi/» http://developers.sun.com/mobility/midp/articles/game/
  6. 6. › Game API Package (MIDP)› javax.microedition.lcdui.game › GameCanvas › Layer › LayerManager › Sprite › TiledLayer
  7. 7. › GameCanvas › Double buffered › Convenient for minimizing code of game loop › Methods for querying status of keys
  8. 8. › GameCanvas public class MyCanvas extends GameCanvas implements Runnable { public void run() { Graphics g = getGraphics(); while(true) { // update the game state int k = getKeyStates(); // respond to key events flushGraphics(); } } }
  9. 9. › › › › Live ›Demos: › › › ›
  10. 10. › Graphical Assets
  11. 11. › Graphical Assets – Sprite Star
  12. 12. › Graphical Assets – Sprite Lightning
  13. 13. › Layer › Abstract class, any visual game element› LayerManager › Combines layers together, provides viewport
  14. 14. › Sprite › Animated game object› TiledLayer › Game areas, backgrounds
  15. 15. › Sprite › Animated element of the game (character) › Define Sequence, Delay › Flip, Rotate › Define Reference Point › Detect Collisions
  16. 16. › TIledLayer › Defines game backgrounds › Can be animated › Doesn’t have Sprite methods
  17. 17. › › › › Live ›Demos: › › › ›
  18. 18. › NetBeans Game Builder Plug-In
  19. 19. › › › › Live ›Demos: › › › ›
  20. 20. Asha 303 Nokia 111
  21. 21. › Java Heap size (1 – 4 MB) › JAR file size ( 1 – 2 MB) › CPU speed › Screen Size 240x 320, 320x240,Consider 128x160 › Input Type: T9, Qwerty, Touch-And- Type › Use Nokia Device Matrix › Remote Device Access
  22. 22. Thank you!@MichaelSamarin

×