- Home /
Same enemies per row across all mobile resolutions
Hi, I'm developing a game with target resolution 480x800.
My enemies have width 30px, and i want to position 16 enemies per row (16*30 = 480px).
But when I set resolution to 320x280 my enemies not fill the whole with of the screen.
I have tried to scale the enemies parent container according different aspect ration and works, but i don't know if this is the best way to solve the issue.
Is there another best way to solve it?
Answer by CheetahSpeedLion · Jul 12, 2017 at 04:03 AM
Hi, I think the Canvas Scaler is meant to handle that.
Your answer
Follow this Question
Related Questions
Mobile resolution problem 1 Answer
How to handle mobile resolutions without a headache? 0 Answers
How Reference Resolution of Canvas Scaler affects to sprite size? 0 Answers
newbe scaling maze sceen for different resolutions 0 Answers
scale with screen size causes ui objects to ignore boundaries. 2 Answers