2D Toolkit Forum

2D Toolkit => Support => Topic started by: naktim on February 08, 2013, 09:37:26 am

Title: Hello I want ask did the spript can't be touch?
Post by: naktim on February 08, 2013, 09:37:26 am
Hello I want ask did the sprite  can't be touch?

I use the anim sprite to make a button ~

and I use playmaker's action  Touch Object Event.

when I go to my phone touch the button it's nothing happen.

so I want to ask did the sprite can't be touch?
Title: Re: Hello I want ask did the spript can't be touch?
Post by: unikronsoftware on February 08, 2013, 02:33:22 pm
1. Do you have a collider on the sprite? You should set one up in the sprite collection if not.
2. Do you have a main camera set up? http://hutonggames.com/playmakerforum/index.php?topic=987.0
3. Is the sprite collider intersecting with the camera? Push it further away from the camera if so.
Title: Re: Hello I want ask did the spript can't be touch?
Post by: naktim on February 09, 2013, 12:22:08 am
Hello!
I making process in the annex to the letter!
Sorry, would like to ask me there should be no mistake about it?
But go to the phone is not touch her​​.

Sorry to disturb and trouble!
But stuck in such a simple place. Really is very frustrating!

Thank you.                                                         
                                                                     Tim
Title: Re: Hello I want ask did the spript can't be touch?
Post by: unikronsoftware on February 09, 2013, 12:50:30 am
You don't have a collider set up on this sprite. Edit this sprite, set collider type to box trimmed and try it again, it should work better.
Title: Re: Hello I want ask did the spript can't be touch?
Post by: naktim on February 09, 2013, 05:46:15 am
it's work!!!!   thanks u!!!!!!

I love u  !!!!!!

You have absolutely no way to imagine, you have given me much help!!!!

Thanks   u!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!   

Sorry to bother you spend your time

Thanks  U!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!