Angry bird aim (492346)

hi my friends. :sunglasses:
one body tell me how I can to make an aim for my 2d game like angry bird ?!
thanx.

Just do it

Thanks for you’r help my friend.
it was the best help that I have see in my life :smile:

To be honest I don’t know what you expect the reply to be.

Just write a script that when the user presses the screen/mouse button you save the start position and when he releases it (i.e. the first frame he doesn’t press it anymore), you save the end position, calculate the direction vector and that’s it. You can all do this in a couple of lines using a bool if you want to keep it simple.

You can calculate the intermediate end position per frame to give visual feedback.

try out this tutorials to create best 2d games:
http://wiki.unity3d.com/index.php/2DShooter
http://walkerboystudio.com/html/unity_training___free__.html#unity3game3