Skip to content

JosePedroDias/ldjam56

Repository files navigation

LDJAM56 - Pharma Frenzy

Inspired by Nintendo's Dr Mario.
Implemented in vanilla js and rendered using canvas API.
No images, libraries or timers used.

ludum dare game page

controls

keyboard

  • left, right - move pill sideways
  • down - move pill 1 cell down
  • space bar - drop pill
  • z, x - rotate
  • p - toggle pause

gamepad

  • press 1 to define which button/axis to use for each action (see console for feedback)
  • config is stored on local storage and reused on subsequent games

references

TODO

  • title screen with level choice

  • score and high scores

  • (infrequent but wrong) pills above moving pills should fall too

  • twist from original game? (actually there's an accidental difference: lines match mid-air)

  • falling due to gravity could be faster?

  • (nice to have) overlay buttons for mobile?

  • (nice to have) broken pills should get to be round

  • gamepad: show gamepad messages using a dom element instead of console

  • keyboard: redefine keys

  • actual sprites instead of geometric figures?

  • port to go/nakama or use peerjs to do multiplayer