Return to the same place

raciukas22raciukas22 Member, PRO Posts: 47

I have created a parallax screen where actor is going through and once user clicks on certain tasks it brings to the different scene. How to make an actor to appear in the same place before it went to another scene instead of bringing actor to the start of the screen everytime. Thanks a lot.

Comments

  • GnarlyGnarly canadaMember Posts: 840

    You can store an actors position with attributes.
    Game attributes. X and Y

    Then in the next scene. Change attribute of character to those previous positions.

    Change attributes.

    Self.position X
    Self position.y To the game attributes.

  • IceboxIcebox Member Posts: 1,485

    @gattoman said:
    You can store an actors position with attributes.
    Game attributes. X and Y

    Then in the next scene. Change attribute of character to those previous positions.

    Change attributes.

    Self.position X
    Self position.y To the game attributes.

    You can either do this or a simpler way would be to use pause scene instead of change scene , Pause and let it take you to the scene you want , when you want to return just un pause and it will take you back to where you were.

  • GnarlyGnarly canadaMember Posts: 840

    @Icebox said:

    You can either do this or a simpler way would be to use pause scene instead of change scene , Pause and let it take you to the scene you want , when you want to return just un pause and it will take you back to where you were.

    That's smart.

  • raciukas22raciukas22 Member, PRO Posts: 47

    @Icebox said:

    @gattoman said:
    You can store an actors position with attributes.
    Game attributes. X and Y

    Then in the next scene. Change attribute of character to those previous positions.

    Change attributes.

    Self.position X
    Self position.y To the game attributes.

    You can either do this or a simpler way would be to use pause scene instead of change scene , Pause and let it take you to the scene you want , when you want to return just un pause and it will take you back to where you were.

    That was so quick and easy thanks a lot again!!

  • raciukas22raciukas22 Member, PRO Posts: 47

    @gattoman said:

    @Icebox said:

    You can either do this or a simpler way would be to use pause scene instead of change scene , Pause and let it take you to the scene you want , when you want to return just un pause and it will take you back to where you were.

    That's smart.

    Thanks a lot

Sign In or Register to comment.