View Single Post
aStrike's Avatar
Posts: 80 | Thanked: 225 times | Joined on Sep 2012
#42
taixzo: SDL informs me only on mouse down, up and move, and if I touch the screen with two fingers I get the middle of the two touch points.
Do you know how can I get more information from the touch screen (touch area as you mentioned, touch pressure and such)?

I thought about implementing multitouch a month ago this way (not the most ideal or elegant way and eventually didn't work): there are two joysticks with fixed centers on each side of the screen. When on finger is used (one joystick) it is the regular case. However, when there are two touch points I get the center of them and with that center I can calculate two values.
It didn't work because for example: if I move two fingers along the y-axis (one up and the other down), the touch points center will remain the same.
__________________
Check My Game, Alpha Strike V1.1.0-2 Now in Extras-devel.
Alpha Strike (v1.0.0-2) gameplay video: HERE!

Last edited by aStrike; 2012-09-28 at 23:34.
 

The Following User Says Thank You to aStrike For This Useful Post: