1
Ask a Question / Constant Customization?
« on: February 03, 2014, 09:05:47 am »
I couldn't find a thread already on this, but if there is, please tell me.
Anyway,in the game I'm currently working on, I'm aiming to include an element of customization, more specifically of the environment. The idea I'm going for is similar to a farmville or minecraft style sort of thing, where the player can place or take away blocks and items. The issue I'm having is that when the game switches in between scenes , the game will lose the positioning of the blocks. The only way I could think of doing this would be to save the coordinates of each block as a part of (giant) game variable array, and have them save when the scene is left, and then load and recreate the blocks as the scene comes back. Is there a better way to do this? That just seems like one ridiculous mess.
Thanks for any help!
Anyway,in the game I'm currently working on, I'm aiming to include an element of customization, more specifically of the environment. The idea I'm going for is similar to a farmville or minecraft style sort of thing, where the player can place or take away blocks and items. The issue I'm having is that when the game switches in between scenes , the game will lose the positioning of the blocks. The only way I could think of doing this would be to save the coordinates of each block as a part of (giant) game variable array, and have them save when the scene is left, and then load and recreate the blocks as the scene comes back. Is there a better way to do this? That just seems like one ridiculous mess.
Thanks for any help!