Transferring Save Files from one game to the next?

I remember seeing a solution to this somewhere here, but I forgot where it is and can't find it again

yeah, hi, it's me again ;w;
I'd like to know how to transfer save data from one game to another
The way I'd use this is because of the Quest upload limit (20MB)
I'm drawing lots of background and foreground art for my game, and my game will be moderately big (8 hours of story) and I don't think it'll all fit into one game
So before I reach the limit (I'm already pretty close) I'd like to know how to transfer save files so I can split my game up into chapters posted as separate games
Ye

Oh and by the way, would anyone happen to know the recommended size for a background image? (the one that goes behind the text and stuff)


There is a GetFileData command that will load a text (I assume) file that could be used get what the player did at the end of the previous chapter...
And I think, a PutFileData to save the data...
But it is not the same as "Save" which saves your progress in one game.

I haven't played too much with backgrounds... but could it be possible to have the pictures as a separate zipped file that the player also downloads, un-zips, and puts them in the game folder?
(Someone else will need to answer that one...)


Library here:
https://github.com/ThePix/quest/wiki/Library:-Save-and-Load


I haven't tried the Lib Pixie linked but I'm guessing it will solve your problem very nicely.
As an alternative it's possible to link images and/or sounds from external websites (a working internet connection will be required for a player to hear/see the stuff though).
I write music for my games and between the mp3's and the .ogg's needed that 20 MB limit is filled pretty much instantly for me.
The upside of linking externally is that you can really put loads and loads of media in your game. The downside, like I mentioned, is that if the player doesn't have a working connection the media won't load.

K.V. wrote a AudioVideoLibrary for super simple implementation of music/sounds to your game (works equally great with embedded sounds as well as linking to them externally)

Again; I'm sure Pix's Lib will solve your problem! I'm just mentioning this so you know the alternatives. =)

Oh, and about the background image. There's not a right answer for that one. It's depends on the players screen resolution (amongst other things) but a general tip is to make it way bigger than it needs to be OR making it seamless so that it can repeat ad infinitum.


As an alternative it's possible to link images and/or sounds from external websites (a working internet connection will be required for a player to hear/see the stuff though).

This is probably the best solution. But be aware that some sites will object to external linking, so be careful where you upload the media. You may find they block the link if you abuse it,


But be aware that some sites will object to external linking

Indeed! If you have your own server / webhotel (with free traffic), use that.


One thought about linking...
Anyone NOT on a fast internet would see a delay while the pictures are loading...
(This could be a problem with some people... Me included...)


Anyone NOT on a fast internet would see a delay while the pictures are loading...

It's possible to preload images in the background, but might be some extra work. You'd have to get the browser to load images the room before you actually need them.

But be aware that some sites will object to external linking

I'm pretty sure this site doesn't. So if you really need to, you could probably upload a game full of images to the site, and save the URLs so that you can use the same images in a different game.

Or use Google Drive, which is clearly designed to be able to do this, even if they don't advertise the fact. It's quite possible to have an entire website hosted on Drive if you want to.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums