Playmaker Forum

PlayMaker Help & Tips => iOS Help => Topic started by: indy2005 on September 02, 2013, 06:29:43 PM

Title: Detect a touch on screen
Post by: indy2005 on September 02, 2013, 06:29:43 PM
Hi,

I need my level to start when any touch is detected on screen.  How do I achieve this?  Any advice appreciated....first foray into PlayMaker!

Regards

i
Title: Re: Detect a touch on screen
Post by: escpodgames on September 02, 2013, 07:26:47 PM
Check out the tutorial videos -

http://www.hutonggames.com/tutorials_ios_fundamentals.php
Title: Re: Detect a touch on screen
Post by: jeanfabre on September 11, 2013, 03:33:49 AM
Hi,

 basically, you will need two actions:

1: use the action "Touch Event" and implement an event for the "Began" phase ( create event in the event tab)
2: have this event as a transition on the state where you have "Touch Event" action
3: on the second state ( coming from your transition event", use the action "loadLevel" or "loadLevelNum" to actually load anothe scene

that's it. So, yes, Study carefully all the screencasts and video on playmaker you can, and then try to apply what I said above.

 Bye,

 Jean