• Hey! Guest! The 37th GMC Jam will take place between May 28th, 12:00 UTC and June 1st, 12:00 UTC. Why not join in! Click here to find out more!

Sound and game get out of sync... How to prevent it?

W

wingedadventurer

Guest
Hello, fella GameMakers!

Best way to describe my problem is to imagine making a Guitar Hero clone, where a song plays in the background and notes arrive. The notes are "in sync" with the song in the original Guitar Hero game. This is something I find impossible to make in GameMaker.

Why? Well, the song is one thing and the notes are the other thing. Nothing connects them. They begin at the same time and manage to perfectly sync with each other as long as they both travel at the same speed. But what if one of those two things gets a little lag? They get out of sync.

In GameMaker I haven't found a way to sync the song with some game rhythmical element other than using the method above (to play them at the same time), but GameMaker certainly can cause a bunch of little lags, especially on weaker PC-s, and this is troubling me.

I'm wondering is there a way to fix this? Consider that the lag is inevitable, especially on weaker PC-s. Is there some DLL that can help with this?
 

TehCupcakes

Member
Top