Ideas on how to accomplish this?
![Theodi](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi everyone!
Does anyone know a way to get GS to recognise which side of an actor, or better yet exact points of an actor that are tapped? For example the left and right sides, bottom left, bottom right and from that make the actor act according to the side it was tapped? So if it was tapped on the right side, it bounces off to the left. If theres a video on this that would be great!
Right now i'm using the random attribute which works, but it bounces in weird ways.
Does anyone know a way to get GS to recognise which side of an actor, or better yet exact points of an actor that are tapped? For example the left and right sides, bottom left, bottom right and from that make the actor act according to the side it was tapped? So if it was tapped on the right side, it bounces off to the left. If theres a video on this that would be great!
Right now i'm using the random attribute which works, but it bounces in weird ways.
Comments
Then left
Otherwise right
If your scene scrolls, you'll have to offset touch data with the camera origin.
If you're not sure how to work with Scene data and different types of attributes, The Unofficial GameSalad Textbook might be helpful to you.