Sample

All topics about ZGameEditor goes here.

Moderator: Moderators

User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell »

:roll:

d'Oh, forgot about SampleRepeatPosition, that does the trick ~ Anyway, when you disable any modulators and play a sound with UseSampleHz at the exact sample length, it does end up looping a bit.

By the way, concerning triggering sound playback. Would it be a idea to add a offset ( in ms. ) property to PlaySound? That way you can mimic a sound-buffer and get sounds to play exactly in sync ( in theory ).

K
Post Reply