« Return to Thread: Re: Save dialogs

Re: Save dialogs

by Christian Walther :: Rate this Message:

Reply to Author | View in Thread

Aidan Gauland wrote:

> I can think of another use for a function like this: a developer  
> might want
> his game to automatically save its state at set points in the game.  
> "Clock
> Tower" (the original SNES "Clock Tower" that was renamed "Clock  
> Tower: The
> First Fear" when its sequel was released) would autosave every time  
> you enter
> a room, which made things much easier, because its easy to forget to  
> save when
> you're being chased.

Good idea.

>> I disagree with the suggestion to save in the game folder though
>> (assuming you mean the folder that contains the project), because  
>> this
>> location might not be writable by the user (e.g. located on a CD).  
>> The
>> standard location should be somewhere in the user's home directory  
>> (~/
>> Library/Application Support/ on Mac OS, don't know where on Windows).
>
> This could frustrate users (of games, not developers using Pipmak)  
> who want to
>  take their saved games to another system.

How so? In what way would it impede that? You just take a saved game  
file out of that standard folder and put it into the standard folder  
on the other system?

>  Maybe the path should not be hard-coded into Pipmak, but put in  
> "defaults.lua"

In how far is putting it into defaults.lua not hardcoding it into  
Pipmak? Defaults.lua is part of Pipmak. Did you mean main.lua (of a  
project)?

In any case, what exactly would a project author put there? It seems  
you're just shifting the responsibility of solving the problem from  
Pipmak to the project author - when Pipmak would actually be in a  
better position to solve it (e.g. can adapt to different platforms).

Evgen wrote:
> may be use installing program? (as I know some installing wizards  
> may write
> options files, after installing)

For my opinion on installers, see <http://thread.gmane.org/gmane.games.devel.pipmak.user/247/focus=250 
 >.

   -Christian

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users

 « Return to Thread: Re: Save dialogs