Extract the compressed MTL and OBJ files.
npm run extract
Extract the compressed MTL and OBJ files for Windows OS.
npm run unzip
Start the dev server.
If you need to make changes to MTL/OBJ files and want to preserve them, run this to compress them. Only gzipped MTL/OBJ files are saved in the repo.
npm run compress
Bash supports multiple options for leaderboard storage. The default is in-browser
localStorage. A networked leaderboard is also supported, through sending leaderboard entries to a Parse server.
Networked leaderboards with Parse
If you want a networked leaderboard, you must have a Parse instance up and running. Then, open
src/config.js and change
PARSE_URL to point to the URL of your parse server.
Finally, when you launch Bash, add
&storage=parse to the end.
Selecting a leaderboard namespace
localStorage and Parse leaderboard support namespacing. In other words, you can give the leaderboard a name. This is especially useful if you need to maintain multiple leaderboards, for tournament rounds, timed events at conferences, etc. Switching between leaderboards is as easy as changing the namespace.
Then, when you launch Bash, add
&name=NAMESPACE to the end of Bash's URL. Note that you can change the word
NAMESPACE to be anything you want.
How to get Help
- Post a question in the repo issues
- Ask a question in real-time in our public Discord server
- Send a tweet to one of the twitter links below social
Join our public Discord server!