GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Moving an actor from one scene to the next

NacMacFeegleNacMacFeegle Posts: 11Member
edited March 2013 in Working with GS (Mac)
I have a scene set to wrap x and wrap y turned on allowing the moving actor to reappear at the other side; I have set the behaviour on a fixed actor to change the scene when it collides with the moving one.

What I am not sure about is the correct approach to assigning the x and y values once on the changed scene to the moving actor?

Many Thanks

Chris

Comments

  • Braydon_SFXBraydon_SFX Posts: 8,960Member, Sous Chef, PRO, Bowlboy Sidekick GameSalad Employee
    edited March 2013
    You want the actor to continue moving at the same spot prior to the Change Scene action?

    Just record it's X and Y location before you change scene, then apply those values to the actor when the scene is changed.

    Perhaps I don't fully understand the question.
  • NacMacFeegleNacMacFeegle Posts: 11Member
    Ah yes got it passing the x,y through the game attributes to the actor after the scene changes.

    Thanks

    Chris
This discussion has been closed.