Is there a way to save game and load on TGF? And I mean all levels, not just 1 level. I want to be able to create a save system wherein you can load at the 1st level and go to the level where you last saved. Can the INI do that or some other extension I need to get?
at the end of each frame save the frame number to a group or item thenuse that value to set the frame on the title screen. EASY!
in the event editor
1. start of frame , set currant file to appdrive$ + appdir$ + "save.ini"
(this makes the ini save in the same folder as the game rather than your windows folder.)
2. make a group called save that is NOT active when the level starts (right click it and untick the option)
3. outside of that group make it activate the group when the character hits the end of level flag or right edge of the screen (whatever your game does)
4. inside the group make lots of always events
always, set currant group to "mysave" (the name can be anything)
always, set currant item to "save" (the name can be anything)
always, set value to frame number
always, next level
this should now have saved a file in the game folder with the frame number and the group and items names in a list.
then on the title screen you will probably have a load option that does nothing, well now make a group similar to 'save' (not active but activates when load is chosen from your game menu or whatever)
always, set currant group to "mysave" (the name can be anything)
always, set currant item to "save" (the name can be anything)
always, goto frame number ini value,
(goto storyboard controls> jump to level> use a calculation> retrieve value from item> right click ini and chose get value)