[Golist] Sequence Question

Moses Gunesch moses at goasap.org
Thu Feb 21 23:02:51 PST 2008


Okay I have an idea on the GC issue. Although I don't want to go the  
route of full instance-management (like Fuse had), I do see that these  
types of utilities are a lot more user friendly if they can be used  
without storing references to them. So I'm going to add a feature that  
stashes a reference to instances while they are playing.

Also regarding loop, that is a good feature suggestion – I had tons of  
requests for that with Fuse so I know it's widely needed, I'll look  
into adding that as well.

I've gotten a really nice update together that should be ready pretty  
quick here.

- m


On Feb 22, 2008, at 1:37 AM, Aram wrote:

> I pulled the latest revision 24 from svn. It is indeed 0.4.1
>
> If I remove the weak reference on: SequenceBase - Line: 333
>
> step.addEventListener(SequenceEvent.ADVANCE, onStepEvent, false, 0,  
> true);
> -TO-
> step.addEventListener(SequenceEvent.ADVANCE, onStepEvent);
>
> It works, not sure if that breaks something else though for future GC.
>
> On another note, a RepeatingSequence. To achieve, I subclassed
> Sequence and overrode stop, adding in a  skipTo(0).
>
> Would something like a repeat flag on Sequence ever make it into the
> core? Or we should just extend for stuff like that?
>
> Thanks,
> Aram
>
>
> On Thu, Feb 21, 2008 at 10:11 PM, Moses Gunesch <moses at goasap.org>  
> wrote:
>>
>> Which version of Go are you using (please be sure to test with  
>> 0.4.1), and
>> which weakReference param at which line?
>>
>> Thanks,
>> moses
>>
>>
>> On Feb 22, 2008, at 12:30 AM, Aram wrote:
>>
>>
>> Thanks for the great work first off.
>>
>> Have a quick question regarding sequencing.
>>
>> If I create a new sequence within a method, only the first item  
>> fires.
>> The complete event never make up to PlayableGroup. If I remove the
>> weak listener param though it moves up and works as though the
>> sequence was declared outside the method.
>>
>> Just wondering if this is the preferred behavior or not?
>>
>> Thanks again
>>
>> _______________________________________________
>> GoList mailing list
>> GoList at goasap.org
>> http://goasap.org/mailman/listinfo/golist_goasap.org
>>
>>
>> _______________________________________________
>> GoList mailing list
>> GoList at goasap.org
>> http://goasap.org/mailman/listinfo/golist_goasap.org
>>
>>
>
> _______________________________________________
> GoList mailing list
> GoList at goasap.org
> http://goasap.org/mailman/listinfo/golist_goasap.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080222/3eec6de8/attachment.html 


More information about the GoList mailing list