GameSalad

Problem about click overlap.

WeiyuWeiyu Posts: 201Member, PRO
edited May 12 in Working with GS (Mac)

Hello everyone! I have a problem about click overlap.

Like this:

If I click A, A will spawn C, click B will spawn D.
But if A was covered with B, and I click its overlap, how to just spawn D?

I hope just spawn D, not spawn C and D at same time.
Please give me some advices and help, thank you.

Comments

  • tatiangtatiang Posts: 11,312Member, Sous Chef, PRO, Senior Sous-Chef
    edited May 12

    Here's a demo. Open the Log Debugger Window to view the results.

    Be sure to test this on an actual device. It may require an After __ seconds timer in the spawner to get it to work right.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • WeiyuWeiyu Posts: 201Member, PRO

    @tatiang said:
    Here's a demo. Open the Log Debugger Window to view the results.

    Be sure to test this on an actual device. It may require an After __ seconds timer in the spawner to get it to work right.

    Thank you for your help. :D

Sign In or Register to comment.