BONELAB
This package has been deprecated and may no longer be maintained. We recommend looking for an alternative.
Install with App

Details

Latest version
1.0.2
Last Updated
First Uploaded
Downloads
70
Likes
0
Size
64KB
Dependants

Tags

Deprecated

AudioLib

A easy to use AudioLib for your mods!

Usage Handbook

Reference "AudioLib.dll" in your VS project. Dont reference "NVorbis.dll" since it is a decoder!

Setup: drop your OGG into UserData/AudioLib/sounds/

When you upload your mod when using this make sure to also have a file like this "UserData/AudioLib/sounds/your ogg here"

Usage:

Player.Play2D("mysound");

Player.Play3D("explosion", somePosition);

Player.Play3DAttached("footstep", playerTransform);

Player.PlayLooping2D("theme", loopId: "main_theme");

Player.StopLooping("main_theme");

Player.StopAll();

Support or where to reach me

My discord is: habibis_v

My DM's are open 24/7 feel free to slide a dm.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.