Hello.
I am facing a problem when using "attachtonewparent".
In the Studio doc it is specified that "With this method, you change the HTML parent of "mobile_obj" element. "target_obj" is the new parent of this element. The beauty of attachToNewParent is that the mobile_obj element DOES NOT MOVE during this process."
But when using it my object in moving, apparenl=tly for 7px (10% the size of my square).
I have used this function in a precedent game and there was no pb.
What can cause this strange behavior ? I have tried different combination on the "absolute or relative" positions but it does not seem to change anything.
NB : the studio project is "Badguizmotestun".
Thank you all for your clues
I am facing a problem when using "attachtonewparent".
In the Studio doc it is specified that "With this method, you change the HTML parent of "mobile_obj" element. "target_obj" is the new parent of this element. The beauty of attachToNewParent is that the mobile_obj element DOES NOT MOVE during this process."
But when using it my object in moving, apparenl=tly for 7px (10% the size of my square).
I have used this function in a precedent game and there was no pb.
What can cause this strange behavior ? I have tried different combination on the "absolute or relative" positions but it does not seem to change anything.
NB : the studio project is "Badguizmotestun".
Thank you all for your clues