Timed Spawns?

0 favourites
  • 3 posts
  • Basically, I've got a guitar hero style note spawner.. but as it stands it's just random so it's not in time to the backing music at all. Is there some way to time the notes or lay them out so they appear when I want them to?

    The game isn't like Guitar hero, it's just the note spawner helps power up the character in a platformer game.


  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Anyone?

  • What you basically need is a way to trigger actions upon specified timed cues. You can use the "system---> compare 2 values" and pick the playback time.

    The thing is that C2 or HTML5 sound isn't reliable when it comes to timing or synchronizing audio. Take a look on the attached example. While I use a "All preloads complete" condition to trigger the music, it takes half a second for it to actually start. That's making syncing a tedious an unreliable task.

    Of course, you have to figure out a different system to trigger actions than the one I have on the example, because otherwise you will lost count after just a few seconds/events...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)