you can watch this video i want to make this type of throw.
So i can tap and drag with touch and when i slide UP then ball throw but i don't want to push ball out of layout it should bounce from the wall.
any idea how can i achieve this ?
thanks in advance.
You can make the walls solid and add Bullet and Drag&drop behavior to the ball.
By default bullet is disabled. In "Ball Is dragging" event save Touch.SpeedAt(0) and Touch.AngleAt(0) in a pair of variables (tSpeed and tAngle for example). In "Ball On drop" event enable Bullet for this ball, set bullet speed to tSpeed, and bullet angle of motion to tAngle.
Develop games in your browser. Powerful, performant & highly capable.
Yes thanks this is working.