put together a ninja gaiden movement system. A few bugs in there, like the throwing stars changing directions during mid flight. Tried to make a tad faster than the original controls.
press asd to move and duck. space bar to jump. L to attack.
when touching the walls, those yellow strips, press s or d to latch on and move up or down. while on the wall pressing L will throw stars. you can shoot them towards the wall or away by pressing a or d. to get off the wall, press space/jump without any other buttons. Wanted the wall climbing to have the similar stiffness of the original nes version.
Wall climbing is done the same as ladders, as noted in the source. Sideways movement was disabled and some conditions were added to make the player mirror the right direction.
demo:Ninja Gaiden Demo
source:Ninja Gaiden test source