Hey guys -- I'm back
I'm thinking of making something along these lines as a temporary solution until this is figured out.
My idea would be a "game data object". It would provide the following:
Add object (would add a type of object to be saved later on) to save list
Save arrays to string
Load arrays from string
Save objects to string (would save x,y,angle,animation / frame,variables)
Load objects from string
Save objects AND arrays to string
Load objects AND arrays from string
So then to save with this, we could:
- Add "player" to save list
- "Save objects AND array to string"
For a map editor type thing, we could:
- Add "rock" to save list
- Add "tree" to save list
- Add "player_start_point" to save list
etc. - then save
Now -- it's been about a year or two since my last plugins -- and I'm not sure if this is completely possible, but if it is, I'll try to figure it out. I'm working on an RTS myself, and so this would be useful.