Timchi Global Music Player

by atrus

0

Timchi Global Music Player

About

This adds a singleton Node to your project that plays music, even across scene changes.

Usage

  1. Install the plugin through the Godot asset manager.
  2. Enable the plugin Enable Plugin screenshot
  3. Add the node to the Autoload Autoload screenshot
  4. Music is loaded by default from "res://music". This can be changed with:
MusicController.TRACKS_LOCATION = "res://your/path/to/music"
MusicController.load_tracks()

This does not read in tracks from subfolders.

  1. Start a track with
MusicController.switch_track("trackname.ogg|mp3|wav")

Tracks loop forever until switched.
Need an example? See github for a simple example project.

Future Roadmap

Right now, the player just plays a single track in a loop. Future plans include

  • Next/Previous track movement
  • Loop/Shuffle/Ordered playthough
  • Track playlists

Version

1.0.0

Engine

4.0

Category

Scripts

Download

Version1.0.0
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author