Hi
Tried to apply image effects to group object. But there is no easy way to do that. In the example code(bellow) applied blur effect on images. I want to apply one more effects to group object. How can i solve this? Thanks.
local group = display.newGroup()
local img1 = display.newImage(group,“i1.png”)
img1.x,img1.y = 160,240
img1.fill.effect = “filter.blur”
local img2 = display.newImage(group,“i1.png”)
img2.x,img2.y = 160,240
img2.fill.effect = “filter.blur”
–group.fill.effect = “filter.blur”
local function onEveryFrame( event )
img1.rotation = (img1.rotation + 5) % 360
img2.rotation = (img2.rotation + -5) % 360
end
Runtime:addEventListener( “enterFrame”, onEveryFrame )