Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
ย
[Hajdukovic] Developing J2ME games for mobile phones
1. Developing J2ME games
Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
for mobile phones
Slovenia
www.razum.eu
info@razum.eu
ลฝiga Hajdukoviฤ, Razum d.o.o.
2. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
DEVELOPING J2ME GAMES FOR MOBILE PHONES
๏จ Intro
๏จ Mobile devices
๏จ Mobile games
๏จ HOWTO: Pong!
๏จ The Future
๏จ Questions / Contact
๏จ The Little Red Riding Hood
3. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
INTRO
๏จ Razum, research and development studio โ www.razum.eu
Developing advanced solutions to interesting problems and researching new technologies
๏จ Platform for building enterprise information systems
๏จ Server + web + mobile Blackberry client
๏จ Client-server Application Architecture Design
๏จ Oystar Small Business Loyalty โ RFID, Nokia 6131 NFC - 1st European NFC Competition โ Award!
๏จ Mobile games
๏จ 6-week โMobile Game Developmentโ course
Faculty for computer and information science, University of Ljubljana
6 lessons, 2 groups, 60 students, game dev. competition w/ awards!
๏จ Cocoasoft, Mobile Game Design & Development, AI
Car Racer 2 (racing FRP), Pahtum (board game, AI), Michel Vaillant Rally ..
๏จ Tetris1D.org โ www.tetris1d.org
Tetris1D, Tetris1D Mobile Edition, Twinoo, Trioomph ..
4. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE DEVICES - SHOUJI ( ๆๆบ )
๏จ
Mobile phones
๏จ
X1 / Windows Mobile / iPhone / Blackberry Storm ..
5. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE DEVICES - ADVANCED MULTIMEDIA FUNCTIONS
๏จ
Walkman - MP3 / Radio
๏จ
Photo / Video camera
๏จ
Television
๏จ
GPS
๏จ
Internet / blogging device
6. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE DEVICES
๏จ
3.3 billion (November, 2007) mobile phones โ half of the world population (80% by 2013)
๏จ
Keys, wallet, phone
๏จ
Wallet โ phone (!)
๏จ
Keys โ phone (!)
๏จ
Connecting people, social interaction
๏จ
Relatively cheap but high tech.
๏จ
The transition: Family phone โ personal object!
๏จ
Clock, alarms (wake up, events, todo..), calendar, camera
๏จ
Navigation, GPS, Bluetooth, ..
en.wikipedia.org/wiki/Mobile_phone
๏จ
Mobile Gaming!
revenue (billion $) (~10% annual growth): 2007 => $3.9, 2008 ~>$4.5, 2011 ~> $6.3
7. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE DEVICES - PROPERTIES
๏จ
Good +
๏จ
Connectivity โ โalwaysโ connected
๏จ
Handy โ always nearby
๏จ
Personalized โ personal device
๏จ
Evil -
๏จ
Unpredictable costs โ of connecting (but improving..)
๏จ
Unpractical โ small screen, small keypad
8. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE GAMES โ MOBILE INTERFACE DESIGN GUIDELINES
๏จ
Quality function formula:
๏จ Design for a tiny screen with bad contrast and color quality
๏จ MIN( user input ) - input is generally annoying for the user
๏จ MIN( data transfer ) - GPRS โ $/Kb
๏จ MIN( processor usage ) - battery! (3D?..)
๏จ
Keep in mind, desktop computer vs. mobile device paradigms
๏จ big screen broadband VS small screen GPRS
๏จ browse the web VS require specific piece of info
9. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE GAMES โ DEVELOPMENT PLATFORMS
๏จ
Java 2 ME
MIDP (1.0, 2.0, 2.1, ..3.0), CLDC (1.0, 1.1)
Extensions/JSRs: Bluetooth, WMA, MMAPI, PIM, Location, 3D..
๏จ
Symbian / C++
๏จ
Python (Nokia S60 platform)
๏จ
BREW (US) / C++ / Qualcomm
๏จ
i-Appli (Japan) ~ J2ME / DoCoMo
๏จ
Android (Google, Linux)
๏จ
iPhone!
๏จ
.NET Compact Framework (PocketPC, Windows Mobile)
en.wikipedia.org/wiki/Mobile_development
10. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE GAMES โ J2ME
๏จ
Why Java?
๏จ
Widely supported on mobile phones and devices
๏จ
Development tools readily available and free (Netbeanse, Eclipse, ..)
๏จ
Strong developer community
๏จ
MIDlet โ the mobile applet
๏จ
MIDlet installation package โ JAR+JAD files
๏จ
MIDP 1.0 .. LCD UI, RMS ..
๏จ
MIDP 2.0 .. Game API, MultiMedia API, setFullScreenMode
๏จ
CLDC 1.0 .. J2SE subset .. java.util, java.lang
๏จ
CLDC 1.1 .. +floating point..
11. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE GAMES โ J2ME API, OPTIONAL PACKAGES, MSA 2.0
12. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE GAMES โ TYPICAL DEVELOPMENT PROCESS โ INIT
๏จ Brain storming
The all important phase, more so as a game project begins, reappearing during various stages of
development.
๏จ Game Design Overview Document
Usually a quick brain dump of an individual to present a new game idea, couple of pages, core
gameplay description, main characters and game objects, and approximate development time line.
๏จ Game Design Document
Nice to have to keep all the developers on the same page, descriptions of all the game elements:
obstacles, opponents, NPCs, AI, level design, story flow.. depending on the game type
13. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE GAMES โ TYPICAL DEVELOPMENT PROCESS โ ITERATION
๏จ Development (coding, graphics, sound)
Tight developer coordination with graphics and audio designers
๏จ Iterative โgameplay testing โโ developmentโ cycle
The QA โdepartmentโ should test the game as often as possible!
๏จ Iterative โPorting โ Testing โ Bugfixingโ cycle
adjustments and optimizations for actual specified devices
๏จ Release
woohoo!
14. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
HOWTO: PONG!
๏จ
Game Engine
๏จ
HOWTO: Pong!
๏จ
Live Test!
๏จ
Tools
Netbeans 6.1 + Mobility Pack
Sun Java Wireless Toolkit (2.5.2 for CLDC)
15. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
16. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
MOBILE GAMES โ TIPS AND TRICKS
๏จ
Graphics
๏จ
Contrast! Outlining sprites and game objects
๏จ
Transparency for non-rectangular sprites
๏จ
Automatically (PNG optimizers: pngout..) and manually lower number of colors and edges
๏จ
Optimization
๏จ
Speed (WTK Profiler helps)
๏จ
Memory (Heap) โ prevent fragmentation!
๏จ
Package size (JAR Size) ... pngout, no folders, short class names, lower number of files
๏จ
Obfuscation
๏จ
Speed โsenseโ
๏จ
Aliveness โ is it working? Use indicators, progress bars..
๏จ
Responsiveness โ How much lag is there between user action and game screen response?
๏จ
Masking delays โ Use splash images while loading.. mini games when searching for open games..
๏จ
Porting
๏จ
Detecting and adjusting to screen size
๏จ
Netbeans mobile โconfigurationsโ
๏จ
Vector graphics (simple lines and rectangles or even more complex like SVG API (not yet widely supported!))
18. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
LINKS
๏จ Mobile game development course, spring 2005 (in Slovenian only)
www.tetris1d.org/game/dev/tecaj/Lesson_01.php
๏จ Gamasutra โ www.gamasutra.com
๏จ Game Developers Conference (Mobile) โ www.gdconf.com
๏จ Games on Deck โ www.gamesondeck.com
๏จ Forum Nokia โ forum.nokia.com
๏จ Sony Ericsson Developer โ developer.sonyericsson.com
๏จ About Mobility Weblog โ C. Enrique Ortiz โ weblog.cenriqueortiz.com
๏จ Sun Mobility โ developers.sun.com/mobility/allarticles/
๏จ Gameloft โ www.gameloft.com
๏จ glu โ www.glu.com
๏จ EA Mobile, Pop Cap, THQ Wireless ..
๏จ Google โ www.google.com
19. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
THE LITTLE RED RIDING HOOD โ TECHNOLOGY PREVIEW
Mobile download: m.razum.si
web demo: www.razum.si/game/
๏จ Player decision controlled story flow engine
๏จ โChoose Your Own Adventureโ style interactive gameplay
๏จ Vector graphics engine
๏จ All graphics scalable to different screen sizes!
(one size fits all)
20. Razum d.o.o.
Gozdna pot 7
1000 Ljubljana
Slovenia
www.razum.eu
info@razum.eu
QUESTIONS?
๏จ
Contact
๏จ
ลฝiga Hajdukoviฤ
ziga.hajdukovic@razum.eu
๏จ Looking for a fresh new job?
๏จ
Razum, research and development studio
info@razum.eu
www.razum.eu