This repo contains the Hackmud game font, white-bunnybat.
See NOTICE.txt for licensing usage info.
See the CONTRIBUTING.md doc for details about how to contribute. Some important notes:
- Our Values
- You should Create an issue first!
- Changes to white-bunnybat are ultimately at the sole discretion of ComCODE.
- To submit changes towards solving an issue, create a Pull Request. You will need to fork the repo and push your changes to your fork for this.
We use fontforge. The font project file is at white-bunnybat.sfd. To contribute changes, you simply need to update this file.
You can do this directly using the fontforge GUI (just open the .sfd file, make changes, and save it), or e.g. using fontforge's python scripting.
To build the release font files, run build.sh.
We don't know yet! :D
One way to test your changes is by building a .ttf (with build.sh) and then including it in a web page. Be warned, though, that in-game rendering is significantly different from default web rendering. In particular, your characters may look fine on the web, but may overlap in-game.
For now, you will need a ComCODE volunteer to test your changes in-game. This manual testing is expensive, so smaller, simpler diffs are much more likely to be accepted than large or complex ones.
We use prettier for linting. If you get an error about this, you can:
- start a codespace on your branch, and then in the terminal in the codespace:
- run
npx prettier --write .to fix the lint errors - commit and push the changes in the terminal
git add -u git commit -m "Run npx prettier --write ." git push