MitchellSternke / SuperMarioBros-C

An attempt to translate the original Super Mario Bros. for the NES to readable C/C++
625 stars 70 forks source link

Keyboard controls #25

Open Matthiasclee opened 2 years ago

Matthiasclee commented 2 years ago

I have successfully compiled and ran the game, but I can't seem to be able to use any controls other that left, right, restart, pause and fullscreen as left arrow, right arrow, r, enter, and f. On the screen where I choose between one or two player mode, I can not use any button to change the selected option, but I can use enter to select one player.

To compile and run, I did:

mkdir build
cd build
cmake ..
make
mv smbc .. # for the .nes file
cd ..
./smbc

I am using macOS 11.6

Are there other controls, or other configs needed?

Anonymous3-a commented 9 months ago

Use Z and X for dash/fireball and jump respectively.