Could any explain the specific difference between display.contentWidth and display.viewableContentWidth?
from the docs:
display.contentWidth
A read-only property representing the original width of the content in pixels. This will default to the screen width, but may be another value if you are using content scaling in config.lua.
display.viewableContentWidth
A read-only property that contains the width of the viewable screen area in pixels, within the coordinate system of the original content. This is useful since depending on which dynamic scaling mode is used, and the aspect ratio of the device used to view the content, some of the original content may be scaled in such a way that portions are off-screen.
Just wanted to post those because I’ve read them over and over, and still can’t figure out what the difference is. Could someone provide a practical example to illustrate how they differ?
[import]uid: 49447 topic_id: 17682 reply_id: 317682[/import]