I’m planning to develop a 2D game for android devices by using simple Canvas Surfaces (I know that OpenGL might be more efficient – but Canvas should definitely be enough for my type of game).
I’m currently researching on how I should handle different screen sizes/resolutions/ratios of the different android devices. I don’t think it’s a big deal to scale a bitmap if the screen size is just 920×512 instead of 1920×1024 (for example) – but what about completely different ratios? Like 1200x800px screens? I would have to stretch these bitmaps, or just make more objects visible from my game, which would normally be hidden in shorter screens.
I didn’t really find anything useful on my research (mainly some discussions about Canvas VS OpenGL…) – so I’m giving it a try here.
What’s the best/most common used technique to adjust a game to different screen sizes? Other than just putting black borders along my game, if the width/height is too large.