having an Actor collect something and move to different screen?

ElocinElocin Member Posts: 3
edited April 2012 in Working with GS (Mac)
Hello!

Is there anyway I can have an actor collect 5 coins and move on to a different scene? Step by step instructions would be awesome! Thank you in advance!

Answers

  • hayesjm33hayesjm33 Member Posts: 2
    create an integer game attribute called coin collect and set it to zero. Then in the coin actor create a rule than when ever coin actor overlaps or collides with player change attribute coin collect to coin collect +1. Then create another rule that states when coin attribute equals 5 change scene next scene. You will also have to create a rule to change the coin collect attribute back to zero before changing to next scene. Quite simple really.
  • ElocinElocin Member Posts: 3
    thank you =D I'll try it right now!
Sign In or Register to comment.