Question on a jewels game

Nocturne31Nocturne31 Member Posts: 23
edited March 2015 in Working with GS (PC)

Hi

I am working on a jewel game but I have a problem. When I set a rule for a certain actor (let's say purple jewel) to be clicked and dragged left and right, it drags all of the purple jewels that have already fallen as well instead of just the one that is currently falling? Can anyone assist me here?

Thanks in advance

Comments

  • dapiondapion Member, PRO Posts: 353

    I think your problem is a global attribute.
    Make in your jewel a 'self.drag' attribute...that must going on.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    It's hard to know without seeing your rule but it sounds like you are using If Mouse Button is Down instead of If Touch is Pressed.

  • Nocturne31Nocturne31 Member Posts: 23

    Thank you for your comments ... I tried both methods but sadly, no luck...would i have to upload several purple actors?

  • Nocturne31Nocturne31 Member Posts: 23

    wait, Dapion...You're a star. it worked. Thank you

Sign In or Register to comment.