release_notes.txt 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. MIDP: Battle Tank
  2. ========================
  3. This application demonstrates usage of Java ME gaming features: sprites, tiles
  4. etc. Additionally, a reusable game structure is introduced where resources are
  5. loaded according to the screen size of device. In the game player's objective
  6. is to defend base and destroy all enemy tanks.
  7. -------------------------------------------------------------------------------
  8. PREREQUISITES
  9. Java ME basics
  10. Java ME threads and timers
  11. -------------------------------------------------------------------------------
  12. IMPORTANT FILES AND CLASSES
  13. src\..\BattleTankCanvas.java
  14. src\..\Game.java
  15. src\..\Resources.java
  16. src\..\Level.java
  17. Classes: GameCanvas, Vector, Graphics, Image, Sprite, TiledLayer.
  18. -------------------------------------------------------------------------------
  19. DESIGN CONSIDERATIONS
  20. The game separates UI rendering and updating game logic to separate threads to
  21. make sure handling events is smooth. The threads are paused when a screensaver
  22. starts, there is a incoming call, or so on, to prevent excess power consumption.
  23. Image resources are pre-scaled for three different resolutions: high
  24. (360x640), medium (240x320) and low (128x160).
  25. The state of the game is stored when user closes the application. User can
  26. resume to the saved state when returning to play again.
  27. -------------------------------------------------------------------------------
  28. KNOWN ISSUES
  29. Mixing sounds does not work with Symbian phones.
  30. -------------------------------------------------------------------------------
  31. BUILD AND INSTALLATION INSTRUCTIONS
  32. The example has been made with NetBeans 6.9.1 and Series 40 6th Edition, FP1
  33. SDK. The project can be easily opened in NetBeans by selecting 'Open Project'
  34. from the File menu and selecting the application.
  35. Before opening the project, make sure the Series 40 6th Edition, FP1 SDK is
  36. installed and added to NetBeans. Building is done by selecting 'Build main
  37. project'.
  38. Installing the application on a phone can be done by transfering the JAR file
  39. via Nokia Ovi Suite or via Bluetooth.
  40. -------------------------------------------------------------------------------
  41. RUNNING THE EXAMPLE
  42. From the menu, the player can resume to the latest game, start a new game,
  43. set sounds on/off and exit the game.
  44. Player's objective is to destroy all enemy tanks and not let them destroy the
  45. base. Player can collect various bonus items which have different effects: make
  46. player's tank indestructible for short time, destroy all enemy tanks etc.
  47. The top bar shows the number of player's tanks, current score points and
  48. enemies left in the current level. The menu button is in the bottom-right
  49. corner.
  50. -------------------------------------------------------------------------------
  51. COMPATIBILITY
  52. All Series 40 and Symbian platforms with CLDC 1.1, MIDP 2.0 and Mobile Media
  53. API (JSR-135)
  54. Tested on:
  55. 3110 classic
  56. X3 Touch and Type (X3-02)
  57. Developed with:
  58. Netbeans 6.9.1
  59. Series 40 6th Edition, FP1 SDK
  60. -------------------------------------------------------------------------------
  61. CHANGE HISTORY
  62. 1.0 First release