This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
14
An audio manager for your project
Post Flair (click to view more posts with a particular flair)
Post Body
https://github.com/insideout-andrew/godot-audio-manager
Adding sound effects and music to your project instantly increases the cool factor. This addon makes it fun and easy to add sound and music to any project... and it is incredibly fast to set up and easy to use.
You simply instance an AudioManager in your scene, add your music/sound effects to the node's variables, play your music/fx with one line of code, then continue on with a v[ear]y juicy game.
Quick example:
onready var audio_manager = $AudioManager
func _ready():
audio_manager.play_music()
func _on_pick_up_coin():
audio_manager.play_fx(0)
func _on_player_died():
audio_manager.stop_music()
audio_manager.play_fx(1)
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/godot/comme...