Source code for the game Piano Typer, part of the Galactic Puzzle Hunt 2022. Type the words to the beat of classical remixes!
Made by Amon Ge and Chris Jones, with implementation help by Jenna Himawan and Esther Wang, and art by sarawaleed.
Follow the instructions for HaxeFlixel
After that, running lime test html5
from the root directory will run the game locally on port 3000.
The "export" directory contains everything needed to host the game on a server.
To make or edit a song, check out the song format in SongData.hx. This is the only file that needs to be modified. (Note that the existing main menu UI has space for a fifth song but not a sixth.)
Every song needs a slowed-down version of the audio for Practice Mode, with length 1.25 times the original length. Audacity can be used to create a high-quality slowed down audio file. In my version of Audacity, it's under "Effect > Change Tempo..." and set "Percent Change" to "-20.00".
In order to get rid of all spoilers in the source code, the rewards for completing a song have been updated in this repository. Go play the puzzle if you want to get the real rewards!
There are no plans to update this code.