A sound manager for Roblox-Typescript projects.
npm install @rbxts/sound-manager
bash
npm install @rbxts/sound-manager
`
π Quick Start
See the Documentation ->
$3
Sound-Manager uses createSoundRegistry and createSoundCategoryRegistry to create sounds and categories.
`ts
import { createSoundRegistry } from "@rbxts/sound-manager";
const Sounds = createSoundRegistry({
SCP096: {
id: "rbxassetid://4714389545",
volume: 1,
loop: false,
},
Test: {
id: "rbxassetid://17771398985",
volume: 1,
loop: true,
}
});
`
$3
To play a sound, you can use the play method on the sound registry:
`ts
Sounds.play("SCP096");
``