You are viewing a potentially older version of this package. View all versions.
HabibiStudios-AudioLib-1.0.1 icon

AudioLib

Easy to use AudioLib for your mods! More info on how to use or support is on Thunderstore page.

Date uploaded 5 months ago
Version 1.0.1
Download link HabibiStudios-AudioLib-1.0.1.zip
Downloads 18
Dependency string HabibiStudios-AudioLib-1.0.1

README

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/

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.