[SPRITER] How do I trig a sound on a specific frame ?

0 favourites
  • 4 posts
From the Asset Store
Selection frame like in RTS games, works both on mobile and desktop devices.
  • Hi !

    I'm using Spriter with Construct 2 and I am really, really happy with it <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

    However I'm facing a problem now :

    I'm just trying to put a step sound on the right frame of a walking animation.

    On a classic animation, it's quite easy to guess the frame number and apply a sound on it.

    On a spriter one, that's a different story ! I noticed that a frame count is made, but how it is done ? It seems unrelated to the timeline we can see in Spriter (usually 0-1000)

    Is there maybe a way to apply "triggers" (by replacing a sprite on a frame, for example ?) in the animation, so Construct 2 get a signal to play the sound ?

    Thank for your help and for your work !

    <img src="{SMILIES_PATH}/icon_cool.gif" alt=":cool:" title="Cool" />

    EDIT : they actully answered to me and here is the tutorial


  • I haven't actually worked with spriter that much or Construct for that matter. An easy solution would be to look at the spriters timeline which is measured in miliseconds. You should be able to solve it with something similar to

    + (Sprite-Object)Character > Animation Set to "Walk" >> (System-object)Wait 0.X seconds

    > (Audio-object) Play "walkingsound.obb"

    I haven't tried it, but perhaps the system object with function "wait" will point you in the right direction?

  • thanks

    Actually I got the solution (from Spriter forum help)

    The sounds are managed by Spriter itself and then follow this tutorial

    Subscribe to Construct videos now

    Very practical and efficient. You can set your sounds very accurately while doing the animation work !

    Before that I was doing a bit like you say but it's totally messy to be honest <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile">

    PS : checked your instagram your artwork is super lovely !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wow, that's amazing c13303! I never knew. Thank you for showing this! it's nice to have a solution in the thread as well. I will keep that in mind once I start animating for real, first off I want to create the world, then the characters-/monster- and asset animations, finally I'll try to glue everything together in the engine.

    I only work with the game development part-time, leaving me with a development period of 4+ years. Who knows if there's a C3 coming out until then? I wan't the majority of assets to be ready before I start with the engine for real, re-evaluating what my options are.

    Thank you so much for your kind words. Your artwork looks amazing as well, It brings back memories to "Another World" and "Flashback" from the early 90's Keep up the good work!

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