mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-21 17:20:25 +01:00
Move bell sound to themes directory
This commit is contained in:
parent
e13bc7e082
commit
04e077694f
4 changed files with 5 additions and 5 deletions
|
@ -169,7 +169,7 @@ You are also implicitly verifying that all code is your original work, or unorig
|
|||
|
||||
### Sounds
|
||||
|
||||
- [bell.wav](/examples/bell.wav) by InspectorJ (<https://www.jshaw.co.uk>), downloaded from [freesound.org](https://freesound.org/people/InspectorJ/sounds/484344/), released under [CC-BY-3.0](https://creativecommons.org/licenses/by/3.0/).
|
||||
- [bell.wav](/addons/godot_xterm/themes/audio/bell.wav) by InspectorJ (<https://www.jshaw.co.uk>), downloaded from [freesound.org](https://freesound.org/people/InspectorJ/sounds/484344/), released under [CC-BY-3.0](https://creativecommons.org/licenses/by/3.0/).
|
||||
|
||||
### Fonts
|
||||
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
importer="wav"
|
||||
type="AudioStreamSample"
|
||||
path="res://.import/bell.wav-90c86fbe33880ba47c154bebbc865497.sample"
|
||||
path="res://.import/bell.wav-54a2dcec0c35ce7bf9aa23071616df00.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://examples/bell.wav"
|
||||
dest_files=[ "res://.import/bell.wav-90c86fbe33880ba47c154bebbc865497.sample" ]
|
||||
source_file="res://addons/godot_xterm/themes/audio/bell.wav"
|
||||
dest_files=[ "res://.import/bell.wav-54a2dcec0c35ce7bf9aa23071616df00.sample" ]
|
||||
|
||||
[params]
|
||||
|
|
@ -17,7 +17,7 @@ func _on_Terminal_bell():
|
|||
return
|
||||
|
||||
var player := AudioStreamPlayer.new()
|
||||
player.stream = preload("../bell.wav")
|
||||
player.stream = preload("res://addons/godot_xterm/themes/audio/bell.wav")
|
||||
player.autoplay = true
|
||||
player.connect("finished", self, "_on_player_finished", [player])
|
||||
add_child(player)
|
||||
|
|
Loading…
Reference in a new issue