PDA

View Full Version : [AS3] Level Maker - Save and Load


adamV
04-22-2009, 06:14 PM
I'm working on a level editor for my game, and I thought it would be cool if one could save the level to a file and load it up later, as well as letting people trade their levels with other people.

All it would do is save the X and Y of the dragable objects. Is there anyway to do this? Thanks.

EightySeven
04-22-2009, 08:56 PM
http://oos.moxiecode.com/tut_09/index.html

Save(Generate) would send the info to your server database. loading would just be calling that entry and building it based on the array.

This is for tile based however its not incredibly hard to change it to work with a more loose system