Magic Link Tutorial Moving on section

At the end of the tutorial it gives a list of improvements a user may do to make the game better.

I had a question about a couple of them

Implement resolution independent rendering of the game so it looks equally good on screens with different resolutions and aspect ratios.

How could one go about achieving this in Defold? Would I use the render system api for this?

Re-implement the game using only the GUI APIs.

What does this mean? Replace all game objects and such with gui elements? Why?

Thanks for looking

1 Like

For the first thing, look at this example: https://github.com/britzl/publicexamples/tree/master/examples/fixed_aspect_ratio

It is a good way of handling various resolutions, and handling input. Beyond that too you could make multiple versions of screen layouts to target both landscape and portrait style screens, and float GUI elements or game objects to the corners of the real screen with the game area in the middle of the screen.

A reason to implement with GUI is to practice with them more.

1 Like

Thanks for the clarification, I’ll take a look at that code.

1 Like