I'm developing an IOS game. In the game, a user must prevent a ball from exiting the boundaries of the screen. To prevent the ball from exiting the boundaries, the user must interact with the ball to bounce it away from the screen by placing his/her finger on the screen at the point the user would like to bounce the ball away from.
Here, I got two problems: one, I wanna show the path of the ball by creating a line of path below the ball. I have a green path sprite.
Two, I wanna use second finger at the same time the first finger is in touch with the screen to bounce the ball away from, which means I wanna use two fingers at a time.
I'm not sure how make these work. Please help.