the answer to the second link you provided ... I quote:
As noted above, dynamic image resolution works in conjunction with scaling of dynamic content (documented in the "Project Configuration" section of the documentation). For further reference, documents with dynamic image resolution are.
To use this function, you basically need to do two things:
- Use display.newImageRect (), not display.newImage () when loading images
- Specify one or more scaling thresholds in your projects config.lua file The syntax is as follows:
display.newImageRect ([parentGroup,] filename [, baseDirectory] imageWidth, imageHeight)
Elias manesiotis
source share