[VX Ace] Event Sounds

Something I recently wanted to add to my project was Event sounds that get louder the closer you were to them.

I found ways to do this in Event functions using regions, however this felt clunky and a pain to implement, so I turned to scripts. I couldn't seem to find any that would work so ended up having to make my own. 

After a lot of trial and error I managed to get it working with as much functionality as I could and thought other might want to have a similar system in their games.

All it needs is your event to have the following comment block:

[sound "SOUND_NAME" max_volume min_volume range]

Eg

[sound "Fire​​​​" 80 30 8]

Comments (0)
Login or Join to comment.
Mastodon