Resolution Settings

Hey guys,

I’m creating a mobile game, and I need to know the best screen resolution for that.

I’ve created some buttons (Left, right, jump on GUI layer) and when I try them on my phone, the jump button position changes to the middle - bottom of the screen .

Wanted positions:

  • Left and Right buttons : Left -bottom of the screen
  • Jump button : Right- bottom of the screen

Actual resolution: 1280×720

Hope you understand my question. Thank you in advance.:smile:

There are a Anchor behavior to attach yours buttons in a corner and this keep same offset for all res.

5 Likes

Thanks!!!

Do I need to put any values to anchor? Or just the behavior?

I don’t know i’ve never use it yet.
Docs here
http://wiki.compilgames.net/doku.php/gdevelop5/behaviors/anchor#anchor_behavior

Thank you again! :grin::grin::grin: