Hi Caleb,
I’ve been busy working with one game project where we utilize Dusk engine and Tiled. I have image layer representing the background, basically one still image. Then I place objects in corona code on top of the background etc… Basic stuff. I am using .JSON file to represent my map.
So far, I have done all development on PC environment and deployed to Android devices. All good.
Then recently, I setup my Mac to get a demo in my iOS devices but strange thing happened.
I attached two pictures to show my issue.
It looks like that objects are in their right locations in iOS as well but the background is scaled or moved.
I don’t do any modifications on the files but just build it Corona at Mac. Even the simulator shows the graphics the same way misaligned.
Have you experienced this before?
What makes this even more strange, that I have another scene which is just fine both in Windows and Mac?!?
Map that is correct has 64x43 tiles and each tile is 31x31 and background image 2000x1333
Map which misaligns has 70x54 and 31x31 tiles and background image 2168 x 1644
everything else is the same
could it be those background image aspect ratios or what could be the reason? I am lacking ideas
br
Teemu