Interface adaptation for different screens

Started by Vziuh, August 11, 2011, 01:08:34 PM

Previous topic - Next topic

Vziuh

   Hi everyone, i found that there is alot of different screens for android device
here's the  list:

240 x 320
240 x 640
320 x 480
480 x 854
540 x 960
640 x 960

320 x 240
400 x 240
800 x 480
800 x 600
1024 x 600
1280 x 800
1366 x 768

   I decide to make all my interface pictures for biggest screen from this list: 1366 x 768,
and if game will be started on android devise with smaller screen,  all pictures will be resized and adopted to screen dimension.

   At the moment I'm using    frame_buffer.blit method to output all images and rescale them.
My question is, if this method is fast enough or it's better to redraw image in smaller RGB array and crate smaller texture.

EgonOlsen

It's fine that way. The gpu doesn't care if it has to scale 1-1 or 1-something.

Vziuh