musicplayer subscene banner



A simple subscene that includes plugins and a UI to easily add to a scene and play random music.
Music not included!

How to use this subscene on a scene:
  1. Add a subscene atom and position it a little away from a person while minding any walls
  2. Load the subscene in this VAR
  3. Add music as a audio assetbundle (option A) or as a mp3/ogg/wav/others with Audiomate (option B)
  4. Click the button to play a random music


Two ways to play random music:

You can play music in a audio assetbundle or as a audio file using Audiomate.
The plugins are in the AudioSource atom next to the subscene atom.

Option A: audio assetbundle

  • Uses MacGruber's RandomSoundFromAB logicbrick plugin
  • Load a audio assetbundle and add to the list of the plugin
Option B: audio files with Audiomate
  • Uses dub's Audiomate plugin
  • Import audio files using the plugin's UI to the active collection

The UI button "►/>> music" will trigger a new song from both options, so make sure you don't use both options simultaneously.


What is in the subscene:

musicplayer.png
  1. MacGruber's RandomSoundFromAB logicbrick plugin (for option A)
  2. Logicbrick to trigger a new music from 1 when the audio queue is empty
  3. dub's Audiomate plugin (option B)
  4. Subscene atom
  5. AudioSource atom where the plugins 1-3 are located
  6. UIbutton to trigger a new music
  7. UIslider for the volume of the AudioSource atom
The subscene atom (4) includes a plugin to rotate the atom according to your camera angle, if you want to disable that behaviour.


For more information about the plugins used:




Advanced usage with UIAssist:

If you use this plugin from JayJayWon, highly advised btw, you can create a button action to inject this subscene to a scene. You can even have it automatically positioned relative to a person, that's crazy convenient.
To those with audiobundles, you can set up buttons or a profile for loading bundles on the RandomSoundFromAB plugin, and possibly you can do something similar with Audiomate presets.
Author
atani
Downloads
696
Views
2,258
Dependencies
3
Packages
1
Total Size
0.03 MB
Version
2024-04-23
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from atani

Click the links below to support the other creators whose content was used to make this resource!

Credits

Creator Support Link
Spacedog Spacedog
MacGruber MacGruber
dub dub
Back
Top Bottom