Anchor Point
gamevicci
Member, PRO Posts: 306
Hi, I have an answer
I made some games with The Games Factory and Multimedia Fusion, is it possibile in GameSalad to use an anchor point?
Example: I have a rectangle (actor 1), In a side of the rectangle I put another rectangle (actor 2).
I want that when I rotate actor 1 , actor 2 remain in the same point relatively to the actor 1, is it possibile?
If the actor 1 doesn't rotare It's simple (create two game variables, constrain these two variables to actor1 x and y coordinates, constrain actor 2 position to the two variables),
but if there is a rotation???
In TGF and MMF there is a anchor point for each actor, in GameSalad is there something like that? Or someone know how to resolve this trouble?
Thanks to all and sorry for my english
I made some games with The Games Factory and Multimedia Fusion, is it possibile in GameSalad to use an anchor point?
Example: I have a rectangle (actor 1), In a side of the rectangle I put another rectangle (actor 2).
I want that when I rotate actor 1 , actor 2 remain in the same point relatively to the actor 1, is it possibile?
If the actor 1 doesn't rotare It's simple (create two game variables, constrain these two variables to actor1 x and y coordinates, constrain actor 2 position to the two variables),
but if there is a rotation???
In TGF and MMF there is a anchor point for each actor, in GameSalad is there something like that? Or someone know how to resolve this trouble?
Thanks to all and sorry for my english
Comments