[wip] Cheese Defender

Show off your games, demos and other (playable) creations.
User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

[wip] Cheese Defender

Post by vitaminx » Tue Jun 04, 2013 3:24 pm

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
Attachments
cheese-defender_130619.love
(1.57 MiB) Downloaded 122 times
Last edited by vitaminx on Wed Jun 19, 2013 3:39 am, edited 19 times in total.

User avatar
MadByte
Party member
Posts: 495
Joined: Fri May 03, 2013 6:42 pm
Location: Germany

Re: [wip] Cheese Defender

Post by MadByte » Tue Jun 04, 2013 3:37 pm

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.

User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

Re: [wip] Cheese Defender

Post by vitaminx » Wed Jun 05, 2013 9:39 am

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 :)

User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: [wip] Cheese Defender

Post by micha » Wed Jun 05, 2013 10:22 am

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.

User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

Re: [wip] Cheese Defender

Post by vitaminx » Wed Jun 05, 2013 5:17 pm

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 :)

User avatar
bramblez
Citizen
Posts: 50
Joined: Sun Jul 29, 2012 1:21 pm
Location: Russia, Moscow

Re: [wip] Cheese Defender

Post by bramblez » Thu Jun 06, 2013 2:53 am

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

User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

Re: [wip] Cheese Defender

Post by vitaminx » Thu Jun 06, 2013 3:18 am

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.

User avatar
bramblez
Citizen
Posts: 50
Joined: Sun Jul 29, 2012 1:21 pm
Location: Russia, Moscow

Re: [wip] Cheese Defender

Post by bramblez » Thu Jun 06, 2013 3:21 am

hope that could help :>

also nice camera there!
Attachments
bullets.love
(76.46 KiB) Downloaded 100 times

User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

Re: [wip] Cheese Defender

Post by vitaminx » Sat Jun 08, 2013 2:12 am

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 :)

User avatar
bramblez
Citizen
Posts: 50
Joined: Sun Jul 29, 2012 1:21 pm
Location: Russia, Moscow

Re: [wip] Cheese Defender

Post by bramblez » Sat Jun 08, 2013 6:27 am

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 ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests