The Dink Network

Reply to Re: Addendum

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 16th 2002, 08:10 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
: : Yes I have used your save load idea. Thanks... (you are in the credits too It has helped the game playing on fast computers... but the slow P200 MMX still struggles along (Some of my graphics are big and use 50 frame sequences)

: Paul's suggestion is good... but the way I have done it in FIAT v1.00 might work better.  It depends on a few things, both have their respective weaknesses/strengths.

: I have one global variable that keeps track of the current graphics that are loaded, &egraphics.  Then when saving the game, I do this:

: &olde = &egraphics;

: &egraphics = -1;

: save_game(&savpos);

: &egraphics = &olde;

: Then in the base script of the screen (and other screens where the graphics are used), I do something like this:

: if (&egraphics != 1)

: {

: &egraphics = 1;

: init("load_sequence_now graphicselemonstairpillf1-w1- 861 75 24 29 -18 -12 19 7");

: }

: So basically, the player gets a nice flashing Loading thingy on the top of the screen while the graphics load, and like Paul's method, it won't do it once the graphics are already loaded.

: The downside is you need a different base script for all of the different groups of graphics you have.

Okay so if &egraphics = -1 do big load... then what about different graphics per screen is &egraphics used with certain values for each set... ie if &egraphics = 2 load earth pill instead of air pill?