playMaker

Author Topic: Request a simple two-separate-finger-touch Action!!  (Read 3032 times)

cb

  • Junior Playmaker
  • **
  • Posts: 66
Request a simple two-separate-finger-touch Action!!
« on: August 17, 2012, 10:32:26 AM »
I've spent the last 3 days trying to get a simple multi-touch Playmaker scene working and have failed. I've looked into this and will have one last attempt at it, I've seen one user say that you can split the touch screen into separate rectangles and check if the touches have occurred there...still not sure if that will distinguish between two separate fingers though. Also filtering when the Touch Count value=2...but same problem in making the device realise there are two separate touches happening on two separate objects, i.e NOT a 2-finger Drag.
I also use Finger Gestures but that doesn't help, so whether using FingerGestures or Playmakers Touch Actions I cannot achieve this!

Jean, you are the master of creating ACTIONS..please, when you get the time could you create a simple Playmaker scene/FSM that:

Has TWO cubes, one at far left and one at far right of the screen.
Allows you to simply rotate a Cube when the user holds their finger on it.
Rotates BOTH Cubes when BOTH are touched simultaneously with two separate fingers.
If this is done I will keep the action on standby for every app I make, and praise your name for all eternity !!!

Yours hopefully,
cb

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Request a simple two-separate-finger-touch Action!!
« Reply #1 on: August 18, 2012, 04:58:07 AM »
Hi,

 allow me few days, Unite is next week, so get back to me the week after if I did not get back to you before.

bye,

 Jean

cb

  • Junior Playmaker
  • **
  • Posts: 66
Re: Request a simple two-separate-finger-touch Action!!
« Reply #2 on: August 19, 2012, 11:53:12 AM »
That would be great Jean. Would really appreciate this.

miketolsa

  • Playmaker Newbie
  • *
  • Posts: 22
  • Just love playmaker !!!
    • 4Buffs Productions
Re: Request a simple two-separate-finger-touch Action!!
« Reply #3 on: July 11, 2015, 05:21:21 AM »
could anyone update on this topic .....

as I am facing the same problem .....

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Request a simple two-separate-finger-touch Action!!
« Reply #4 on: July 11, 2015, 12:04:00 PM »
Hi,
you need to use a touch object action,

and set use touch began as the event.

make an int variable and use it in "set finger id"

this will give an id number when you touch

on the other touch actions you can set the variable as finger id

here is a sample :



make a cube and copy this on the cube then you can copy the cube together with the fsm

there is a custom action on the EcoSystem that works better,
when you slide of the cube it will send "Touch Canceled" event properly.
« Last Edit: July 11, 2015, 12:44:29 PM by djaydino »