playMaker

Author Topic: Block/Unblock Touch Input Globally  (Read 2069 times)

Sonic Punch Studio

  • Playmaker Newbie
  • *
  • Posts: 21
Block/Unblock Touch Input Globally
« on: November 26, 2012, 02:44:49 AM »
Hi there, 2ndBrother here again with a help request~!

I'm currently working on a game prototype which requires touch input to be disabled globally (meaning touching on other objects that has the Touch Object Event action should not do anything) when satisfying a condition. I've tried searching the action lists and the forums but can't seem to find an answer.

Any help and/or suggestions will be greatly appreciated!

- 2ndBrother
Intense bubble popping action! Get Bubble Virtuoso today!

Trailer:
Purchase: http://tinyurl.com/buyBVnow

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Block/Unblock Touch Input Globally
« Reply #1 on: November 28, 2012, 01:11:52 AM »
Hi,

 there is nothing like that I am afraid, You'll have to implement a small framework or implement something in each fsm to process or not touch inputs.

Is it for menus and modal windows?

bye,

 Jean

Sonic Punch Studio

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Block/Unblock Touch Input Globally
« Reply #2 on: November 28, 2012, 08:47:31 AM »
Hi Jean,

It's actually for a game that I'm working on. It has a requirement that once a "fail" condition has been met it should prevent the player from interacting with other remaining objects that has a Touch Object Event action.

At the moment I've moved onto other problems/tasks as I figured that I should at least attempt to optimize my game's FSM structures and flow until I hit this problem again. Thanks for the reply though!

- 2ndBrother
Intense bubble popping action! Get Bubble Virtuoso today!

Trailer:
Purchase: http://tinyurl.com/buyBVnow