Forum rules - please read before posting.

remember camera

edited October 2014 in Technical Q&A
hi. 

so I've noticed that my game doesn't save the camera that the game switched to when i'm loading the game (2d.)

any ideas why?

Oded

Comments

  • This is in the manual - see section 8.2.

    You just need to place a ConstantID script on it.  In order for the save file to record/retrieve a reference to a GameObject, it needs a ConstantID number - which'll be automatically created with the script.

    The ConstantID script is needed whenever you want to save a reference to an object (such as the current camera), whereas Remember scripts are needed to save data about that object (such as a change in a sprite's visibility).
Sign In or Register to comment.

Howdy, Stranger!

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

Welcome to the official forum for Adventure Creator.