layer 1 trough layer 2 question

JolandaJolanda Member Posts: 82
edited November -1 in Working with GS (Mac)
Hi,

I want to make a window in a room. Outside the window you can see a leaf falling down(picture) from the tree. (this leaf is layer 1)
If you click on that leave, it comes trough the window ( layer 2) and is a little bit zooming(bigger) and falls into the room, and falling and lays still on the ground in the room.

is there a behavior for this?

Comments

  • ozboybrianozboybrian PRO Posts: 2,102
    I think you would need an invisible Actor to SPAWN the leaf inside of the window.
    So when leaf is clicked > leaf is Destroyed > leaf attribute +1
    for spawn actor when leaf attribute interger = 1 spawn leaf.
    Hope that helps a little.
    .
    .
    .
    -----------------------------------------------------
    Join the GameSalad Community and have your game noticed for free.
    http://www.facebook.com/ListYourTopiPhoneGame
    List your Top iPhone Game on FaceBook!
  • JolandaJolanda Member Posts: 82
    Thanks.

    This is it for so far. Now the spawned actor must fall down. This doesn't work.
Sign In or Register to comment.