Moon Patrol for the beeb (New port, just starting)

new games to be launched and discussed here
Post Reply
User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Moon Patrol for the beeb (New port, just starting)

Post by tricky » Fri Jan 04, 2019 9:14 pm

I've been thinking about doing moon patrol, I wasn't a big fan and the beeb version really put me off, but I'm coming around to the idea.
The ground is a bit boring at the mo' and this isn't a beebem version :(
I also need to improve my music converter.
Attachments
MoonPatrol.zip
(6.4 KiB) Downloaded 14 times
screenshot.png

RobC
Posts: 2526
Joined: Sat Sep 01, 2007 9:41 pm
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by RobC » Fri Jan 04, 2019 10:36 pm

Looking good =D> =D> :D

User avatar
AndyF
Posts: 1173
Joined: Sat Feb 23, 2008 10:16 pm
Location: Derby
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by AndyF » Sun Jan 06, 2019 10:52 am

I concur that is a very promising start. =D>
Andy

* NEW * The Jetset Willy and Manic Miner community :)

Adventure games ported across to the BBC (in progress) as soon as I can find some time!

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Sun Jan 06, 2019 2:55 pm

Thanks.
I had to tweak my VGM converter as the VGM for the music that I had found seemed to have been converted from ~60Hz to ~50Hz and back to ~60Hz and my converter was finding a 61.75Hz pattern! Anyway, reduced from 1K to 400 bytes and now plays at a speed much closer to the original (now a bit too fast). The "drums" repeat the same pattern, so I could reduce that to 200 bytes!
I have a few minor compromises in mind, but the result should feel very close.
I'm trying to think of a good encoding for the map between exactly the same ground/aliens vs random whilst still making it possible and predictable.
Memory is looking OK, but there won't be much to spare and I doubt that I will have room for the buildings or any extras, but I am open to suggestions.
Attachments
screenshot.png
screenshot.png (3.62 KiB) Viewed 1209 times
MoonPatrol.zip
Not suitable for beebem!
(6.08 KiB) Downloaded 10 times

User avatar
Arcadian
Site Admin
Posts: 2958
Joined: Fri Nov 24, 2000 12:16 pm
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by Arcadian » Fri Jan 11, 2019 10:50 pm

Tried both demos. Impressed! Eagerly looking forward to the next (and the next and the next and the next! :) ).
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Fri Jan 11, 2019 11:37 pm

Stalled a bit, just can't seem to stay awake!
I'll try to get a new demo by the end of the weekend.

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Sat Jan 12, 2019 9:19 pm

Managed to get a couple of hours to add a longer tune and the buggy - can't be controlled but does have suspension :D
with_buggy.png
with_buggy.png (3.89 KiB) Viewed 1052 times
4.5K free :cry:

PS If you have an old beebem, the sound will be awful due to a beebem bug - I will try to remember to work-a-round it for the next demo!
Attachments
MoonPatrol.zip
(9.63 KiB) Downloaded 12 times
Last edited by tricky on Sat Jan 12, 2019 9:47 pm, edited 2 times in total.

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Sun Jan 13, 2019 4:13 pm


URL:https://youtu.be/ISyFwWREmjM View at 720p+ for 50hz.
BeebEm version attached - sound is correct in some versions but way off in others!
Attachments
MoonPatroBeebEm.zip
(8.44 KiB) Downloaded 8 times
Last edited by tricky on Sun Jan 13, 2019 4:16 pm, edited 1 time in total.

User avatar
FourthStone
Posts: 707
Joined: Thu Nov 17, 2016 2:29 am
Location: Brisbane, Australia
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by FourthStone » Sun Jan 13, 2019 7:51 pm

Looking good Tricky =D>

One of my favorite arcade games that I'd play at the local milk bar.

I'd collect soft drink bottles to collect the deposit, buy some lollies and then have a few plays on moon patrol, good times.

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Thu Jan 17, 2019 12:24 am

I've been having trouble sleeping and waking up!
Added moving SHIFT/RETURN and shooting up Z.
Debug output says 7K left.
Attachments
MoonPatrol.zip
(8.78 KiB) Downloaded 17 times

User avatar
jms2
Posts: 2177
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by jms2 » Thu Jan 17, 2019 7:01 am

That suspension is mesmerising....

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Sat Jan 26, 2019 8:55 pm

I've eventually managed to get back to MoonPatrol and got slightly sidetracked with why beebem's timing is off and it took about one second to "fix" it in the version I have!

Code: Select all

void VideoDoScanLine(void) {
...
VideoState.VSyncState=(CRTC_SyncWidth>>4)+1;
I removed the +1 in the line above as the vsync ends one scan line too late.
I don't think this is the correct solution, and that it is more a case of two wrongs making a right as the colour changes are still one scan line off compared to b-em and real hardware.

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Mon Jan 28, 2019 6:25 pm

Added shots up and forward and alien bombs (but no aliens), so there is a bit of a game there.
I still need to tidy things up and order them correctly, but is should start to feel like MoonPatrol.
I might have to make it easier to dodge the bombs.
bomb_screen_shot.png
bomb_screen_shot.png (4.09 KiB) Viewed 606 times
Z/X slower/faster
RETURN shoot up
SHIFT shoot forward (can't hit anything with this gun).
Attachments
MoonPatrol.zip
(9.72 KiB) Downloaded 18 times

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Sat Feb 02, 2019 12:07 pm

Not getting very far very fast, so thought I would do something quick to get me going, so here is the VideoNuLA comparison screenshot.
nula_compare.png
Left: native beeb, Centre: Arcade, Right: beeb+NuLA
The beeb version currently has a slightly wider and taller play area but I have skimped a bit on the scenery and UI.
I moved the UI to the bottom so that the warning !!! are close to where you are looking for holes and not because it was easier to code :---)
I will probably tweak the UI area a bit more, but it should be OK for now.

User avatar
Dethmunk
Posts: 204
Joined: Fri Jul 01, 2016 12:29 pm
Location: Guildford
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by Dethmunk » Sat Feb 16, 2019 6:37 pm

:shock: Looks awesome Tricky. :)
I personally prefer the native BBC version for colour options. LOL :D Great stuff though loving it.
Image

User avatar
tricky
Posts: 3283
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by tricky » Sat Feb 16, 2019 10:02 pm

Sorry it has stalled, I've been trying to get over a cold for a fortnight and am still having trouble breathing.

User avatar
Dethmunk
Posts: 204
Joined: Fri Jul 01, 2016 12:29 pm
Location: Guildford
Contact:

Re: Moon Patrol for the beeb (New port, just starting)

Post by Dethmunk » Sat Feb 23, 2019 4:00 pm

Get well soon Tricky. Moon Patrol is looking awesome. :D
Image

Post Reply