Ideas on making scrolling actors that do not spawn

Fodder76Fodder76 Member Posts: 154
edited November -1 in Working with GS (Mac)
Hi there,

I'm looking for some ideas on this. I have a series of 5 or so actors that need to continuously swap out as they scroll on and off the screen.

I want to avoid spawning anything, so I was thinking I could just have all of the objects placed in the game space (but invisible or off screen) then just access them as they are needed.

The problem is, they will each need to be an actor with different collision properties and whatnot. But I don't see a 'change actor' behavior or anything along those lines. I can't just use change image because the actors need to have their own game play properties.

Any help with this would be much appreciated. Thanks!

Comments

  • AjBlueAjBlue Member Posts: 215
    place them all outside anywhere, and when needed use a moveto - duration 0 to "spawn" them where you want.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    What aj said but dont use move to. Change there self position x and y to wherever you want them
  • Fodder76Fodder76 Member Posts: 154
    Thanks the info guys,

    But the main problem is that I'm not sure how set up a random behavior that can access all the different pieces.

    Is this most easily done by setting up a bunch of attributes, or is there an easier way that I'm overlooking?

    If its done with attributes, I can probably figure it out, but I was hoping there was a more direct way.

    Thanks!
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    for one actor to be able to control other actors you will have to use game attributes to trigger the actions. and probably put all of your controller rules in just a small invisible actor somewhere on the screen
  • Fodder76Fodder76 Member Posts: 154
    Gotcha, that's what I figured. Thanks very much!
Sign In or Register to comment.