Help with when all actors move to one position change scene

appybankappybank Member Posts: 22
edited November -1 in Working with GS (Mac)
I have one actor which i have multiplied on the scene, so there are 5 of them on the screen, each identical. When each one is pressed they move into a box on the corner of the screen.

What i want is a rule whereby when all 5 actors are inside the box, change to the next scene.

By the way for all newbies like me i have used interpolate to move the actors into the box. Used position x and y, where a box actor is in position x=50 y=50, and each actor is moved to that position, when touched is pressed. The box actor is brought to front so it looks like all actors have gone inside the box. Haha might be a basic function for many, but i was quite proud of myself working it out.

Guys as always any help will be appreciated

Comments

  • appybankappybank Member Posts: 22
    Worked it out by creating score attribute.

    created score interger attribute in the game scene
    then on each actor i put a rule when they are in a certain position add 1 to the score
    then on the background scene created a rule whereby when score equals 5 change scene

    I am getting the hang of this now
Sign In or Register to comment.