Hi,
I am trying to make a mobile/touch based game and really only need/want one save file.
I have messed with a few autosave plugins (OrangeAutoSave) to either save automatically on transfer, or with a script command, and used the code below to load the save.
$gameSystem.onAfterLoad();
DataManager.loadGame(1);
StorageManager.cleanBackup(1);
$gamePlayer.reserveTransfer($gameMap.mapId(), $gamePlayer.x, $gamePlayer.y);
$gamePlayer.requestMapReload();
But it still isnt doing what I want. Maybe someone could help.
Basically, I'm thinking more of an extremely simple title screen with a play button, that when pressed would just load the last save. All without using the save screen. I am also using a custom small menu (using choices) and SRD_SwipeInput plugin to open it. (Pretty awesome plugin 🙂 )
To make the play button, I just used a plugin to use a map as a title screen, and a show text box on that map with the word 'Play!'. Then, when touched (basically closing the text box), I need it to check if there is a save. If there is, go to that save, if not, then it will start a new game.
My programming knowledge isnt really to the degree that I would be able to do this, but I have a feeling that it wouldnt take a plugin, but then again, not entirely sure.
Thank you so much!
I am trying to make a mobile/touch based game and really only need/want one save file.
I have messed with a few autosave plugins (OrangeAutoSave) to either save automatically on transfer, or with a script command, and used the code below to load the save.
$gameSystem.onAfterLoad();
DataManager.loadGame(1);
StorageManager.cleanBackup(1);
$gamePlayer.reserveTransfer($gameMap.mapId(), $gamePlayer.x, $gamePlayer.y);
$gamePlayer.requestMapReload();
But it still isnt doing what I want. Maybe someone could help.
Basically, I'm thinking more of an extremely simple title screen with a play button, that when pressed would just load the last save. All without using the save screen. I am also using a custom small menu (using choices) and SRD_SwipeInput plugin to open it. (Pretty awesome plugin 🙂 )
To make the play button, I just used a plugin to use a map as a title screen, and a show text box on that map with the word 'Play!'. Then, when touched (basically closing the text box), I need it to check if there is a save. If there is, go to that save, if not, then it will start a new game.
My programming knowledge isnt really to the degree that I would be able to do this, but I have a feeling that it wouldnt take a plugin, but then again, not entirely sure.
Thank you so much!