Happy Mrs Chicken!

Got a programming project in mind? Tell everyone about it!
User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Happy Mrs Chicken!

Post by sydney » Thu Jun 29, 2017 12:16 pm

So I've been off work all week as my youngest daughter has chickenpox and we've been having lots of fun together playing games, reading books, drawing, watching tv and even a bit of beeb gaming. She started asking questions about how the games work and somehow I ended up asking her if she'd like to make her own game.
One of her favourite tv shows is Peppa Pig and there is a computer game on the show called Happy Mrs Chicken - she even has it on her Nintendo DS! The aim of the game is to lay eggs and they turn into little chicks and run off the screen. And thats it! However, you can lay over 100 eggs and I think the beeb might struggle plotting over 100 sprites every frame so we've adapted the idea a bit.
Happy Mrs Chicken is going to run around the screen eating corn and laying eggs. You have to try to catch her as soon as possible as every egg she lays will hatch into a little chick and try to run off the screen. You will also be able to collect the eggs and the hatched chicks before they escape. Once you catch Mrs Chicken the level is over and will begin again with a faster chicken or more chickens.
I've not got much done but I think I could have something playable by the weekend. Here is a screenshot of the graphics we designed together on graph paper and some of her brainstorming!

HMC project on github: https://github.com/sydney69/HMC
chicken.png
brainstorm.jpg

User avatar
leenew
Posts: 3633
Joined: Wed Jul 04, 2012 3:27 pm
Location: Doncaster, Yorkshire
Contact:

Re: Happy Mrs Chicken!

Post by leenew » Thu Jun 29, 2017 12:50 pm

Why didn't you let your daughter do the drawings Simon? :-k :D

Lee.

User avatar
danielj
Posts: 6486
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester
Contact:

Re: Happy Mrs Chicken!

Post by danielj » Thu Jun 29, 2017 12:57 pm

:lol:

Love it! :D

User avatar
sirmorris
Posts: 744
Joined: Wed Feb 11, 2009 12:18 pm
Location: oxfordshire uk
Contact:

Re: Happy Mrs Chicken!

Post by sirmorris » Thu Jun 29, 2017 1:02 pm

Trivia: Happy Mr. Chicken was a bawdy song that appeared in the short but superb animated series 'the big knights' which is where my nickname and avatar came from. Sir Morris is NOT the finest swordsman in the land, but he is the most enthusiastic. Ahem. The big knights was the series from Astley Baker Davies that came before Peppa.

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Thu Jun 29, 2017 1:07 pm

leenew wrote:Why didn't you let your daughter do the drawings Simon? :-k :D

Lee.
That's some of my best ever graphic work I'll have you know!

User avatar
Elminster
Posts: 2929
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Happy Mrs Chicken!

Post by Elminster » Thu Jun 29, 2017 1:42 pm

Brings back memories of a few years ago when my daughter was addictied to Happy Mrs Chicken game on the iPad. But of course now she hates Peppa pig because it is 'for babies' so I have to watch it by myself......

User avatar
jonb
Posts: 2210
Joined: Sat May 21, 2011 12:42 pm
Location: South Coast of England
Contact:

Re: Happy Mrs Chicken!

Post by jonb » Thu Jun 29, 2017 5:56 pm

Elminster wrote:Brings back memories of a few years ago when my daughter was addictied to Happy Mrs Chicken game on the iPad. But of course now she hates Peppa pig because it is 'for babies' so I have to watch it by myself......
Who'd have known...?

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Thu Jun 29, 2017 7:22 pm

I've got the Peppa graphic sorted out but the other sprites haven't gone so well and are a bit corrupted, I'd forgotten that the sprite routine prints one whole column then moves to the next and I'd stored the sprite data in rows! #-o
So far you can move Peppa Pig left and right across the screen and thats it. Up and down will be sorted tomorrow (or tonight!) then Happy Mrs Chicken will make an appearance.
Attachments
happymrschicken.zip
(767 Bytes) Downloaded 35 times

User avatar
Elminster
Posts: 2929
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Happy Mrs Chicken!

Post by Elminster » Thu Jun 29, 2017 8:15 pm

My daughter has said 'Although I know longer like Peppa Pig, It's Cool'.

And it is the first game Ihave completed for ages, I got from left to right and back without geting blown up.

And coincidentally is wearing her StarDot t-shirt today.

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Thu Jun 29, 2017 8:22 pm

sirmorris wrote:Trivia: Happy Mr. Chicken was a bawdy song that appeared in the short but superb animated series 'the big knights' which is where my nickname and avatar came from. Sir Morris is NOT the finest swordsman in the land, but he is the most enthusiastic. Ahem. The big knights was the series from Astley Baker Davies that came before Peppa.
Wow! I've just spent the last half hour watching 'the big knights'. It's Great!

User avatar
sirmorris
Posts: 744
Joined: Wed Feb 11, 2009 12:18 pm
Location: oxfordshire uk
Contact:

Re: Happy Mrs Chicken!

Post by sirmorris » Fri Jun 30, 2017 5:27 am

Isn't it just. It's criminal that it wasn't better known.

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

Re: Happy Mrs Chicken!

Post by RobC » Fri Jun 30, 2017 6:04 am

Excellent work Sydney! Somewhere I have got a Peppa Pig colouring game that uses the RH Electronics light pen from when our eldest went through the Peppa phase :D

I also remember "The Big Knights"!

User avatar
Elminster
Posts: 2929
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Happy Mrs Chicken!

Post by Elminster » Fri Jun 30, 2017 8:35 am

My favourite game used to be work out which characters play who in peppa pig and Little Kingdon. e.g Mrs Plum = Mrs Rabbit. Loads of others but they have slipped from my memory now.

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

Re: Happy Mrs Chicken!

Post by simonm » Fri Jun 30, 2017 11:02 am

Love it! Peppa looks great with the beebs gaudy palette!
Trivia time - the Peppa HMC app was one of my company's creations! I really enjoyed working on that! :)

User avatar
Elminster
Posts: 2929
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Happy Mrs Chicken!

Post by Elminster » Fri Jun 30, 2017 11:26 am

I think I would have chosen sponge bob, much easier to draw! But now I am expecting the whole back catalogue from Sydney. Plus a few retro 80's tv tie ins. Battle of the planets and Godzilla cartoon were my favourites.

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Tue Jul 04, 2017 10:46 am

I've got peppa moving up and down the screen now and slowed her horizontal movement a bit. I've also added the project to github here: https://github.com/sydney69/HMC

More time off work today as my eldest daughter is ill, hopefully she hasn't caught chickenpox off the other one otherwise it's another week in the house for me. Oh no what can I possibly do to fill my time? :lol:

User avatar
Elminster
Posts: 2929
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Happy Mrs Chicken!

Post by Elminster » Tue Jul 04, 2017 12:50 pm

Do you offer this service to 3rd parties. I.e. we get ill and you come around our house and write us a game?

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Tue Jul 04, 2017 7:05 pm

Happy Mrs Chicken is running around the screen now. You can't catch her though.
Standard beeb controls.
Attachments
disk.zip
(950 Bytes) Downloaded 41 times

dominicbeesley
Posts: 625
Joined: Tue Apr 30, 2013 11:16 am
Contact:

Re: Happy Mrs Chicken!

Post by dominicbeesley » Sun Nov 19, 2017 3:39 pm

Excellent,

I spotted this yesterday, even with the minimalist game-play it kept the three year old quiet for 20 minutes.

Do you plan on making more of this?

D

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

Re: Happy Mrs Chicken!

Post by lurkio » Sun Nov 19, 2017 3:46 pm

dominicbeesley wrote:Excellent
Agreed!

=D> =D>

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Sun Nov 19, 2017 4:59 pm

dominicbeesley wrote:Excellent,

I spotted this yesterday, even with the minimalist game-play it kept the three year old quiet for 20 minutes.

Do you plan on making more of this?

D
Thank you.
I do plan on developing it further but I'm going to be working 7 days a week until Christmas Eve. I'm off for a week or maybe 2 over Christmas so might get something done then.

My problem is I get inspired to start a project then run out of time and forget about it. I'm then inspired by something else, run out of time and forget about it. I'm then inspired by something else, run out of time and forget about it....

dominicbeesley
Posts: 625
Joined: Tue Apr 30, 2013 11:16 am
Contact:

Re: Happy Mrs Chicken!

Post by dominicbeesley » Mon Nov 20, 2017 10:49 am

I'll look forward to it as will the daughter!

I know how you feel I have a workshop cum cellar, an office, a storage unit and an industrial unit filled with my started projects...it's difficult to find the time to fit work in, I'm very rarely bored though!

D

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Mon Aug 27, 2018 8:32 am

Back here again!
A recent post has inspired me to try to get this game completed and I don't think it'll be too difficult.
I've decided to scrap random movement for Mrs chicken and the chicks.
Now the chicks will simply make a beeline for the furthest wall from them and Mrs chicken will head towards the furthest wall from her for a few seconds, lay an egg then head towards the furthest wall from her for a few seconds, lay an egg then head towards th... you get the idea.
Eggs will hatch into a chick every few seconds.
Points will be awarded for eggs, chicks and Mrs chicken. If you catch Mrs Chicken she won't respawn. Game over when the screen is clear.
I'm setting up b-em and beebasm now and will hopefully get some work done over then next week. I'm starting on title screen then Mrs Chicken. I'll post any progress regularly.

User avatar
Elminster
Posts: 2929
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Happy Mrs Chicken!

Post by Elminster » Mon Aug 27, 2018 9:22 am

Alas you took too long and my daughter only wants to play minecraft, fortnight and grand theft auto now :)

I may have to get extra kids so I can have Reason to play test.

Keep up the good work, looking forward to it being on KK games list.

Edit: I do have a niece who loves PP though, has no computer.
Last edited by Elminster on Mon Aug 27, 2018 9:23 am, edited 1 time in total.

dominicbeesley
Posts: 625
Joined: Tue Apr 30, 2013 11:16 am
Contact:

Re: Happy Mrs Chicken!

Post by dominicbeesley » Mon Aug 27, 2018 1:26 pm

My daughter has just spotted the picture on the top post. She's very excited, now rumaging through the packing boxes looking for "her" computer (M128).

Please do keep at it, looking forward to the results...

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Mon Aug 27, 2018 2:57 pm

I've got the admittedly simple title screen done this morning and I'm out with the kids for the day. I was planning on doing some actual work after that but might give it a miss and try to get Mrs chicken working.

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Wed Aug 29, 2018 3:28 pm

So some small amount of progress has been made.
I've added a simple MODE 7 title screen and you can get back to this by pressing escape.
The biggest change is in how Happy Mrs Chicken moves. I can't quite remember how I did it before but it was very (not) random and patterns quickly emerged in her movement. I changed it so that she moves for 1 or 2 seconds then changes from vertical to horizontal or vice versa and should head for the furthest wall. If she hits a wall she simply reverses direction. This also produced patterns, generally moving around in a square so I altered my random number function to include the y position of Peppa Pig:

Code: Select all

.rand
	LDA seed
	ASL A
	ASL A
	CLC
	ADC seed
	CLC
	ADC pigy
	STA seed
RTS
I need to change the code so that there is guaranteed distance between the start positions of Peppa and Happy Mrs Chicken then add the ability to 'catch' her. Next will come laying eggs which I intend to happen every time Happy Mrs Chicken changes direction.
Attachments
disk.ssd
(2.75 KiB) Downloaded 3 times

User avatar
sydney
Posts: 2218
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Happy Mrs Chicken!

Post by sydney » Thu Aug 30, 2018 9:58 am

You can now catch Happy Mrs Chicken!
When you get her she re-spawns somewhere on the screen and continues running.
Laying eggs is next though probably not until next weekend as I'm quite busy for the next week or so.
Attachments
disk.ssd
(3 KiB) Downloaded 12 times

dominicbeesley
Posts: 625
Joined: Tue Apr 30, 2013 11:16 am
Contact:

Re: Happy Mrs Chicken!

Post by dominicbeesley » Fri Aug 31, 2018 11:53 am

I'll try it out on my daughter tonight.

D

User avatar
Lardo Boffin
Posts: 1226
Joined: Thu Aug 06, 2015 6:47 am
Contact:

Re: Happy Mrs Chicken!

Post by Lardo Boffin » Fri Aug 31, 2018 12:40 pm

Looking good! My son is too old (Ben 10 is the current obsession) but my daughter is not quite 2 yet so should be ideal. :D
BBC model B 32k issue 4, 16k sideways RAM, Watford 12 ROM board, Viglen twin 40/80 5.25" discs, Acorn 6502 coproc
BBC model B 32k issue 7, turboMMC, Opus Challenger 3 512k, Pi 3 coproc
BBC Master, Datacentre + HDD, pi co-proc

Post Reply