Is anyone else having issues with dynamic scaling and image sheets?
Basically:
-My 1x version looks great!
-The 2x version is distorted, such that I see the upper left quadrant of my frame/image stretched to fit the dimensions of the display object on screen.
In other words 25% of my frame has been stretched to fit the same area that should be used for the whole image!
[code]
local options =
{
– array of tables representing each frame (required)
frames =
{
– FRAME 1:
{
width = 128,
height = 128
},
– optional params; used for dynamic resolution support
sheetContentWidth = 256,
sheetContentHeight = 256
},
}
local imageSheet = graphics.newImageSheet( “thing_sheet.png”, options )
local thing = display.newImageRect( imageSheet,1,128,128)
[/code] [import]uid: 73951 topic_id: 25110 reply_id: 325110[/import]