ISBN-10:
1556229984
ISBN-13:
9781556229985
Pub. Date:
07/31/2004
Publisher:
Jones & Bartlett Learning
Wireless Game Development In Java With MIDP 2.0

Wireless Game Development In Java With MIDP 2.0

by Ralph Barbagallo, Mikael Nerde

Paperback

Current price is , Original price is $39.95. You
Select a Purchase Option (1E)
  • purchase options
    $33.56 $39.95 Save 16% Current price is $33.56, Original price is $39.95. You Save 16%.
  • purchase options

Overview

Wireless Game Development In Java With MIDP 2.0

Explore the features of the MIDP Game API that ease the game development process.
Discover how to display bitmap graphics, draw text, and create geometric primitives.
Uncover the basics of wireless networking with both HTTP and TCP/IP.
Learn

Product Details

ISBN-13: 9781556229985
Publisher: Jones & Bartlett Learning
Publication date: 07/31/2004
Edition description: 1E
Pages: 342
Product dimensions: 5.98(w) x 9.00(h) x 0.77(d)

About the Author

game developer, Flarb Development

Table of Contents

Forewordxv
Acknowledgmentsxvii
Chapter 1Introduction1
The Story So Far...1
Just Who Do You Think You Are?3
Who Is This Book For?3
How Do I Use This Book?4
Coding Conventions4
How Do I Use the Companion Files?4
Conclusion5
Chapter 2A Crash Course in J2ME7
Introduction7
J2ME in Short8
Configurations9
Profiles9
J2ME in Action11
The Handsets17
Conclusion20
Chapter 3Introduction to MIDP 2.021
Introduction21
The Basic Requirements of CLDC21
The Basic Requirements of MIDP 2.023
Getting Started27
Using the Emulator35
Conclusion39
Chapter 4Getting Started with MIDP 2.041
Introduction41
Creating a New Project in KToolbar41
Compiling and Packaging47
Running the MIDlet48
The JAD and Manifest in Detail50
More MIDlet Programming Details55
Conclusion57
Chapter 5The Anatomy of MIDP 2.059
Introduction59
The MIDP Packages59
Conclusion62
Chapter 6Bitmap Graphics63
Introduction63
The Bitmap63
PNG64
The Image Class67
A Simple Example71
And Now...A Word about Repaint78
Animation79
Copying Bitmaps Over Themselves84
Double Buffering84
Coordinate Systems85
Conclusion87
Chapter 7Text and Geometric Graphics89
Introduction89
Drawing Text89
Drawing Geometry94
Conclusion99
Chapter 8The Graphical User Interface101
Introduction101
Key Events101
Soft Buttons105
Forms and Screens110
Third-Party GUI Packages135
Conclusion136
Chapter 9The Game API137
Introduction137
The Game API137
GameCanvas138
The Layer141
Sprite142
Tile Graphics Explained151
TiledLayer162
LayerManager166
A Simple Example168
Another Example177
Conclusion180
Chapter 10Sound and Music181
Introduction181
What Is MIDI?181
The Media API182
A Simple Example193
Conclusion194
Chapter 11Odds and Ends195
Introduction195
Persistent Storage195
Random Numbers202
Collection Classes203
TimerTasks and Threads206
Telling Time208
Conclusion208
Chapter 12Putting It All Together211
Introduction211
The Mobile Game Development Process211
Attack of the FLARB218
Running on Hardware242
Debugging on Hardware245
Conclusion246
Chapter 13Wireless Networking with HTTP247
Introduction247
The Wireless Network248
So Who Cares?254
Hypertext Transfer Protocol254
The Generic Connection Framework255
A Simple Example259
Conclusion269
Chapter 14Wireless Networking with TCP/IP271
Introduction271
Internet Game Programming271
Sockets272
Sockets and the GCF274
A Simple Example277
Conclusion300
Chapter 15Optimizing Your Game301
Introduction301
How to Time Your Code301
Basic Tips302
Obfuscation307
Basic Graphics Optimizations308
Conclusion309
Chapter 16MIDlet Distribution311
Introduction311
Via the Web311
Retail314
Over the Air315
Publishers and Aggregators317
Conclusion320
Appendix AJBuilder Mobile Edition321
Introduction321
Installation321
Your First JBuilder Project322
Conclusion329
Appendix BJ2ME vs. BREW331
Introduction331
What Is BREW?331
Moving from J2ME to BREW333
Conclusion334
Index335

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Wireless Game Development in Java with MIDP 2.0 5 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
This is a pretty good book for those looking to get started in MIDP 2. It covers some stuff relevant to MIDP 1 as well, so it can serve as a guide for those migrating to the new platform. I wish the chapter on distribution was longer--but it's also very informative. The tile map loading code is also much appreciated.