Destroy Object From Actor Controlled by the Accelerometer

cobras61cobras61 Member Posts: 41
edited November -1 in Working with GS (Mac)
the actor which is moved by the Accelerometer.
How do i make the Actor destroy a object that is moving?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    not to sure what your asking.

    If you mean you want an actor to destroy itself when it collides with the actor controlled by the accelerometer, just have a rule when it collides with accelerometer actor, destroy
  • cobras61cobras61 Member Posts: 41
    My game is to Erase a piece of paper with a "Eraser" which is controlled by the accelerometer.What Would i do to make the "eraser" destroy the piece of paper, the piece of paper is moving
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    in the piece of paper actor have:

    a rule when it collides with the eraser actor
    -destroy
  • cobras61cobras61 Member Posts: 41
    Perfect how would I do Score when the eraser destroys the paper?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    the rule you have when it collides with eraser, destroy

    have a change attribute behavior above the destroy behavior and change attribute score to score+ whatever amount you want

    also check out all the videos on the gamesalad cookbook youtube channel and on gshelper.com

    After watching those youll have a much better understanding of gamesalad and stuff like this will be a piece of cake for you

    cheers
Sign In or Register to comment.