Repeater
#1

Can you add something like that?
http://en.wikipedia.org/wiki/Repetition_(music)

So we can add A and B to spesific locations and enter a loop number, so player repeats those parts and continues playing.(like A-B repeating) That would be great.

Some algorithms i can think about it:

New objects named "repeater-A" and "repeater-B".

RepeaterA object contains two vars, "pos" and "repeaterBpos". pos is position and repeaterBpos is the position of the repeaterB object.

RepeaterB object contains "pos", "repeaterApos", "loopCount", "looped"

"loopCount" is the user defined loop count. "loopLeft" is counter of how many times that part looped. This will reset to 0 everytime we start playing.

When player hits a repeaterB object,

if( playerB.looped < playerB.loopCount )
{
player.goTo( repeaterB.repeaterApos );
playerB.looped++;
}
Reply
#2

if you want to repeat something
copy it and paste it
it will sound the same
as you have put there a repetiton
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
Expand chat