Hi all
The display.capture() function does not seem to be working correctly, at least with me. I am using the code below, but the group is captured with a black background insetad of being transparent as described in the documentation?
Anyone have any ideas or know if this is a known problem, or is it just a problem with the simulator or something…or am I just being stupid and doing something wrong?
Many thanks
Dean
local back = display.newImageRect(“back.jpg”, 800, 800)
local g = display.newGroup()
local world = display.newImageRect(“world.png”, 300, 300)
display.setDefault( “background”, 100,100,100,0 )
world.x, world.y = 200, 200
g:insert(world)
local combined = display.capture( g )
world:removeSelf()
world = nil
[import]uid: 75910 topic_id: 30316 reply_id: 330316[/import]