Hey guys,
So I've made a drawing program using the gesture library to support multitouch. This was working fine until I shrank the size of the canvas (I only want it to take up a portion of the screen) and now the points don't line up with where I press. I think what's happening is that Touchmap is designed for the fullscreen and that I need to do a bit of maths to translate the coordinates. Problem is... I don't know how to do that!
If anyone has any ideas please let me know, stayed up until nearly 5am trying to work this out!
Thanks huge amounts
So I've made a drawing program using the gesture library to support multitouch. This was working fine until I shrank the size of the canvas (I only want it to take up a portion of the screen) and now the points don't line up with where I press. I think what's happening is that Touchmap is designed for the fullscreen and that I need to do a bit of maths to translate the coordinates. Problem is... I don't know how to do that!
If anyone has any ideas please let me know, stayed up until nearly 5am trying to work this out!
Thanks huge amounts