Move:Arrow keys Shoot:E Ex shot/super: Q Lock:R Dash:W Jump:Space Parry:Space(while in air) Duck:Down arrow These are the keys i use in cuphead myself.
A lot of this code is by vmagnanic but I added a lot of code for the tombstone, made the sprite look better, and made the tombstone a part of Goopy's sprite.