Help !! Setting density for android game

Put your problem here if it does not fit any of the other categories.

Help !! Setting density for android game

Postby internet630 » Wed Oct 24, 2012 7:55 pm

I am developing an Android game, in which a ball (bitmap) translates( is in motion). So I have provided motion equations for the ball. I have checked my app on Samsung galaxy S2 whose actual density is roundly 252 dpi, and It works fine on that. So my question is that Does these motions of bitmaps in surfaceView, depends on actual density of phone( i.e 252 dpi for S2) or generalized density(i.e 240 dpi).

I am confused whether if I run this app on 235 dpi smartphone, So will it have the same performance of motion as it is on Galaxy S2( with 252 dpi) or it would be little slow ?

Any help will be appreciated.
internet630
Freshman
Freshman
 
Posts: 4
Joined: Wed Oct 24, 2012 7:48 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests