Search code examples
luacoronasdk

should I change the config.lua file's width and height to contentWidth and contentHeight


I am making an app and i just recently stumbled across the config.lua file, where the the width is 320px and height 480px(or something like that). I want my app to be versatile, so that you could play it on all devices. Should i change these to

    width = display.contentWidth,
    height = display.contentHeight, 

Solution

  • No. I recommended you read about Content Scaling.