Hi, I've got a little problem with the "Set angle toward" function.
My game is something like that:
-A button to create a new platform (physic object, drag&drop)
-A default platform that is created when the layer is loaded
-A a bal that is used to set the angle of the platform.
So, that I want to do is:
-When I click on the button, it create a new platform at the center of the layer.
-When I click on one platform, the ball go to the right side of it, and when I stay clicking the ball, the angle of the "selected" platform change following the ball (the mouse so).
that it really happen:
-When I click on one platform, the ball go to the right side of it.
-When I stay clicking the ball, the angle of ALL platforms change following the ball (the mouse so).
Here is my event sheet:
<img src="http://i44.servimg.com/u/f44/13/84/06/30/screen10.png" border="0" />
Screens of the problem:
<img src="http://i44.servimg.com/u/f44/13/84/06/30/screen11.png" border="0" />
<img src="http://i44.servimg.com/u/f44/13/84/06/30/screen12.png" border="0" />
So, what I have to do to just move the latest platform selected and not all the platform created ?
Thanks (sorry for the english mistakes, I'm french).
Develop games in your browser. Powerful, performant & highly capable.
Thanks ! I learned a lot with your response =)