BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 05-29-2009, 03:20 AM   #1 (permalink)
New Member
Join Date: May 2009
Model: 7100t
Carrier: software developer
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Game Canvas Problem

Please Login to Remove!

Hi All,

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?

In Waits..


Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.