/jumpnbump.js

A JavaScript port of the classic Jump n' Bump game. Play in your browser! https://jumpnbump.net

Primary LanguageTypeScriptGNU General Public License v2.0GPL-2.0

Jump 'n Bump (JavaScript)

Screenshot

Play in your browser at https://jumpnbump.net 🐰✨

Alternatively available at https://jumpnbump.vercel.app

This is a game for the whole family. You play cute fluffy little bunnies and hop on each other's heads.

At the beginning you are in the menu, where you have to let each active player jump over the tree trunk to enter the play area, and then walk to the right. You will then enter the arena. The aim is to jump on the other bunnies' heads…

Jump 'n Bump was originally a DOS game by Brainchild Design, which was open sourced under the GPL license and ported to SDL, and then SDL2, and now JavaScript!

Controls

The controls are keyboard layout-independent, which means that regardless of the layout that you are using (e.g. AZERTY or Dvorak), they are located as if it were QWERTY.

The controls on a QWERTY keyboard are:

  • A, W, D to steer Dot

  • ←, ↑, → to steer Jiffy

  • J, I, L to steer Fizz

  • 4, 8, 6 to steer Mijji (on the numeric pad)

  • ? (SHIFT + /) toggles the shortcut overlay

  • F (SHIFT + f) toggles fullscreen

  • ESC ends the current game. When pressed from the menu screen it will exit to the Web UI landing page.

Extra levels

Additional levels can be loaded from the Web UI Change level button.

You can also play any valid .dat level file from your computer. Select the Load Custom Level button and choose the file from your Computer.

Compilation

Requires Node.js 18+ to be installed on your machine.

  1. Clone this repository
  2. Change to the root directory of the repository
  3. Run npm install
  4. Run npm run dev
  5. (Optionally) To build final static assets run npm run build

License

Jump 'n Bump is distributed under the GNU General Public License, version 2, or (at your option) any later version (GPL-2.0+). See the AUTHORS file for credits.