Resource centre for ZX Spectrum games
using Manic Miner and Jet Set Willy game engines
Archive of the
Manic Miner & Jet Set Willy Yahoo! Group
messages
|
|
||
|
|
Message: 2620
Author: filsoft_2000
Date: 16/02/2002
Subject: Re: JSW Save Routine
"> I would simply make Willy lose a life (but
give
> him one back)
Yuck."
Not the best
of methods, but it would save a lot of coding I
think. Perhaps a save state feature (like the Multiface)
is the ideal, though.
"> to save having to
record where he
> was in the room, where the
guardians were, etc.
> The item table and the room
location (including
> where Willy entered) and the
number of lives
> left and time remaining is all
that would need
> to be recorded, says he
thinking this out as he
> types this
post...
Unfortunately these data aren't contiguous, so it might as well
save the whole thing as save it in parts, or copy the
data to be saved to a separate data-structure (memory
permitting)."
Yes, but loading the relevant parts would be
preferable to loading the whole game!
"> The save
could alternatively save the whole game
> and
negate the need of a load routine.
This could
well be fraught with unforeseen difficulties - to do
with runtime buffers, the way the items are flagged as
collected, etc..."
True. The only way to find out is
in the eating...
"> Perhaps this could be
adapted for a save routine?
Perhaps indeed,
although I anticipate complications, as mentioned
above..."
Get that oven warmed up and cook that JSW-save cake!
;-)
Phil
