|
| Author |
Message |
|
davidb
|
Posted: Tue Dec 21, 2010 2:54 am |
Joined: Sun Nov 11, 2007 11:11 pm Posts: 562
|
Since the levels on the Electron version Firetrack are only really designed to stop the player from getting a clear shot at the pirates, I looked around for another game where editing the levels would have more of an effect on the gameplay. I've always liked Shark, so I went digging for the level data. As with the Firetrack map information I uncovered, I'm really unlikely to do anything with this for the time being, so I've attached my notes here. Inspired by Cybershark's Hobgoblin level editor, I wanted to write a map editor to run on a real or emulated Electron, but I forgot how much I dislike 6502 machine code.  Maybe someone else will have more luck...
| Attachments: |
File comment: Shark level data information
SharkMap.zip [941 Bytes]
Downloaded 88 times
|
|
|
|
|
 |
|
Cybershark
|
Posted: Tue Dec 21, 2010 12:08 pm |
Joined: Wed Jun 14, 2006 11:16 pm Posts: 393
|
Hahaha, thread title made me chuckle. I'm thinking "Yes, I do. What of it?" But yeah, Shark was a really excellent game. Much more interesting than Green Beret! Although due to the manic - and totally random - enemy generation then the baddies were often so overwhelming you had to retreat a lot of the time! However, in mapping terms then that random generation means level design would be very easy indeed davidb wrote: Inspired by Cybershark's Hobgoblin level editor, I wanted to write a map editor to run on a real or emulated Electron, but I forgot how much I dislike 6502 machine code.  Well, I wrote most of mine in BASIC. Not touched that for a day or two actually as there's still some enemy behaviour which I can't figure out - may be hardcoded. See above about mapping being easier when you don't have to worry about placing baddies  I'm very tempted to take a look into modding this!
|
|
|
|
 |
|
Cybershark
|
Posted: Tue Jan 04, 2011 10:16 pm |
Joined: Wed Jun 14, 2006 11:16 pm Posts: 393
|
|
Heh, I'd forgotten how small the levels actually are in Shark. It's all about the effort of progressing!
Nice level display routine there - I suspect this one may be easier to edit on an external platform as the game area does take up a much larger portion of the screen than does Hobgoblin. Also the sprite data is not as easy to use (for me at least).
|
|
|
|
 |
|
davidb
|
Posted: Thu Jan 06, 2011 6:15 pm |
Joined: Sun Nov 11, 2007 11:11 pm Posts: 562
|
|
I think it would be possible to do a simple level editor in BASIC and 6502 code, though with MoonMap I found it easier to have an external tool do the ASCII to map data conversion and regenerate a UEF file. With Shark, that's probably also possible because there aren't many kinds of map tile. Firetrack is a bit different - there are constraints on the way map data is encoded which would might make it quite easy to produce non-encodable levels.
|
|
|
|
 |
|
davidb
|
Posted: Mon Jan 10, 2011 2:00 am |
Joined: Sun Nov 11, 2007 11:11 pm Posts: 562
|
|
Well, I returned from holiday with the flu so, while off work, I thought I'd spend some time looking at the BASIC and 6502 code I'd already written.
If you want to play with this, you'll need to copy the CODE, LOADER and PATCH files from the Shark UEF file into the disc image. Then it should just be a matter of Shift-Break and off you go.
Keys: Z X : / left, right, up, down . , scroll level left, right 0-9 A-F set tile at the current position and set the current tile Return set tile at the current position using the current tile F1 F2 F3 select level 1, 2, 3 S save levels L load levels W wipe the current level
Have fun!
| Attachments: |
File comment: Editing the second level.
editor.png [8.35 KiB]
Downloaded 839 times
|
File comment: DFS image containing only the editor files.
shark-editor.ssd.zip [13.08 KiB]
Downloaded 66 times
|
|
|
|
|
 |
|
Cybershark
|
Posted: Wed Jan 12, 2011 1:26 am |
Joined: Wed Jun 14, 2006 11:16 pm Posts: 393
|
Just had a little play with it and am rather impressed - although some of the structures you've created in your levels are very surreal! Was having trouble finding the game files you mentioned ...until I remembered you'd said 'Electron'. Editor all works nicely but I guess I'm going to have to get myself an Elkulator now! That or merge the modified map data into the Beeb version But yeah, very slick tool you have there. I love the speed of it and the way you can just switch between levels in the blink of an eye. Looks like you used the game code itself for the screen display? Nice touch, and it certainly saves time and memory!
|
|
|
|
 |
|
davidb
|
Posted: Wed Jan 12, 2011 2:09 am |
Joined: Sun Nov 11, 2007 11:11 pm Posts: 562
|
Cybershark wrote: Just had a little play with it and am rather impressed - although some of the structures you've created in your levels are very surreal! I was in a rush to create them! Cybershark wrote: Was having trouble finding the game files you mentioned ...until I remembered you'd said 'Electron'. Editor all works nicely but I guess I'm going to have to get myself an Elkulator now! That or merge the modified map data into the Beeb version It looks like the BBC tape version stores the level data at the same offset into the SHARKMC file, so it should be possible to patch it in the same way as for the Electron version. The sprite data looks like it might be a bit different, though, so the editor won't display it properly. Of course, doing all this on an Electron (emulator) with PAGE at &E00 works just fine, but more messing about is required when using a BBC (emulator) with a higher PAGE. The first level of the BBC version has some subtle differences to the Electron version, which I found mildly interesting. Cybershark wrote: But yeah, very slick tool you have there. I love the speed of it and the way you can just switch between levels in the blink of an eye. Looks like you used the game code itself for the screen display? Nice touch, and it certainly saves time and memory! Thanks! Actually, I wrote my own display routine, which was a nice way to remind myself why I never really got very far with 6502 back in the day. I think I probably won't feel the need to write 6502 code again for a while... 
|
|
|
|
 |
|
Cybershark
|
Posted: Wed Jan 26, 2011 1:28 am |
Joined: Wed Jun 14, 2006 11:16 pm Posts: 393
|
I just used BeebEm in Master 128 mode  And thanks for making a BBC version too! Cybershark wrote: The sprite data looks like it might be a bit different, though, so the editor won't display it properly. Yeah, the Electron version has it all laid out quite plainly, now I see it. But that Beeb data just didn't seem to be in a friendly format to me.
|
|
|
|
 |
|
davidb
|
Posted: Wed Jan 26, 2011 2:01 am |
Joined: Sun Nov 11, 2007 11:11 pm Posts: 562
|
Cybershark wrote: I just used BeebEm in Master 128 mode  And thanks for making a BBC version too! D'oh! I didn't think of that. Mind you, I don't have the Master ROMs for BeebEm, so maybe that's why. I hope you have fun with it! Cybershark wrote: Yeah, the Electron version has it all laid out quite plainly, now I see it. But that Beeb data just didn't seem to be in a friendly format to me. It appears to be stored in vertical strips, probably to make the scrolling routine simpler. I notice that the scrolling on the BBC version makes the game a lot harder in places.
|
|
|
|
 |
|
|