Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
adding an example sound
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Nov 14, 2016
1 parent e704047 commit 390a56a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Binary file added src/audio/doorClose.wav
Binary file not shown.
3 changes: 3 additions & 0 deletions src/descriptors/init.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"CharasetFileList": {
"charaset1": "charaset1.json"
},
"SoundList":{
"doorClose": {"wav":"doorClose.wav"}
},
"MusicList":{
"villa" : {"ogg":"villa.ogg","mp3":"villa.mp3"},
"battle_1": {"ogg":"battle_1.ogg","mp3":"battle_1.mp3"},
Expand Down
3 changes: 2 additions & 1 deletion src/descriptors/levels/playerhouse.map.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
["teleport","11;11;beach"],
["fadeIn","blackFadeIn;doNotKeep"]],
"2":
[["showText","Got a sword!"],
[["playSound","doorClose"],
["showText","Got a sword!"],
["addItem","sword"],
["changeTile","23;layer2;keep;remove;8;7;this"]]
},
Expand Down

0 comments on commit 390a56a

Please sign in to comment.