Multitouch

trptrp Member Posts: 16
edited November -1 in Working with GS (Mac)
Hello,

is multitouch available in GS? I am looking for a way to get how big a touched area is. Any ideas?

Regards

Comments

  • scrapee_netscrapee_net Member Posts: 424
    Yes. There is multitouch. A way to do that I think, should calculate the distance between touch1 X and Touch2 X for example...
    You can get these values on Devices > Touchs >
    Then, there is a lot of touch options. Touch 1, touch 2, touch3, etc... There is 12 touches for ipad.

    You can also know how many touches is there on the screen, using the Touches > Count.
  • MotherHooseMotherHoose Member Posts: 2,456
    to figure out area of user's touch you use those Devices>>Touches>>Position>>x and y...

    the whole screen can react to a touch in a particular area
    In Art in the Louvre-HD... on the main screen I did not use button actors... just the touch input...
    and also in the much smaller selections for the obscure objects.
    (immensely made the image file smaller....)

    to set up I used a drag-able crossHairs actor... and had a Display Text to show where its X and Y were in preview...
    then on the background image ... all the rules for touch
    when touch1.Position.X > and X <
    when touch1.Position.Y > and Y <
    changeAttribute game.playIndex to appropriate #

    all the other actors responded to the playIndex...

    may seem complicated... but isn't hard... and does make an appreciable difference in image content, file size, and swift game play.

    MH
  • trptrp Member Posts: 16
    Thanks I will test after the weekend ;-)
Sign In or Register to comment.