05-29-2009, 04:20 AM
Join Date: May 2009
Carrier: software developer
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Game Canvas Problem
Please Login to Remove!
I have developed a 2D game using J2me API.
I have used GameCanvas to draw TiledBackground and sprite.
I am positioning sprite according to the relative X and Y cords calculated on the basis of canvas width and height.
Its working fine in Sun's default color phone, exactly according to the calculated position. But my sprite goes out of screen in BlackBerry phones on the same calculated position.
Is any other option to make X and Y cords relative for each phone screen?