Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

mobile application in responsive corona?
Started by diego_martinez93 Jan 25 2019 09:18 AM

1 reply to this topic
coronasdk responsiveapp
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 14 posts
  • Corona SDK

as I can do totally responsive application to different screen sizes, in the corona emulator shows the scenes well, but in a real mobile device some things move

[TOPIC: post.html]

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Corona Geek

  • 1,172 posts
  • Corona SDK

You really have to be a bit more precise. Do the objects move when you change the simulated device as well or do they only move on your devices? It's most likely that you've placed them using absolute coordinates, e.g. local rect = display.newRect( 200, 200, 200, 200 ), where the rect will appear in a different position on screens with different resolutions.

You might want to have a read of https://coronalabs.com/blog/2018/08/08/understanding-content-scaling-in-corona/