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

developing/porting a new game or gaming framework? post in here!
User avatar
tricky
Posts: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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 145 times
screenshot.png
RobC
Posts: 3816
Joined: Sat Sep 01, 2007 10:41 pm
Contact:

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

Post by RobC »

Looking good =D> =D> :D
User avatar
AndyF
Posts: 1278
Joined: Sat Feb 23, 2008 10:16 pm
Location: Derby
Contact:

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

Post by AndyF »

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: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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 11488 times
MoonPatrol.zip
Not suitable for beebem!
(6.08 KiB) Downloaded 111 times
User avatar
Arcadian
Site Admin
Posts: 4227
Joined: Fri Nov 24, 2000 12:16 pm
Contact:

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

Post by Arcadian »

Tried both demos. Impressed! Eagerly looking forward to the next (and the next and the next and the next! :) ).
Please subscribe to the ABug YouTube channel!
User avatar
tricky
Posts: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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 11331 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 106 times
Last edited by tricky on Sat Jan 12, 2019 9:47 pm, edited 2 times in total.
User avatar
tricky
Posts: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »


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

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: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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 129 times
User avatar
jms2
Posts: 3765
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 »

That suspension is mesmerising....
User avatar
tricky
Posts: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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 10885 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 93 times
User avatar
tricky
Posts: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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: 224
Joined: Fri Jul 01, 2016 1:29 pm
Location: Guildford
Contact:

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

Post by Dethmunk »

: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: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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: 224
Joined: Fri Jul 01, 2016 1:29 pm
Location: Guildford
Contact:

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

Post by Dethmunk »

Get well soon Tricky. Moon Patrol is looking awesome. :D
Image
User avatar
lurkio
Posts: 4351
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

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

Post by lurkio »

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

=D> =D> =D>
Muddyfunster
Posts: 30
Joined: Tue Apr 16, 2019 9:36 pm
Contact:

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

Post by Muddyfunster »

This is looking great!
User avatar
simonm
Posts: 363
Joined: Mon May 09, 2016 3:40 pm
Contact:

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

Post by simonm »

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: 1251
Joined: Thu Sep 10, 2015 9:56 pm
Contact:

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

Post by JudgeBeeb »

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: 86
Joined: Wed Sep 27, 2017 4:57 pm
Location: Halden, Norway
Contact:

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

Post by mlouka »

Excellent stuff -- great to see the progress you are making! =D>
BBC Master 128, BBC Model B i7, PMS B2P-6502 2nd proc., PiTubeDirect (both internal and external), RetroClinic Multi-OS Selector, Sundby 256k RAM/ROM card, MMFS, Gotek, Music 500, Hoglet RGBtoHDMI, ...
User avatar
tricky
Posts: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

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: 1304
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 »

Great work! Very smooth scrolling indeed.
0xC0DE
"I program my home computer / Beam myself into the future"
:arrow: Follow me on Twitter
:arrow: Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
User avatar
Rich Talbot-Watkins
Posts: 2054
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 »

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: 620
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 »

Very impressive. Very well done. =D>
Richard B
Acorn Electrons issue 4 and 6, MRB, Plus 1 x2, Plus 3, AP6 x2, AP5, Pegasus 400, BeebSCSI, Gotek, Raspberry Pi Co-processor, GoSDC MBE.
BBC B+ 64K (128K upgraded) with Duel OS, Raspberry Pi Co-processor and Gotek.
Muddyfunster
Posts: 30
Joined: Tue Apr 16, 2019 9:36 pm
Contact:

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

Post by Muddyfunster »

tricky wrote: Sun May 26, 2019 5: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!
User avatar
tricky
Posts: 7721
Joined: Tue Jun 21, 2011 9:25 am
Contact:

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

Post by tricky »

Sorry, another minor progress update:

URL:https://youtu.be/Iq_jZaJs_8w View at 720p+ for 50hz.
User avatar
lurkio
Posts: 4351
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

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

Post by lurkio »

tricky wrote: Sun Feb 23, 2020 8:04 pm Sorry, another minor progress update: URL:https://youtu.be/Iq_jZaJs_8w View at 720p+ for 50hz.
:shock: :D =D> =D> =D>

This simply cannot be a Beeb! It just can't. It's bananas! :wink:

Fantastic!

:idea:
Post Reply

Return to “new projects in development: games”