i am developing j2me game for touch screen . there is a big map on which hero has to move .My problem is that when my hero moves at angle then my view window doesn't move according to it. in setViewwindow(x,y,Width( ),Height( )) i am incrementing x and y if moves x,y coordinates but effect is something different .

plz tell me how to move my hero of the game and view window simultaneously at angles like if hero moves (3,4) .