Spawning into layers problem

UnicornInvasionUnicornInvasion Member Posts: 301
edited March 2012 in Working with GS (Mac)
I have a button and when you click it it spawns a shop/inventory. However it spawns it into a scrollable when the button is in a non-scrollable layer?

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited March 2012
    I see two problems first you are spawing using the button to define the layer. Second since the button is on a non scrollable layer it spawns only in that camera area. You need to have the button change an attribute that triggers invisable actors in your scrolling layer for your visable actors to spawn on. Tshirt had it right you need to listen and think.
  • CloudsClouds Member Posts: 1,599
    Or you could just move the actor that needs to be spawned to the layer you want it to be on, make sure it if off the screen and then when the user presses the button you move the actor to it's on-screen position.
Sign In or Register to comment.