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: 2810

Author: andrewbroad

Date: 26/04/2002

Subject: The JSW Clock

 

I'm feeling rather pleased with myself, because today I replaced the
spaghetti code in the JSW engine for updating the clock, with some
rather more elegant code to implement at 24-hour clock.

In the original JSW, the game starts at 7:00am, 11:59am goes to
12:00am, 12:59am goes to 1:00pm, 11:59pm goes to 12:00pm, and 12:59pm
goes to the title-screen.

In Goodnite Luddite, the game starts at 07:00 (I might have it start
later when I see how long it will take me to complete the finished
game! :-> ), and continues through to 23:59, and then goes to the Game
Over screen.

My Spectrum is in the middle of testing the 24-hour JSW clock right
now. There are 256 time-frames in a JSW-minute, which is about 22
seconds in a room with no guardians, with the music on (to prevent the
auto-pause after waiting for a JSW-minute - another thing I might get
rid of along with WRITETYPER! ;-) ).

Other technical innovations in Goodnite Luddite include the first
changed font in a 48K MM/JSW game (a Gothic character-set ripped from
Journeys End), and cyan arrows. Plus some never-before-seen quirky
features, which I'm keeping under my hat to ensure that I will be the
first to exploit them... ;-)

--
Andrew Broad
http://www.cs.man.ac.uk/~broada/
http://www.cs.man.ac.uk/~broada/spectrum/
http://www.cs.man.ac.uk/~broada/spectrum/download/
http://www.cs.man.ac.uk/~broada/spectrum/download/goodnite_luddite.htm
l

 

 

arrowleft
arrowright