Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Sonic Punch Studio on November 26, 2012, 02:44:49 AM

Title: Block/Unblock Touch Input Globally
Post by: Sonic Punch Studio 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
Title: Re: Block/Unblock Touch Input Globally
Post by: jeanfabre 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
Title: Re: Block/Unblock Touch Input Globally
Post by: Sonic Punch Studio 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