Skip to content
ISBN: 1590593820
ISBN13: 9781590593820

J2ME Games with MIDP 2

$29.97List Price: $39.99
Save $10.02!
ISBN: 1590593820
ISBN13: 9781590593820
Formats

Conditions

A brand-new, unused copy in perfect condition.

Formats

Conditions

A brand-new, unused copy in perfect condition.

See all 4 editionsfrom $29.97

Book Overview

Softcover Repri
Format:
Paperback
Language:
English
ISBN:
1590593820
ISBN13:
9781590593820
Release Date:
June 2004
Publisher:
Apress L. P.
Length:
304 Pages
Weight:
1.30 lbs.
Dimensions:
0.8″ × 7.0″ × 9.4″
ComputersComputers & TechnologyEducation & ReferenceGame ProgrammingJavaLanguages & ToolsProgrammingSoftware Design, Testing & EngineeringSoftware Development

More by Carol Hamer

Customer Reviews

2 customer ratings | 2 reviews
Write a Review

Brings the fun back to Java

I really enjoyed this book. The author does a solid job of explaining everything you need to know to write games for MIDP devices. If you are familiar with Jonathan Knudsen's book on J2ME (probably the best book on the subject), this book expands the single games chapter into a fun and interesting book. The book starts with a quick sample showing us how to use the Sun IDE and how to run our games on the emulator and how to download our games to a phone. The author shows a couple of example games, a maze and a jumping game, that give a good overview of the basic techniques games use on MIDP devices. She then expands those examples by showing proper use of threads and shows how to play tones and music during a game. Storing information (such as high scores or user preferences) is demonstrated. Downloading game enhancements such as new levels for a dungeon game are also demonstrated. The book is full of well-commented code samples (worth stealing) that show the techniques being discussed. The author of this book has a nice, easy to read style of writing. Her enthusiasm for the topic comes through and makes you want to try the many sample games. If you have been spending too much time on enterprise programming then playing around with some MIDP games might be just the antidote and this book will get you started on the fun.

0

Single developer platform

Recently, on buses and trains, I've noticed people using cellphones to play games. On these dinky little screens, with a keypad instead of a keyboard, and with tinny audio. But even having all these constraints, such games have their attraction.This should be the draw to you, to program one of these mobile devices. If the hardware runs Java, then, as Hamer explains, J2ME is used. She describes how Sun stripped out a lot of Java classes, to arrive at a minimal subset that is aware of the severe constraints you face. Limited power. Small screen. Small memory. Intermittant and low bandwidth. No mouse. No keyboard. Get the picture?Yet even under all these limitations, Hamer shows how you can use J2ME and version 2 of MIDP to construct cool games. In many ways, it is harder than writing for a desktop or laptop or game console. But the best attitude is to regard this as a challenge of your ingenuity. Perhaps using this book, you will be the author of the next Tetris. I'm only half joking when I say this. Because there is something about this field that I don't think Hamer explicitly points out. If you go through the book, you should come to the conclusion that you can code an entire game by yourself. Realistically, this is no longer true for games on the other platforms. These are now storyboarded and written by a team of programmers, with often a million dollar budget. With J2ME and this book, you can still do it all.

0