Group Actors Movement

VaMPiReVaMPiRe Member Posts: 10
edited November -1 in Working with GS (Mac)
Hi, I'm creating a menu options. When I click into menu, the menu appears but I have a problem. The menu have various actors and all move up to down same time.

How I create a group actors??

Thanks

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    You could do a few things....

    When you press menu have a game boolean (let's call it game.show) and change it to true now in your menu actors if show is true interpolate x or y to the desired amount.

    Another way would be to have the actors in place on the scene and only show them if game.show is true.

    There's a few other ways to.

    Make a self attribute called startY then in the actor do change startY to self.position.Y then change self.position.Y to -100 then if game.show is true change positionY to startY or interpolate depending what you want.

    Darren.

    GS TOOLS
    GAME TEMPLATES
    Video Tutorials
    Forum
    3rd party marketplace
Sign In or Register to comment.