FXField and referencepoint unwanted behavior ...

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)

1
2
3
4
5
6
7
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) 

FX Fields do not use reference points -they are mathematical expressions, not common Corona display objects. They are just represented by a display object (the circle you see) to let you easily determine and change their position and size. Those circles are only for your conveniance.

Okay, now I understand.

I tried another solution without yReference, I still see for the delay shown by the green circle, is a true one ot should I just don't care about it ?

views:1854 update:2012/1/15 11:04:51
corona forums © 2003-2011