Crossbar Kevin

johnjanowskibsc

  • *
  • Posts: 51
During the week I came up with the idea of a simple crossbar challenge game. Not wishing to follow the other crossbar games out there, I thought I would put something together where there is a young lad (Kevin) who is practicing in the garden with his super competitive dad watching,

It uses the simple behaviour of a rotating arrow which I used in Blob Ball but I'm developing a powerbar too. If I get the time I will experiment a little with the way you fire a ball in the app Ball King.

To try and make it original and not too samey - if dads pride goes through the roof, you have to start trying to hit the crossbar with other objects such as; the cat, a rugby ball,  your sisters favourite doll, mum's frying pan. If you displease dad with your awful attempts he will start delivering some cutting remarks. Will try to create a trampoline level too where the ball has to hit in order to bounce onto the cross bar. Also dad will move the cross bar further away and see if you can kick it over obstacles such as his favourite tree, or his best mate Long John.

The scoring system will be on attempts. My initial aim is to make 20 levels.

Here is a screenshot of the prototype I put together this morning. I did all the rubbish art work myself! I've already got a simple prototype working in stencyl and hope to get a work in progress out by the end of the month. Let me know what you think

johnjanowskibsc

  • *
  • Posts: 51
http://www.stencyl.com/game/play/40246

Managed to find some time to do a little bit of work on this. I have uploaded a prototype of a simple version of the first level - just playing around with making it work. Since my initial idea I've been able to make the ball appear to look like its being kicked towards the crossbar. When it hits the crossbar (I've used a region to detect the collision for this - I will probably use a sensor when I split up the crossbar image - this is on the to do list!) it shows 1 of 6 random speech bubbles to show approval plus a GIF image of HIT which flashes up for a few seconds then disappears. I'm fairly happy with the way it is working at the moment. Just of the top of my head is my to do list...
  • The ball. The collision shape is circular but I've not drawn it completely circular. I'll have to redraw this
  • The shoot/aim button. I've tried to work out a way of firing on pressing this button but want to avoid it firing again in mid flight. I've noticed that although the shoot/aim button is hidden when the ball is in the air - you are still able to press it. Any ideas for how to overcome this would be great
    • I now need to work out a way of showing a speech bubble showing dad's contempt if he doesn't hit the crossbar. I thought about using a boolean for this
    • The ball (again)! When it goes off screen it automatically is killed - I don't want this! I'd like it come back to earth.

    The next step when I have completed the above is to make a few longer levels, with some obstacles for Kevin. I will probably make a trampoline level first with a bouncy sister that you have to avoid to hit the crossbar. For this I will try to make the camera follow the ball - avoiding the ball going off screen issue as above.

Any advice or feedback for any of what you have seen or read would be great!

Cheers

John

JeffreyDriver

  • Posts: 2017
I like the way you're going with this.
1. Hits do not always register.
2. To prevent the button being pressed midflight use a boolean. Call it something like 'Hidden?' and set it to false when the button is hidden. Ensure that your fire code will only run when Hidden? = false.
3. Needs more levels with more challenge.
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk

johnjanowskibsc

  • *
  • Posts: 51
Nice one thanks Jeffrey - I'll have a go at creating a boolean called hidden.
I noticed that too with the hits. Not sure why this isn't working. I'll go about splitting the crossbar from the post and making it a sensor.
Agree with the challenge aspect. More levels are in the pipeline - hopefully get a few levels created in the next couple of weeks!

John

johnjanowskibsc

  • *
  • Posts: 51
So since last night I've managed to fix the following bugs

  • The aim/shoot button now doesn't push the ball when it isn't hidden
  • I've split the crossbar from the post and I fixed the issue that the hits wasn't going up by a collision of type of type rather than colliding with a specific actor

Before I make more levels I need to work out a way of making the dad cuss his son when his shot doesn't hit the crossbar. The way I will start to tackle this is by using the attempts and crossbar hits attributes. My current thinking is if the attempts goes up but crossbar hits stays the same then show a speech bubble relating to a miss. Wish me luck!

johnjanowskibsc

  • *
  • Posts: 51
Dad is now cursing his son..onto adding increased difficulty.

JeffreyDriver

  • Posts: 2017
Hit detection is fixed. Yay!

You might want to offer some way of measuring your dad's pride over just using the text 'content', 'average' etc. Maybe with a bar, or tinting the text from red to green?

There's no indication of what the winning conditions are.
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk