How to make a 2D game resolution independent

Hello everyone!

I would like to build a 2D game for Android and IOS.

When i build a 3D game everything scales nicelly according to aspect ratio and screen resolution.

My question is how can i implement scaling in a 2D game.

Thanks

I am working on this now, the most I can suggest right now is adjusting the size of your camera so that the height matches the height of the play space.

Map out each level of your game on graph paper. Draw level designs on the graph paper as they would appear on the game screen. If you’re creating a platformer the levels should progress from left to right with the ability to reach higher and lower into the level with platforms. RPG’s require you to create levels from a top-down perspective.