Hi, JavaScript can store your information/produce sounds, and re-load HTML pages behind the scene with AJAX. ( I've done a similar thing with loading new data behind the scenes in my web version of Monopoly, that I'll hopefully release very very soon.) You'd store information in variables, and perhaps store saved games in cookies. Going this route, players can save the various HTML files to there hard drives. (You can also just use 1 HTML file. The different links users need to click to make choices, etc, can all be accomplished in 1 file with JavaScript).
If your trying to do something kind of like LOTGD, your best bet is a combination of JavaScript and PHP. You could store the character's login/password, and the different stats on them (health, level, etc) with MySQL. You can make use of JavaScript to load sounds. PHP would echo HTML code for various links to do things. -Ryan On Sun, Dec 20, 2009 at 12:24 PM, Thomas Ward <[email protected]> wrote: > Hi Dark, > I see. Well, as I see it you basically want to have two different products. > First, the html game book. Second, some separate stat tracking program. Is > that right? > In that case it is possible, but I would not necessarily use Javascript for > the stat tracking program. If it were me I'd write the stat program in some > programming language, perhaps C++, and save the stats to a text file so they > can be loaded in and used to resume the game book where I left off. > Although, In theory you could use perl, Python, whatever programming > language you choose to acomplish the same thing here. > > HTH > > dark wrote: >> >> Hi tom. >> >> Using a scripting language to handle game stats etc does indeed make >> sense, however I was wondering if there might be a way to at least >> temporarily circumvent the server issue. >> >> various sites such as project.aon and Chronicles of arborell offer html >> based gamebooks as download folders, which you then run completely yourself >> on your own system. >> >> As a vague beginning, ---- before I started looking into running a server >> (not to mention locating space for one), I was wondering if something along >> those lines might be possible. >> >> thus, the player downloads the folder containing the html pages plus a >> file, --- perhaps a dat file, containing scripting commands and values for >> the character stats, inventory handling etc, and then manually runs it by >> opening the appropriate first html page themselves. >> >> Is this at all feasible? or am I barking up the wrong tree here. >> >> Beware the grue! >> >> Dark. > > > --- > Gamers mailing list __ [email protected] > If you want to leave the list, send E-mail to > [email protected]. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/[email protected]. > If you have any questions or concerns regarding the management of the list, > please send E-mail to [email protected]. > --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [email protected]. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[email protected]. If you have any questions or concerns regarding the management of the list, please send E-mail to [email protected].
