Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

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

1 reply to this topic
coronasdk responsiveapp
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

diego_martinez93

[GLOBAL: userInfoPane.html]
diego_martinez93
  • Observer

  • 8 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]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 544 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/

 




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: coronasdk, responsiveapp