P
P
piffo2020-05-06 16:10:49
C++ / C#
piffo, 2020-05-06 16:10:49

Adapting a 2d game to different aspect ratios?

I'm making a 2d platformer on PC in 16:9 aspect ratio. And if we assume that the player has a ratio of 4:3, 16:10, etc., then how to make the game adjust to the appropriate aspect ratio of the monitor? I know how to do it with ui. But how to do it with regular sprites? After all, the game is cut off nicely.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita, 2020-05-15
@piffo

Controlling Aspect Ratio in Unity

D
DanielMcRon, 2020-05-06
@DanielMcRon

The game is made immediately for a specific platform. When the screen is reduced, the same sprite size ratio is maintained as on the phone. Through Unity Remote you can check

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question