New version of Centipede for the BBC Micro (now complete)

User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

New version of Centipede for the BBC Micro (now complete)

Post by tricky »

Lates .SSD in this post: https://www.stardot.org.uk/forums/viewt ... 75#p410275.

Hi, sorry I've been so slow getting this first demo out, it hasn't been much work, but I've managed to spend nearly no time coding.
You can move (inc through mushrooms), shoot, hit mushrooms and the centipede segments, collide with the centipede and progress to next level if you hit all the segments. The centipede will split if it collides with itself, or if you shoot it.
There is no sound and I think you can shoot a segment while it is exploding!
You can move: [Z], [X], [/] ,[:] (probably ' on emulator) and [RETURN] to fire.
Pressing fire on the joystick will activate joystick + keyboard mode, careful not to click if you have mouse emulating joystick in an emulator.
Image
Things to add:
* fix extra heads spawning, so they don't collide immediately with the centipede.
* player movement blocking by mushrooms.
- working, but could be improved - Dave, can you feel the acceleration ;)
* the flea, drops down the screen spawning mushrooms (does it only drop when there are less than 5 mushrooms in the player's area?)
- flea still needs to be shootable and collide with the player
* the spider, bounces around being a nuisance.
* the scorpion, poisons mushrooms, which cause the centipede to dive until it reaches the player's area when it hits them.
* sound.
* improve control.
+ high-score table and name entry (maybe)
Is there anything else I have missed?
In the arcade ROM, there are graphics for some kind of grass-hopper, does anyone know what it was supposed to do?
I don't think I have ever played millipede, I have heard that it isn't as good as centipede, does anyone think differently?
Attachments
CentipedeDemo1.zip
(4.31 KiB) Downloaded 217 times
demo1_shot.png
demo1_shot.png (1.76 KiB) Viewed 16748 times
Last edited by tricky on Wed Dec 06, 2023 7:26 pm, edited 3 times in total.
User avatar
kieranhj
Posts: 1103
Joined: Sat Sep 19, 2015 11:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by kieranhj »

Good work Tricky, as always! The question everyone's asking though - when is there going to be a 16 colour NULA version? :D
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Well, with the beeb sprite ripper (or whatever it is called) and 3 pixels per byte attribute mode, as soon as someone makes it :lol:
Small update, added the flea for when there are 5 or less mushrooms in the player's area (bottom quarter of the screen) - need to fix player-flea collision and make it shootable.
There is a bug that occasionally leaves a double width shot on the screen, I can't remember if it is when you die, or when you complete a level.
Attachments
CentipedeDemo2.zip
(4.59 KiB) Downloaded 199 times
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Sorry, i've been very slack with this, but I haven't forgotten; lost a day to sound as usual.
Here is a small update with some sound, should support keyboard and joystick (fire to activate, then you can use both).
I've still got nearly 5K free and can't think what to do with it all :lol:
Attachments
CentipedeDemo3.zip
(5.02 KiB) Downloaded 313 times
InMuskWeTrust
Posts: 1
Joined: Mon Jan 15, 2018 11:48 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by InMuskWeTrust »

Looking good, gonna check it out. Will surely let you know how it went. Thanks :)

Jon
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

I've really been neglecting this, it's been really hard to get motivated, but I seem to have hit a small pocket of enthusiasm, so here is a minor update.
I am currently adding the spider, which is why it leaves corruption and cannot be shot.
The scorpion makes a brief appearance at 2:12, when it runs straight into my bullet.
When it is finished, I will make it loadable as a ROM and do some sort of splash screen.
Any suggestions welcome, although I reserve the right to be too lazy to implement them!

http://youtu.be/hahVFUmfOZk
Commie_User
Posts: 1309
Joined: Wed Jan 27, 2016 12:50 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Commie_User »

The invincible spider's not an incomplete code, it's a feature! Just redraw him as Evil Otto and you have a crossover! :D

It's looking really good anyway. Smooth and arcadey. I like the nice touch of the Nintendo typeset for the score.

Would you mind making it a CSW?
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Thanks, I think it is the original font.
What is a CSW?
Commie_User
Posts: 1309
Joined: Wed Jan 27, 2016 12:50 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Commie_User »

It's a tape image format. UEFs have trouble loading into my Issue 3 and there's no room for an MMC on it.

(Unless any UEF will end up at PlayUEF. I was given this advice somewhere on the forum but can't locate the link.
If you navigate to http://www.8bitkick.cc/playuef---bbc-micro.html and select any game link on the page, then add &CARRIER=2 at the end, it should work. (Make sure you have cleared your web browser cache otherwise you'll be picking up the old version potentially.)

http://www.8bitkick.cc/PlayUEF.html
http://www.8bitkick.cc/playuef---bbc-micro.html
)
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Sorry, no idea how to do that, all I know is using beebem to save a .uef with *TAPE then *SAVE...
I've attached it just in case you want to try.
Maybe PlayUEF could be persuaded to add an option to read from a github or google drive etc link.
Attachments
Centipede.zip
(7.6 KiB) Downloaded 192 times
Commie_User
Posts: 1309
Joined: Wed Jan 27, 2016 12:50 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Commie_User »

It has to be on the actual website before I can use it.

Ah well, it was just a thought! Thank you anyway, I'm sure I will use it.
User avatar
8bitkick
Posts: 151
Joined: Thu Aug 11, 2016 5:45 pm
Location: California
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by 8bitkick »

tricky wrote:Sorry, no idea how to do that, all I know is using beebem to save a .uef with *TAPE then *SAVE...
I've attached it just in case you want to try.
Maybe PlayUEF could be persuaded to add an option to read from a github or google drive etc link.
Commie_User wrote:It has to be on the actual website before I can use it.

Ah well, it was just a thought! Thank you anyway, I'm sure I will use it.
Hello, you can load a local UEF file like this (if this is what you are looking for...)

http://playuef.8bitkick.cc/?LOCAL=true

(Edit: you can also use ?FILE=<url> to access a UEF on the internet). Full documentation is here

https://github.com/8bitkick/PlayUEF/blo ... /README.md

Hope this helps :)
Commie_User
Posts: 1309
Joined: Wed Jan 27, 2016 12:50 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Commie_User »

8bitkick wrote: Hope this helps :)

Excellent! I can even append the &CARRIER=2 thing now and I got a result. Not the one I expected but your applet works like a dream.


BASIC

>CH.""
Searching

Loading

CENTI 2D 2DED

Bad program
>*LOAD
Searching

Loading

CENTI 2D 2DED
>RUN

Syntax error

Bad program
>LIST

Bad Program
>_


I suppose that's what I get for tempting fate by asking for it on a format which it wasn't intended for! :lol:
User avatar
8bitkick
Posts: 151
Joined: Thu Aug 11, 2016 5:45 pm
Location: California
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by 8bitkick »

Commie_User wrote:
8bitkick wrote: Hope this helps :)
I suppose that's what I get for tempting fate by asking for it on a format which it wasn't intended for! :lol:
Which format is the file in? If it's a UEF it *should* work... if it doesn't I need to fix it...
Commie_User
Posts: 1309
Joined: Wed Jan 27, 2016 12:50 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Commie_User »

It's that UEF you gave me.
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Try *centi

Thanks 8bitkick, I liked your site, but couldn't find the link you mentioned at the time.
Commie_User
Posts: 1309
Joined: Wed Jan 27, 2016 12:50 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Commie_User »

BBC Computer 32K

BASIC

>*CENTI

Bad command

>_

We'd probably best call Sophie Wilson! :)
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by davidb »

Try this:

Code: Select all

*RUN CENTI
The star command version only works with things like ROMs and disks, not tapes.
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Sorry, it's been over 30 years since I used a tape.
Commie_User
Posts: 1309
Joined: Wed Jan 27, 2016 12:50 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Commie_User »

Ah, no!

But that aside, it's a splendid bit of work and looks great on my little CUB. Nice sharp, smooth graphics, lovely slick physics and the *RUN command loads it flawlessly. I like the arcade aspect ratio too.

I'm someone who doesn't normally do all that great either on keyboards or Centipede and I'm still doing fine enough killing them. Only partly as I have less trouble after me.

On the final version, will there be a pause button? Or a mode to allow more rapid shooting? I could do even better if I could rapid fire instead of waiting for the missile to get to the top or hit whatever. That's all I'd ask.
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by davidb »

tricky wrote:Sorry, it's been over 30 years since I used a tape.
No worries. It trips me up (and others, too, from experience) from time to time. :)
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Thanks Commie_User, I don't have pause in any of my games, but as I'm not after your 10p pieces, maybe, but it would take some of the skill away.
The trick with the shots is not to miss and keep calm, it would be too easy with rapid shots, not to mention not authentic ;)
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Sorry I'm being so slow with this one, I keep getting distracted.
I've done some internal tidying and the spider is in, but watch out, it will target you if you are hiding at the edges.

TODO:
"Crazy" diving segments when they touch poisoned mushrooms.
Segments that appear near the bottom if you don't complete the level quickly enough.
Lives and game over, the high-score is already updated, or would be if you could end a game!
Splash screen with instructions
Compression and self extraction with a ROM header so that it can be *CENTIPEDEd or booted from slot 0.

Nearly 4.5K left, I might need to add a proper high-score table just to fill it up a bit!
Have I missed anything?
Any suggestions?
Attachments
CentipedeDemo4.zip
(5.5 KiB) Downloaded 149 times
User avatar
Arcadian
Site Admin
Posts: 4223
Joined: Fri Nov 24, 2000 12:16 pm
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Arcadian »

Sense this is going to be another favourite at the events, Richard!

Is it the intention to mimic the high score table from the coinop? I thought conversions that enabled you to enter high score initials with the dpad (or directional keys) and fire were really cool!!
Please subscribe to the ABug YouTube channel!
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

If I do, I will also add keyboard support as carnival really confused people when they get on the high score table.
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Apart from thinking about Star Wars and putting the "speech" demo together yesterday, I've managed to finish the game play for Centipede.
The attached zip contains what should be the final gameplay, although I've just been trying it on my beeb and noticed that I have broken the sound a bit!
I've mostly been playing it on an older version of beebem, which is where I have all my debugging additions (and speech) but it doesn't do sound quite right and so I didn't notice!
Anyway, keys are ZX/* and return to (auto) fire; joystick is automatically activated by pressing fire (keys will also still work).
Be aware of a couple of "cheap deaths" which stop a couple of "exploits": the spider will "pounce" on you if you sit at the side of the screen for too long and when shooting a centipede right on the bottom, you might get caught in the explosion.
As I have been adding the features to this game, I have learned to appreciate how well the different elements fit together. If you remove any, the game becomes "too" easy.
I haven't added lives or game over or a high score table, but might do so today.

Enjoy and please let me know of any problems.

EDIT: updated the sound, but still not quite right
Attachments
FinalGamePlay.zip
(5.57 KiB) Downloaded 154 times
Michael Brown
Posts: 2611
Joined: Sat Apr 03, 2010 1:54 pm
Location: Nottingham
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Michael Brown »

Hi Tricky,

Fantastic!

Is there any chance of you doing a splash screen?
Also I hope you can include at least a "Game Over"

regards,
Mick.

PS Keep up the good work!
User avatar
tricky
Posts: 7699
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by tricky »

Still got over 4KB so, probably only limited by my enthusiasm ;)

I wasn't going to, but as I have just finished adding lives, here you go; still a little rough.

I was just about to look for a tune for game over.
Attachments
FinalGamePlayWithLives.zip
(5.69 KiB) Downloaded 165 times
User avatar
Pablos544
Posts: 341
Joined: Tue Jul 15, 2014 5:25 pm
Location: London, UK
Contact:

Re: New version of Centipede for the BBC Micro (in progress)

Post by Pablos544 »

davidb wrote:Try this:

Code: Select all

*RUN CENTI
The star command version only works with things like ROMs and disks, not tapes.
I'm sorry my BBC ROM dyslexia is pretty poor I understood that you could only run * commands on things that were setup to run these commands in (loaded) ROMs? :?
Post Reply

Return to “trickysoft (new bbc micro games)”