2012-11-04 102 views

回答

1

是的......有。

但我想你是問如何做到這一點。

在這種情況下,你需要使用display.captureBounds()

示例複製並粘貼從手動得到一個全屏幕圖像的右下角四分之一。

-- Set up a bounds table for capturing the bottom-right quadrant of the screen. 
local screenBounds = 
{ 
    xMin = display.contentWidth/2, 
    xMax = display.contentWidth, 
    yMin = display.contentHeight/2, 
    yMax = display.contentHeight, 
} 

-- Capture the bounds of the screen. 
local myCaptureImage = display.captureBounds(screenBounds) 
+0

謝謝,我可以切片使用一些天使切片。例如,我正在尋找使用蒙版給我切片圖像的方式。但是,無論如何,我會嘗試。 –