Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Timchi Global Music Player

An asset by atrus
The page banner background of a mountain and forest
Timchi Global Music Player hero image

Quick Information

0 ratings
Timchi Global Music Player icon image
atrus
Timchi Global Music Player

This is a plugin that creates a singleton Node for playing music that can persist even between scenes.

Supported Engine Version
4.0
Version String
1.0.0
License Version
CC-BY-4.0
Support Level
community
Modified Date
12 months ago
Git URL
Issue URL

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 README Enable Plugin screenshot
  3. Add the node to the Autoload README 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

This is a plugin that creates a singleton Node for playing music that can persist even between scenes.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Timchi Global Music Player icon image
atrus
Timchi Global Music Player

This is a plugin that creates a singleton Node for playing music that can persist even between scenes.

Supported Engine Version
4.0
Version String
1.0.0
License Version
CC-BY-4.0
Support Level
community
Modified Date
12 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers