Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Handling image/screen scalling
Started by llordglassenward87 Oct 12 2018 07:08 AM

1 reply to this topic
scalling config.lua resolution
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 16 posts
  • Corona SDK

so I am having some trouble with config.lua - scalling. I've tried various different configuration options, but it still doesn't work as I would like it to be working.
Okay but first things first: so let's say I put an image (e.g. simplest white rectangle) somewhere around the screen corner at specific coordinates (whilist viewing it as particular mobile on corona simulator). 
All I need about my scalling's work is that, that this image, when we set on different screen resolution, will stay in exactly same position that equals its original position, having same proportions, but enlarged etc. appriopriately according to currently set screen resolution.
In short: Image on every device would sport on the same 'acocommodation' as it's on the device I'm working with.
Hope you understood me, thanks for all hep!

[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Corona Geek

  • 1,554 posts
  • Corona SDK

This explains it quite well.




Also tagged with one or more of these keywords: scalling, config.lua, resolution