Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hey Michirin, I have an idea as to how you could make sure music is synced, with just one line of code (Per track you play).

If you're interested, here it is:

The only issue is you need to make sure every song is exactly the same length. I hope this helps,

-Ashton

(Also I would have emailed this to you, but I couldn't find any contact information on your profile)

(+1)

Wow, thank you VERY much for the tip! I didn't know this was a thing!
I was going to try syncing my songs to .mod/.xm files in future projects, but this might just be a lot easier!
I'm gonna try it out, and if it works I'll surely update the game to make use of it! (And possibly even thank you in the credits if you want)

(Also, yeah, if you had emailed me chances are I wouldn't have seen it, so it's better this way... Might put up some different contact info later though...)

(1 edit) (+1)

Just one question, am I supposed to use filenames or tags in Audio.PlaybackTime("ThisPart") ?

[Edit] Okay, nevermind, I figured it out, and worked, but it made the audio all garbled up... But then I tried giving it a small margin for error (roughly one frame off either way) and that pretty much got rid of the garbling!

(+1)

Nice! I'm glad it worked. You don't have to credit me, (but I certainly wouldn't mind it). The idea just sort of randomly popped in my head while I was playing the game, and I thought it could help.