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

Author: john_elliott_uk

Date: 29/12/2005

Subject: Re: Toying with the idea of "adventure music"

 

--- In manicminerandjetsetwilly@yahoogroups.com, Visa-Valtteri Pimiä
wrote:

>
> ...like that on Andy Noble's PC-version.
>
> That is, changing in-game tune depending on room. I think this
> shouldn't be actually that hard to accomplish with JSW. Any comments?
> I may do a test on it this week, if I have the time for it...

I'm sure it could be done with patch vectors in JSW64. Have a 'room
entry' patch vector that copies the tune from the spare space in the
room definition to the tune memory and then calls the 'change tune'
function. For advanced students, give each tune an ID and only do the
copy if the tune ID in the room differs from the tune ID currently
playing.

And then your only problem is who writes all the different .TUN files.

 

 

arrowleft
arrowright