playMaker

Author Topic: swipe multiple button UI  (Read 1193 times)

meactro

  • Playmaker Newbie
  • *
  • Posts: 1
swipe multiple button UI
« on: May 23, 2017, 03:55:30 AM »
Hello everyone,

I am quite new in playmaker, I want to create a local swipe control.
I explain , i have 4 "swipe" UI menu (Buttons) in the bottom of the screen and i need to swipe each one independently from the other.

i used  playmaker swipe gesture function, but it's detecting swipe in all the screen.
i need the swipe to be localised near the menu.

There is a simple way to this ?

Thanks guys :-)


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: swipe multiple button UI
« Reply #1 on: June 01, 2017, 03:55:07 AM »
Hi,

 yes, you need to check which button was pressed when the swipe occured.

 so at the end of a swap, you should query a manager or an fsm that knows what was pressed last and deduce the action to performs.

else, for a more complete and powerful gesture sysrtem, I would consider using EasyTouch , it has full PlayMaker support and will let you properly setup these kind of contextual swipes.

Bye,

 Jean