Tiled map editor and device scaling

Hi. I was recently so impressed and inspired by watching Mike Wilson talking about (Pony)Tiled on a Corona Geek video that I though I would try and recreate the menu scene in Sticker Knight using (Pony)Tiled and the actual project files. The real version of Sticker Knight sticks to ALL of the device screen sizes like glue!!.. My recreation doesn’t fit very well at all… on anything :0( I have spent days looking over the code and Tiled but cannot see where I am going wrong with this… 

I’ve tried all kinds of juggling and algorithms with "display.“allsorts_of_properties” (…Not a real value) and map.designedHeight etc. to no avail. I am using the original Build settings, config.lua and main. Everything from the original project in fact.

​I have also tried creating a separate project/map using PonyTiled again but still cannot get the map to locate correctly across different devices (Corona Simulated).

I’m using Tiled Version 1.0.3.

Anyone have any wise words for where I am going wrong with this?

My recreation doesn’t fit very well at all… on anything :0(

My advise:

Try build simple project to make sure map is rendered properly on all devices. Next, step by step add new elements.

Maybe topic: Ponytiled on multiple screen ratios will be useful for you. 

Good luck:)

ldurniat

1.0.3?

Dang!  I’m using 0.18.2

Zip up your project and share it here.  Then we can look at it and give you inputs/suggestions.

-Ed

Will do Ed…(You were in that Corona Geek video too, asking the questions) might take a day or too though as I have to go to work for a few hours tomorrow :0(

In the meantime, to think about, I used everything from the Sticker Knight project, which did fit all devices and just made a new map based on dimensions I got from the original  .json file and exported my layout as a lua (tried a json too in case that was the problem), which didn’t fit too well.

One thing to pay careful attention to is your config.lua

My recreation doesn’t fit very well at all… on anything :0(

My advise:

Try build simple project to make sure map is rendered properly on all devices. Next, step by step add new elements.

Maybe topic: Ponytiled on multiple screen ratios will be useful for you. 

Good luck:)

ldurniat

1.0.3?

Dang!  I’m using 0.18.2

Zip up your project and share it here.  Then we can look at it and give you inputs/suggestions.

-Ed

Will do Ed…(You were in that Corona Geek video too, asking the questions) might take a day or too though as I have to go to work for a few hours tomorrow :0(

In the meantime, to think about, I used everything from the Sticker Knight project, which did fit all devices and just made a new map based on dimensions I got from the original  .json file and exported my layout as a lua (tried a json too in case that was the problem), which didn’t fit too well.

One thing to pay careful attention to is your config.lua