I’m trying to rotate my FXFields via the elegant method explained by http://www.cheetomoskeeto.com/corona-sdk-12-x-and-yreference/.
So I’m doing the following (fields are attached to images that are also rotating)
Particles.CreateFXField("Kill"..i, 2, xPos, yPos-distance, 9, 18, true, 1)
images[i].field = Particles.GetFXField("Kill"..i)
images[i].field.yReference = distance
-- main loop sample :
images[i]:rotate(images[i].delta)
images[i].field:rotate(images[i].delta)
I have two problems, a tiny and a huge
the tiny :
fields move the same way as image, cool, but after some times, a minute or more, they begin to get in late as if the image were slighty faster …
the huge :
fields rotate perfectly, I can see the green discs, but for PC the killing field is in xPos,yPos …
So : should i drop the method given by cheetomoskeeto and try something else ?
Thx
[import]uid: 9328 topic_id: 20259 reply_id: 320259[/import]