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

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

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

Post by tricky » Sun Oct 01, 2017 11:32 am

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 45 times
demo1_shot.png
demo1_shot.png (1.76 KiB) Viewed 2533 times
Last edited by tricky on Wed Oct 04, 2017 9:19 pm, edited 1 time in total.

User avatar
kieranhj
Posts: 717
Joined: Sat Sep 19, 2015 10:11 pm
Location: Farnham, Surrey, UK
Contact:

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

Post by kieranhj » Wed Oct 04, 2017 6:52 pm

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

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

Post by tricky » Wed Oct 04, 2017 9:16 pm

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 36 times

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

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

Post by tricky » Fri Oct 20, 2017 7:36 pm

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 59 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 » Mon Jan 15, 2018 12:34 pm

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

Jon

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

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

Post by tricky » Tue Jan 30, 2018 7:14 pm

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: 1129
Joined: Wed Jan 27, 2016 12:50 am
Contact:

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

Post by Commie_User » Tue Jan 30, 2018 11:21 pm

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

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

Post by tricky » Wed Jan 31, 2018 6:59 am

Thanks, I think it is the original font.
What is a CSW?

Commie_User
Posts: 1129
Joined: Wed Jan 27, 2016 12:50 am
Contact:

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

Post by Commie_User » Wed Jan 31, 2018 6:54 pm

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

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

Post by tricky » Wed Jan 31, 2018 10:51 pm

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 32 times

Commie_User
Posts: 1129
Joined: Wed Jan 27, 2016 12:50 am
Contact:

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

Post by Commie_User » Thu Feb 01, 2018 1:14 pm

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: 121
Joined: Thu Aug 11, 2016 4:45 pm
Location: California
Contact:

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

Post by 8bitkick » Tue Feb 06, 2018 9:36 pm

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: 1129
Joined: Wed Jan 27, 2016 12:50 am
Contact:

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

Post by Commie_User » Tue Feb 06, 2018 10:03 pm

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: 121
Joined: Thu Aug 11, 2016 4:45 pm
Location: California
Contact:

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

Post by 8bitkick » Tue Feb 06, 2018 10:08 pm

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: 1129
Joined: Wed Jan 27, 2016 12:50 am
Contact:

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

Post by Commie_User » Tue Feb 06, 2018 10:46 pm

It's that UEF you gave me.

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

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

Post by tricky » Tue Feb 06, 2018 11:06 pm

Try *centi

Thanks 8bitkick, I liked your site, but couldn't find the link you mentioned at the time.

Commie_User
Posts: 1129
Joined: Wed Jan 27, 2016 12:50 am
Contact:

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

Post by Commie_User » Wed Feb 07, 2018 12:39 am

BBC Computer 32K

BASIC

>*CENTI

Bad command

>_

We'd probably best call Sophie Wilson! :)

User avatar
davidb
Posts: 2150
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

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

Post by davidb » Wed Feb 07, 2018 1:00 am

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

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

Post by tricky » Wed Feb 07, 2018 8:13 am

Sorry, it's been over 30 years since I used a tape.

Commie_User
Posts: 1129
Joined: Wed Jan 27, 2016 12:50 am
Contact:

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

Post by Commie_User » Wed Feb 07, 2018 8:55 pm

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: 2150
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

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

Post by davidb » Wed Feb 07, 2018 11:23 pm

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

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

Post by tricky » Thu Feb 08, 2018 12:41 am

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

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

Post by tricky » Wed Feb 21, 2018 8:48 pm

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 23 times

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

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

Post by Arcadian » Thu Feb 22, 2018 7:15 am

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!!
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk

Image
ABug SOUTH (Hampshire) (1-3 June 2018)

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

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

Post by tricky » Thu Feb 22, 2018 12:48 pm

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

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

Post by tricky » Sun Mar 04, 2018 9:34 am

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 26 times

Michael Brown
Posts: 2023
Joined: Sat Apr 03, 2010 12:54 pm
Location: Nottingham
Contact:

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

Post by Michael Brown » Sun Mar 04, 2018 12:44 pm

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

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

Post by tricky » Sun Mar 04, 2018 1:13 pm

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 37 times

User avatar
Pablos544
Posts: 332
Joined: Tue Jul 15, 2014 4:25 pm
Location: London, UK
Contact:

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

Post by Pablos544 » Sun Mar 04, 2018 1:57 pm

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