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

new games to be launched and discussed here
Post Reply
User avatar
tricky
Posts: 3735
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 29 times
screenshot.png

RobC
Posts: 2694
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: 1276
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: 3735
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 2232 times
MoonPatrol.zip
Not suitable for beebem!
(6.08 KiB) Downloaded 19 times

User avatar
Arcadian
Site Admin
Posts: 2996
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: 3735
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: 3735
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 2075 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 18 times
Last edited by tricky on Sat Jan 12, 2019 9:47 pm, edited 2 times in total.

User avatar
tricky
Posts: 3735
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 13 times
Last edited by tricky on Sun Jan 13, 2019 4:16 pm, edited 1 time in total.

User avatar
FourthStone
Posts: 813
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: 3735
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 23 times

User avatar
jms2
Posts: 2276
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: 3735
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: 3735
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 1629 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 27 times

User avatar
tricky
Posts: 3735
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: 218
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: 3735
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: 218
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

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

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

Post by tricky » Sat May 25, 2019 10:31 am

Minor progress update:

URL:https://youtu.be/nZaieTuQ4bg View at 720p+ for 50hz.

User avatar
lurkio
Posts: 2180
Joined: Tue Apr 09, 2013 11:30 pm
Location: Doomawangara
Contact:

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

Post by lurkio » Sat May 25, 2019 11:19 am

tricky wrote:
Sat May 25, 2019 10:31 am
Minor progress update:
URL:https://youtu.be/nZaieTuQ4bg View at 720p+ for 50hz.
Absolutely ridiculous!

=D> =D> =D>

Muddyfunster
Posts: 21
Joined: Tue Apr 16, 2019 8:36 pm
Contact:

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

Post by Muddyfunster » Sat May 25, 2019 7:16 pm

This is looking great!

User avatar
simonm
Posts: 302
Joined: Mon May 09, 2016 2:40 pm
Contact:

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

Post by simonm » Sun May 26, 2019 2:40 am

Love it. So smooth and the colours are great! Plus I'm a big fan of how you use the arcade fonts too. =D>

User avatar
JudgeBeeb
Posts: 900
Joined: Thu Sep 10, 2015 8:56 pm
Contact:

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

Post by JudgeBeeb » Sun May 26, 2019 10:19 am

Marvellous =D> =D> =D>
There is so much wonder in the universe; why should you want to imagine that there is more?

User avatar
mlouka
Posts: 63
Joined: Wed Sep 27, 2017 3:57 pm
Location: Halden, Norway
Contact:

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

Post by mlouka » Sun May 26, 2019 3:52 pm

Excellent stuff -- great to see the progress you are making! =D>
BBC Master 128, BBC Model B i7, Watford Electronics Solderless Sideways ROM board, PMS B2P-6502 2nd proc., PiTubeDirect (both internal and external), RetroClinic Multi-OS Selector, Sundby 256k RAM/ROM card, MMFS, Gotek, Music 500, ...

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

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

Post by tricky » Sun May 26, 2019 4:20 pm

Thanks for all the kind words.
I got a bit bogged down writing different sprite routines for every object, most of them have multiple routines!
Now I have plenty of frame time, but not much memory and will have to combine a few of them to get the memory back!
I'm currently prepping for Revival and discovering that most of my "spare" beebs have developed faults, but I think I have enough now and will be able to get back to this after Revival.

User avatar
0xC0DE
Posts: 343
Joined: Tue Mar 19, 2019 7:52 pm
Location: The Netherlands
Contact:

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

Post by 0xC0DE » Sun May 26, 2019 5:08 pm

Great work! Very smooth scrolling indeed.
0xC0DE
:idea: Follow me on Twitter :idea: Visit my YouTube channel featuring my demos for Acorn Electron and BBC Micro

User avatar
Rich Talbot-Watkins
Posts: 1547
Joined: Thu Jan 13, 2005 5:20 pm
Location: Palma, Mallorca
Contact:

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

Post by Rich Talbot-Watkins » Sun May 26, 2019 5:13 pm

I know I say it every time, but I think this is probably your best conversion yet! Absolutely amazing bit of work!

User avatar
rmbrowngr
Posts: 316
Joined: Sat Jan 13, 2018 12:46 pm
Location: Dionysos, Greece
Contact:

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

Post by rmbrowngr » Sun May 26, 2019 7:24 pm

Very impressive. Very well done. =D>
Richard B
Acorn Electrons issue 4 and issue 6 with Master RAM Board, Acorn Plus 1, AP6, AP5, Pegasus 400, BeebSCSI, Gotek, Raspberry Pi 2nd Processor, GoSDC MBE with Elk2GoSDC and Cart2GoSDC.
BBC B+ 64K (128K upgraded) with Duel OS

Muddyfunster
Posts: 21
Joined: Tue Apr 16, 2019 8:36 pm
Contact:

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

Post by Muddyfunster » Mon May 27, 2019 2:09 pm

tricky wrote:
Sun May 26, 2019 4:20 pm
Thanks for all the kind words.
I got a bit bogged down writing different sprite routines for every object, most of them have multiple routines!
Now I have plenty of frame time, but not much memory and will have to combine a few of them to get the memory back!
I'm currently prepping for Revival and discovering that most of my "spare" beebs have developed faults, but I think I have enough now and will be able to get back to this after Revival.
Thanks for the reminder on Revival!

Post Reply