"Oh no, an evil witch has turned you into a pig! You have to collect a million dollars (two million, if playing on hard) before midnight, otherwise you shall remain a pig forever!"

Money Hog is an action arcade platformer thing. The goal is to collect one or two million dollars (depending on the chosen difficulty) without dying. 

Rules:

  • By collecting coins you can increase the base bonus multiplier, which increases the amount of points you gain by collecting more coins or killing enemies. 
  • If you can kill multiple enemies in a row without touching the ground or getting hit, you gain a score multiplier.
  • Gems will give a lot of points, especially if you have a good multiplier.
  • Stars will make you invincible for five seconds and when the star powerup is active, your score multiplier does not drop to zero if touching the ground.
  • Hearts will recover one hit point.
  • If you hit the bottom of the screen, you are dead.
  • Getting above the top of the screen does not kill you immediately, but if you remain there for three seconds, you die.


Controls:

Gamepad controls are listed inside the parentheses:

  • Arrow keys (or dpad/analogue stick): move the player character
  • Spacebar/Z (or (A) ): jump
  • Down + Jump: jump down from a bridge (only works on a bridge!)
  • Left Ctrl/X (or (B)/(X) ): headbutt
  • Enter/Esc (or (Start) ): pause

Keyboard keys might vary on depending on your locale. If you have a non-QWERTY keyboard, Z and X keys might be the keys on the same location, i.e. on the bottom-left part of the keyboard, but the keys itself might be different.

Gamepad controls are not explained in-game, unlike keyboard controls, since I ran out of space.


Known bugs:

  1. If you beat the game, the "record" score does not get updated (i.e. if you collect a million dollars in the normal mode, and then start a new game, your record score is not set to a million dollars for some reason)


Source code:

Here: https://github.com/jani-nykanen/money-hog

StatusReleased
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(5 total ratings)
AuthorJani Nykänen
GenrePlatformer, Action
Made withAudacity, Bfxr, GIMP
Tags2D, Arcade, challenging, Colorful, Pixel Art
Code licenseMIT License
Asset licenseCreative Commons Attribution v4.0 International
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Xbox controller
LinksSource code

Comments

Log in with itch.io to leave a comment.

Looks great and it's fun to play!

It looks great with fun gameplay. Which library did you use to make this?

The game was created using my self-made game engine that uses only standard web APIs (WebGL, WebAudio, whatever that gamepad API is called etc.), so in practice, I didn't really use a single "library".

Money Hug Gameplay

(+1)

Well done!  I feel this is the kind of game I would've seen selling on shelves during the 8-bit era.