Move below actor

blorschblorsch Member Posts: 248
edited June 2012 in Working with GS (Mac)
how would you get the on screen controls to go underneath the actor. Or follow?

Best Answers

  • EatingMyHatEatingMyHat Posts: 1,246
    Accepted Answer
    sorry... what is 'the on screen'?

    In general, the Z order of the actors on the screen is based on Layers, you cannot manipulate layers or Z order during the game.
  • MotherHooseMotherHoose Posts: 2,456
    Accepted Answer
    @blorsch

    to have actors always onScreen … such as controls; score; time; home/menuButtons
    (elements that player is always able to use and things the player should always know)
    … no matter where the camera location is in the scene
    (a HUD layer … Heads-Up Display)

    place those actors in X < 480 Y < 320 area of the scene
    (the lower left section of scene)

    in Inspector: Scene/Layer
    drag those actors into a separate/new sceneLayer … uncheck that layer's Scrollable
    that layer is usually dragged to the top of the Scene/Layer list

    though you can use a background that always shows
    in a layer at the bottom of the list

    image MH

Sign In or Register to comment.