saving changes to sceen based on game play

devaguptamdevaguptam Member, PRO Posts: 13

Hi Guys I a spawning objects randomly based on formula. So I need to place a few more objects in between randomly generated objects

It will be easier if I can save the spawned objects during runtime in to a scene. I am spawning them because it will take me ages to so many objects in such precise positions. So just wondering, any way to save the spawned objects permanently to the scene.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Check out my Remember Actor Positions demo: http://forums.gamesalad.com/discussion/comment/509194/#Comment_509194.

    Note that it was made on a Mac so you may need to Google convert Mac to Windows GameSalad to find out how to open it.

    The idea would be to spawn the actors, have them store their positions in a table, and then when the scene reloads, loop through the table and spawn each actor to the stored positions.

  • devaguptamdevaguptam Member, PRO Posts: 13

    Thats helpfull. Will check it out

Sign In or Register to comment.