Almost There!
Well, the tests are complete. I now have a working Alpha version of the game.
There are five things left before I can move it to a beta state.
1. Handle different screen sizes to see if they can offset the main screen if it’s greater than the standard Screen Size of 176*208
2. If a screen cannot be configured correctly (not enough colours or screen size too small for playing) then a reject message is displayed and.
3. I’ve discovered this code to resize Images within J2ME. I’m going to try to integrate some of it if the size is less than the standard screen size of 176*208
private Image createThumbnail(Image image){ int sourceWidth = image.getWidth(); int sourceHeight = image.getHeight(); int thumbWidth = 64; int thumbHeight = -1; if (thumbHeight == -1) thumbHeight = thumbWidth * sourceHeight / sourceWidth; Image thumb = Image.createImage(thumbWidth, thumbHeight); Graphics g = thumb.getGraphics(); for (int y = 0; y < thumbHeight; y++) { for (int x = 0; x < thumbWidth; x++) { g.setClip(x, y, 1, 1); int dx = x * sourceWidth / thumbWidth; int dy = y * sourceHeight / thumbHeight; g.drawImage(image, x - dx, y - dy, Graphics.LEFT Graphics.TOP); } } Image immutableThumb = Image.createImage(thumb); return immutableThumb;}
4. I want to obviscate the game because it is almost 200K and I would like it a little smaller than that.
5. Update the Web/Wap site. That might me a lot of work but I’ll put a download page up for the beta.
After that there are three items left on the list.
1. Add Sounds. There are two spot effects which are ready to go in. One is a bleep when the seconds count down, the other is an electronic sound when the Process Unit is activated.
2. Tidy up some of the Dialogs and so they format properly this includes the Bluetooth Search Dialogs.
3. Get translations. There’s enough space for French and German, in addition to English.
After that we have a working copy for the Nokia Phones. Next it’s Sony Erricson, then Samsung and finally Motorolla and I hope that once I’ve sorted out the FullCanvas (It’s nokia specific) issue, I’ll be able to port it across quite easily (fingers crossed).


0 Comments:
Post a Comment
<< Home