Page 1 of 2

[wip] Cheese Defender

Posted: Tue Jun 04, 2013 3:24 pm
by vitaminx
Hey Lövers,

Defend yourself and your cheese against evil zombie mice!
It's a work-in-progress game from an idea I've suddenly had some days a while ago.
More features an levels will come soon.

Please tell me your ideas, feedback and your hiscore.

Cheese Defender

Zombie-Mice would love to eat your cheese, but they also like to eat you!

They follow the first food in sight, it's either you or the cheese.
You can lure the zombie mice away from your precious cheese if you want, but you can also carry the cheese to some hopefully well hidden place.

How long can you and your cheese survive?

MOVEMENT
- WASD: move to any direction
- LMB: shoot or drop cheese
- SPACE: pick up or drop cheese

SHORTKEYS
- ESC: quit game
- P: pause
- F1: decrease window size
- F2: increase window size
- F3: toggle fullscreen
- F4: toggle vsync
- F5: toggle audio mute
- F6: volume down
- F7: volume up

PLANNED FEATURES
- different levels with increasing difficulty
- cheese can be picked up and carried somewhere else
- power-ups (shoot burst, rapid shooting, bullet penetration and others)
- different types of zombies (fast zombie on skateboard, slow but big zombie which can take more damage)
- hiscore list
- obstacles to strategically hide your cheese
- more levels and themes
- survival mode
- carryable autofire turrets
- exploding fake cheese trap
- and much more

The game instructions and the github repository are here:
https://github.com/humansarepuppies/cheese-defender

Image
Image
Image

Re: [wip] Cheese Defender

Posted: Tue Jun 04, 2013 3:37 pm
by MadByte
My first score was 1580, arr.. :D

Good job so far,
I didn't encountered any bugs, the mechanics work & the code is readable.

The gameplay itself isn't that compelling right now, but you're on a good way. :)
I look forward to try it again with your planned features in!

edit: one simple idea.. you could add different sounds for hitting a zombie mouse,
that would add some variety.

Re: [wip] Cheese Defender

Posted: Wed Jun 05, 2013 9:39 am
by vitaminx
Hi all,

It's really fun to work on this game and I'm making progress, I've attached a new version to the original post with some changes:

- differents sound effects when zombie mice are killed (thanks MadByte)
- 4 different powerups: restore 25% health, faster shooting, bullets penetrate zombies, 10s freeze of zombies
- sound effects when player takes damage
- game end screen with option to repeat game
- changed color palette of zombie wounds
- zombies leave blood trail, dead zombies leave blood stain
- player gets wounded and looses blood when hit

Now with all these powerups you can get a better score I hope :)

Re: [wip] Cheese Defender

Posted: Wed Jun 05, 2013 10:22 am
by micha
First of all: Very nice. Works very well.

A feature request: I want a shotgun power up, maybe with a limited amout of ammo.
Also it would be cool, if I could hold down the fire button for auto-fire.

And then there is a small bug: If I shoot diagonally over a long distance, the bullet does not hit the spot, where I clicked. To reproduce this: Stand in the lower left corner and click on the upper piece of cheese.

Re: [wip] Cheese Defender

Posted: Wed Jun 05, 2013 5:17 pm
by vitaminx
Just before sleep I've fixed a nasty "indexing a nil value" bug which made the game crash after a while, the love file in original post is updated.

Tomorrow I'll take care about auto-fire, bullets misplacement and the shotgun. I think i'll do something like a v-shaped bullet spray powerup which should have the same effect like a shotgun. Maybe I have time to also add more stuff from my to-do list.

Until then, have fun and enjoy your cheese :)

Re: [wip] Cheese Defender

Posted: Thu Jun 06, 2013 2:53 am
by bramblez
This is awesome! Very addictive and very fun!

I am suggesting making a crosshair and stick it to a mouse cursor, also you might want to scale position of a bullets too, since they fly not to a cursor positions

Re: [wip] Cheese Defender

Posted: Thu Jun 06, 2013 3:18 am
by vitaminx
bramblez wrote:I am suggesting making a crosshair and stick it to a mouse cursor, also you might want to scale position of a bullets too, since they fly not to a cursor positions
OK, a crosshair pointer is a good idea! Noted.

About the bullet position: nah, it's not the fault of scaling, it's just that I use a simple and stupid formula to calculate the direction of the bullet, I think I need to use something else (vectors?), need to look into that today.

Re: [wip] Cheese Defender

Posted: Thu Jun 06, 2013 3:21 am
by bramblez
hope that could help :>

also nice camera there!

Re: [wip] Cheese Defender

Posted: Sat Jun 08, 2013 2:12 am
by vitaminx
Sooo many hours of nonstop programming, now I need a break :D
I did a complete code rewrite and there are many new features, I hope this list is more or less complete:

- fixed bullet misplacement, it's shots perfectly to mouse cursor now (thanks for your code bramblez, that helped a lot)
- mouse pointer is captured inside window and is a crosshair (thanks again bramblez)
- added autofire if mouse button is pressed constantly (thanks micha)
- cheese can be picked up with "space key" and dropped somewhere else, DANGER: you can't shoot while carrying your cheese around!!!
- 3 levels, you need to stay alive until the time is up!
- 3 different types of zombie mice
- pause key (p) and autopause when window looses focus
- proper endlevel and gameover screen
- bonus score if the zombies didn't eat your cheese
- volume keys (F7 = mute/unmute, F8=VolDown, F9=VolUp)
- some more sound effects

I've updated the archive in the original post, please send me your suggestions and ideas :)

Re: [wip] Cheese Defender

Posted: Sat Jun 08, 2013 6:27 am
by bramblez
Absolutely lovely! :> Gone though all levels, very fun to play indeed
Note: Might want to nil the bullet, when it is hitting the (frost?) mouse with alot of health to get the effect of hitting the actual target and not just flying through ;)