whack a pepe - Chili Framework game

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
User avatar
DonJohnnie
Posts: 18
Joined: February 8th, 2017, 2:18 pm

whack a pepe - Chili Framework game

Post by DonJohnnie » August 17th, 2017, 10:18 am

Github - https://github.com/donjohnnie/whack-a-pepe

Controls: left click to whack;

Win condition: killed pepes / 2 > pepes not killed

It may take a while to build because of the putpixel calls, but don't worry.


Let me know your thoughts

OrbitalReign
Posts: 19
Joined: July 17th, 2017, 1:24 pm

Re: whack a pepe - Chili Framework game

Post by OrbitalReign » August 17th, 2017, 11:16 am

I must have liked it because i was looking for a way to play again to try and beat it.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: whack a pepe - Chili Framework game

Post by chili » August 22nd, 2017, 1:20 am

I'll have to check this one out. Might be a good idea to apply the tech from Intermediate 10 to this one ;)
Chili

User avatar
DonJohnnie
Posts: 18
Joined: February 8th, 2017, 2:18 pm

Re: whack a pepe - Chili Framework game

Post by DonJohnnie » August 23rd, 2017, 2:23 pm

Implemented the Surface class (Intermediate 10 tutorial) + fixed a bug (you could hit an already killed pepe for eternity and gain points) + changed a few small things.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: whack a pepe - Chili Framework game

Post by chili » September 3rd, 2017, 4:20 am

I lost :sadface:

Pretty good, definitely needs some sfx and maybe the animation of the hammer could be reworked to better indicate the hitbox. You could winapi to hide the cursor as well.

Code looks good man, super logical and easy to follow.
Chili

Post Reply