I’m pretty desperate when it comes to AS so here’s the deal:
I have a round button. When released it should get some acceleration and then slow down and stop - just as if you’re hitting a ball the only difference is that I don’t want it to move just left or right I want it to move upwards and downwards and also diagonally (this means randomly I guess) dependent on where the button was pressed. For example, if the ball is pressed on the left side it should go right and so on. I hope there’d be someone who could help.
Please if you could - include some code at least to get me started because just simple guidelines wouldn’t work.
Thank you in advance.