It is currently Mon Oct 20, 2014 3:52 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Mon Jul 27, 2009 8:58 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
On the Saturday of the Manchester event, a few people said I should work on the incomplete Jet Set Miner as my first project. Well, I've decided to go with that for now. See the wiki page.


Since I only started learning assembler today, I'm starting with the smaller changes. I'll move on to the big changes later on once I've got familiar with the language. Currently, I've fixed the bug that makes it crash when you die.

I'm now looking to add a Retro Software splash screen (if I'm allowed) - anyone got the source for that?



EDIT: Just made it wait for fire to be released on the title screen, so that you don't jump first thing.


Top
 
PostPosted: Tue Jul 28, 2009 1:15 pm 
Offline
User avatar
 Profile

Joined: Wed Jan 09, 2008 7:30 am
Posts: 406
MurrayCakaMuzer wrote:
I'm now looking to add a Retro Software splash screen (if I'm allowed) - anyone got the source for that?


Can't remember who coded the loader, I've a feeling TomW ? Perhaps !


Top
 
PostPosted: Tue Jul 28, 2009 1:52 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
Ah, DaveM got in touch with me. There's a different one for freeware apparently, he's going to send me that later on.


Top
 
PostPosted: Tue Jul 28, 2009 8:15 pm 
Offline
User avatar
 WWW  Profile

Joined: Thu Apr 03, 2008 2:49 pm
Posts: 277
Location: Antarctica
Great news! Good luck with it, looking forward to seeing how you progress with it.


Top
 
PostPosted: Mon Aug 03, 2009 12:41 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
I found out that sound is really easy, so I implemented sound for jumping and falling (similar to the one in JSW). My netbook isn't up to screen recording (and beebem on Linux has a problem where sound is delayed anyway), so I'll just attach the source along with a disk image for you to try out.


I've also used a much more efficient, and smaller, screen clear routine.

Of course, I've got the two fixes above.




I am thinking of braving some music. I haven't really composed any video game music before, so it might turn out quite rubbish. I obviously won't steal the music from JSW, so for JSM I'll have to make something from scratch. Are there any good tools to use for composing BBC music?


Top
 
PostPosted: Mon Aug 03, 2009 1:08 pm 
Offline
User avatar
 WWW  Profile

Joined: Thu Apr 03, 2008 2:49 pm
Posts: 277
Location: Antarctica
Wow.. good going!

I'd be interested in seeing some code for sound routines, since I have pretty much silence in my game at the moment :(


Top
 
PostPosted: Mon Aug 03, 2009 1:12 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
Lol, forgot attachment

EDIT: There's more files than you need in there, I just zipped everything I was using :p


Description of files:
Jet Set Miner.asm is the source

Jet Set Miner.out is the binary

JSM.SSD is the latest disk image

Jet Set Miner.$.!BOOT and Jet Set Miner.$.LOADER are the boot file and the loader respectively that should both be put on the disk

*.inf are the config files for use with bbcim and probably most other disk imagers.




To build and run (if you want to compile from source) (Linux instructions, Windows users can probably just use swift :p):

ophis Jet\ Set\ Miner.asm Jet\ Set\ Miner.out
bbcim -d JSM.SSD PLAT
bbcim -a JSM.SSD Jet\ Set\ Miner.out
beebem JSM.SSD


Attachments:
File comment: Jet SEt Miner
JSM.zip [86.29 KiB]
Downloaded 26 times
Top
 
PostPosted: Mon Aug 03, 2009 3:55 pm 
Offline
Site Admin
User avatar
 Profile

Joined: Wed Dec 19, 2007 10:41 pm
Posts: 373
Woah, you've really hit the ground running with this BBC coding lark, haven't you? Can't believe you're already improving screen display techniques, adding sound etc! :shock:

Anyway, with reference to this thread, DaveJ recommends the THEME program which appeared on an old Acorn User coverdisc.

I'll email you a copy now ...

Will try the new JSM build out tonight ...


Top
 
PostPosted: Mon Aug 03, 2009 4:46 pm 
Offline
User avatar
 WWW  Profile

Joined: Thu Jan 10, 2008 7:45 pm
Posts: 472
Location: Treddle's Wharf, Chigley
Congratulations Murray - it's coming along nicely so far.

As far as music is concerned, the Acorn User article that goes with THEME is very useful, as are the listings for music playback using Basic and assembler. The bad news is that DaveE has taken these articles down from Acorn Electron World, but the good news is that he's scanned the entire run of Acorn Users and put them all on three DVDs.

If you run to buying a copy of the Acorn User DVDs (or the complete set) from DaveE:

http://www.acornelectron.co.uk/c-dvd.html

I reckon you'll find it really helpful. Acorn User has carried numerous articles about programming games over the years, which I'm sure would help you as well.

IIRC THEME was used to compose the music for PipeMania and Repton Infinity.


Top
 
PostPosted: Mon Aug 03, 2009 11:47 pm 
Offline
Site Admin
User avatar
 Profile

Joined: Wed Dec 19, 2007 10:41 pm
Posts: 373
I finally checked out the new build, and I think the sound is ... well ... sound! ;)


Top
 
PostPosted: Mon Aug 03, 2009 11:56 pm 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
Hehe. There isn't much to say about it really, I tried to emulate the Spectrum Jet Set Willy sound as close as possible (but obviously since I don't have the source code and couldn't be bothered to look for some kind of sound frequency analyser I doubt I've got the frequency or the duration exactly right).

I used the OSWORD routine with A=7, I assume that's the way to go to get maximum compatibility?


Top
 
PostPosted: Tue Aug 04, 2009 12:29 am 
Offline
User avatar
 Profile

Joined: Sun Jun 28, 2009 11:37 pm
Posts: 55
I downloaded the disk image and had a bit of play earlier. It's looking good :)

MurrayCakaMuzer wrote:
I used the OSWORD routine with A=7, I assume that's the way to go to get maximum compatibility?

Yes, that's the OS legal way. You may also want to check out envelopes (OSWORD 8) which change the amplitude and pitch of a sound over time. They can be used to create complex sound effects without having to manually program the individual frequencies.

The BASIC keywords SOUND and ENVELOPE do the same thing as the two OSWORD calls and are useful for quickly testing ideas out.


Top
 
PostPosted: Tue Aug 04, 2009 12:58 am 
Offline
 Profile

Joined: Sat Jul 25, 2009 11:14 pm
Posts: 65
Ah, I saw that too. I didn't use it for the jumping sound effect because it just wouldn't have worked (unless there's a way to stop sounds).


Top
 
PostPosted: Tue Aug 04, 2009 8:30 am 
Offline
User avatar
 Profile

Joined: Sun Jun 28, 2009 11:37 pm
Posts: 55
To stop an envelope sound just play another sound with 0 volume and duration.

For example, to play a 'falling' type sound for 3 seconds:

ENVELOPE 1,10,-1,0,0,255,0,0,127,0,0,0,126,0
SOUND 1,1,200,60:SOUND 1,0,0,0

To make the effect play for an arbitrary length of time just set the duration of the first sound to 1 and let it carry on as long as you want. Then play the second sound when you want it to stop.


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: