|does gm support state persistence?
|Page 1 of 1|
|Author:||jbonez [ Tue Oct 26, 2010 9:06 am ]|
|Post subject:||does gm support state persistence?|
Hi Greg et al.,
I'm evaluating scripting languages for a gaming framework. One thing they're going to want is some way of persisting the script state between runs. Looking through the GM code, the function that does this didn't immediately pop out at me - does GM support this kind of thing?
|Author:||Greg [ Wed Oct 27, 2010 10:18 am ]|
|Post subject:||Re: does gm support state persistence?|
Welcome to the forum jbonez
There is no build in functionality to persist the script state.
I see some previous discussion here. I recall more discussion but have not found it yet, perhaps I was thinking of downgraded's experimental gmSerialize.
I am not sure if anyone has tried to port Pluto or other Lua extension attempting to implement such a feature. Even if the script state by itself were serialized, interdependence between native and managed code could be challenging. It might end up simpler to store entity and system state explicitly and restart the game with that. (Such an implementation might help with networking and replays.)
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group