"The flow of time is always cruel: its speed seems different for each person, but no one can change it. A thing that does not change with time is a memory of younger days." -Sheik
$ make
You can find Zelda songs and sound effects in sound banks like this one.
- Add
.mp3
file tosrc/sounds/songs
(rename to match style if needed). - Add song reference to
src/components/audio/Soundtrack.js
. - Add song keys to
matchSong()
inpublic/main.js
.
PRs that solve the song matching better are super welcomed!
Song matching caveat: at this time, songs are limited to 6 keys. It's hardcoded at playSong()
in public/main.js
.
I thought of adding Link's transformations (Zora, Goron and Deku) as "game modes" that you can change pressing a key. If you'd like to help with that, you'll need to:
- Propose an UI for showing modes
- Change
src/images/link.png
depending on the mode - Load the new instrument:
- Make a directory in
src/sounds
with the instrument name in lowercase - Add
.wav
files in a way similar tosrc/sounds/ocarina
- Change
Instrument
'sname
value insrc/App.js
depending on the mode
- Make a directory in
Github Pages is configured to serve files from the /docs
folder. It seems that it cannot be changed the source folder name, so you should follow these hacky steps before submitting a PR:
$ make build
- Sound Effects: Zelda Sounds by HTW
- Images: The Internet
Zura Guerra made this project in early 2017 as a fun way to learn React while messing a bit with the first tutorial of Javascript30.
You can reach her at [email protected]
.
Sponsored by Mazing Studio
We love to solve problems using Go, Elixir and React.
Have a project you need help with? Tell us about it!