Need help placing objects on screen to stay in same position on all screens. I've looked and searched for weeks and can not figure it out. I've attached a small program.
Jump to content
Hi @wvtxman and welcome to the Corona community forums. Your sample program did not attach. It's best to upload it to DropBox, Google Drive or similar and provide a URL for people to download it, or post the project to a service like GitHub.
It would be really helpful if you provided more information. There really isn't much here for us to go on. If you provided screenshots of how its behaving on different screens that would be quite helpful too.
With the lack of information you've provided, I can just suggest that you read this post and see if it helps you: https://coronalabs.com/blog/2018/08/08/understanding-content-scaling-in-corona/
You should also go to the Newbie forum and read the "Ask a better question, get a better answer" post.
this is the code I was trying to make the rectangles be in the same location on all screens including iPads.
Please re-read my post above. The code you posted isn't formatted. Use the blue <> button in the row with Bold and Italic and paste your code in the popup window. But your config.lua has a big impact on how things work. This is why I asked you to provide a full sample project in a .zip file.
Please read the post I referred to here: https://forums.coronalabs.com/topic/55780-ask-a-better-question-get-a-better-answer/
Asking better questions translates to better, more helpful answers. It's our long standing mantra: Help us Help you!
Community Forum Software by IP.Board