Java pcwu@npu.edu.tw Java Java Java Abstract People all like games. In this work, we develop a Java game on mobile phones. The game is based on 17 the historical background of Penghu. The leading role of the game is the king of pirates Jh-Long Jheng. We also deploy and test the game on the [4] platform of mobile phones. Key Words: Penghu, historical background, pirates, Java games. PSP () 1625 [5] Java [2] Java 1622 (1624 ) [3] 1624 8 () 1625 8
(Non-Player Character, NPC) 亁 (Governor) 1. 2. 3. (1) 1. 45 0 1 2 3 ( ENTER) CLDC/MIDP Java MIDlet suit ( 2) 1. (TiledLayer) 2. (LayerManager) 3. (Sprite)
Map Editor 7 2. 5.1 6. 3 4 MIDP 2.0 API TiledLayer 5 7. 3. 4. 5.2 8 9 10 5. Tile Studio[17] 8. Tile Editor 6
9. 11 10. 12. 5.3 HappyEO Java MIDI Java 1. JAR 2. NOKIA 6100 MIDP 1.0 JAR 64KMIDP 2.0 64K MIDP 2.0 Sony Ericsson 11 12 [1] PlayStation http://www.sceh.com.tw/ [2] SoMuch http://www.somuch.com.tw/ [3] Yahoo! http://tw.mobile.yahoo.com/game/game_index.php
[4] 2001 [12] EclipseME Home Page [5] 1998 http://eclipseme.org/index.html [6] / [13] Java 2 http://www.fa.gov.tw/tfb9/tfb9c1.htm 2001 [7] [14] Java http://www.fa.gov.tw/tfb9/tfb9dac.htm 2001 [8] J2ME- [15] Java Phone http://mail2.tmtc.edu.tw/%7emcse9011036/j2m 2002 E_Builder.htm [16] -J2ME [9] NetBeanshttp://www.netbeans.org/ MIDP2001 [10] Borlandhttp://www.borland.com.tw/ [17] Tile Studiohttp://tilestudio.sourceforge.net/ [11] Eclipsehttp://www.eclipse.org/ 1. () (int) (int) (int) (int) (int) (char) (char) X (int) Y (int) (int) (int) (char) (int) 2. () (int) (int) (int) (int) (char) (int) (char)
3 () (int) 80 55 45 70 30 60 50 (int) 20 55 65 40 80 60 70 (int) 100 100 100 100 100 100 100 (int) 6 8 9 5 9 7 9 (char) L* M H L H M M (int) 600 850 350 550 700 350 300 (int) 8 9 5 7 6 5 4 (Boolean)** 1 1 1 0 1 0 0 (Boolean)** 1 1 1 1 1 0 0 / (Boolean)*** 0 0 0 0 1 0 1 35 (int) 30 55 40 50 45 60 LM H