I have a large image. This image has some text for user. So I must not resize the image to fit in the smaller screen. Image is much larger than device screen size. My intention is to draw the complete image in canvas without comprising size. I want to move image bit by bit upon user key event (left, right, up, down), something like scrolling.
I can draw an image in canvas by:-
g.drawImage(image, 0, 0, Graphics.TOP | Graphics.LEFT);
I don't know how to act according to key event to bring other parts of the images like scrolling.
I have seen many j2me game has such feature.
Can you body tell me where to look for this information? Thanks!