GameSalad Project: Keep It Up Ball
A very simple GameSalad template showing a bouncing ball which you can tap in different directions.
It was originally shared in the GameSalad forum as advice to someone how to send an actor off in a direction based on where abouts the actor was touched, so does not contain any game logic like lives and scores.
It uses one formula (attached to the ball) to work out the angle of the kick based on where you tap on the ball.
Kick Angle = ((120/100)*((100/self.Size.Width)*(game.Touches.Touch 1.X-(self.Position.X-(self.Size.Width/2)))))+30
Click the link above to download the zip file.