playMaker

Author Topic: Multitouch  (Read 3061 times)

CDSpeck

  • Playmaker Newbie
  • *
  • Posts: 1
Multitouch
« on: May 20, 2015, 01:12:30 PM »
Hi!How I can make multitouch in Android game.I have 2 FSMs.First FSM is Input.When touch GUI event is moved or began on state 1 it is go to State 2 and this state has action move towards (left/right/forward/backward(I made objects,that parent of them is player).When touch cancelled or ended in state 2 it is go to state 1.It is works fun.but I have problem.I made Jump FSM and it conflicts with Fsm Input.Jump works perfectly and I make directional jump.But when I touch gui on FSM Jump and I touch GUI on FSM Input,FSM Input don't works.I think it is touch conflict and I want to make multitouch.How can I make it?

VascBogdan

  • Full Member
  • ***
  • Posts: 118
Re: Multitouch
« Reply #1 on: August 05, 2015, 06:22:06 AM »
Get use of Finder ID.

PlaymakerNOOB

  • Full Member
  • ***
  • Posts: 219
Re: Multitouch
« Reply #2 on: August 05, 2015, 08:46:44 AM »
It sounds like you have two virtual buttons.

Movement and Jump

For both, on the first state you want to ensure that you save the fingerID as an INT and then use that FingerID INT for each state of that virtual button.