Multiple copies all performing the same action, how to make them individual?

QuestionManQuestionMan Member Posts: 81
edited July 2012 in Working with GS (PC)
Hey guys, I basically have a series of circles, and they are all a copy of 1 actor. I am trying to make it so that when I touch 1 circle, it goes through the animation I set up. But what is happening is that when I click any of the circles, they all perform the animation. I just want the one I touched to perform it.

Noob question I know, thanks though!

Answers

  • QuestionManQuestionMan Member Posts: 81
    edited August 2012
    @Hapiapps Do you know the answer to this? I'm sure its super simple but its on my list of unsolvedseses
  • J_PANJ_PAN Member Posts: 140
    @questionman,
    you can change the actor's instance, meaning double clicking on the actors on the scene and changing the behaviors/attributes

    Hope this helps,

    pan_joshua (http://cssgenius.blogspot.com)
  • QuestionManQuestionMan Member Posts: 81
    @pan_joshua But how can you do that if you are spawning the actors throughout the game?
  • J_PANJ_PAN Member Posts: 140
    oh, that's a different question
  • J_PANJ_PAN Member Posts: 140
    @QuestionMan, maybe recycle the circles
  • UtopianGamesUtopianGames Member Posts: 5,692
    Make a self boolean attribute in the actor and when touch is pressed or inside change it to true then do a rule if (self.boolean) = true do the animation.

    Darren.
  • QuestionManQuestionMan Member Posts: 81
    thanks @UtopianGames i'll try that now
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Are you using When Mouse is Down instead of When Touch is Pressed? If you use When Touch is Pressed on an actor, the other actors shouldn't be affected.
  • QuestionManQuestionMan Member Posts: 81
    well I'm using the Windows version so it only gives 1 option for 'touch', so I guess I am
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @QuestionMan, yes... if you dragged the Touch condition then the default is Pressed. Have you tried creating a new actor, adding If Touch is Pressed --> Animate, copying the actor a few times, and seeing what happens? I'd be curious to know what your result is, since maybe another rule is affecting your circles.
Sign In or Register to comment.