[Golist] Go version 0.4.6
Moses Gunesch
moses at goasap.org
Mon Mar 31 15:41:40 PDT 2008
Hmm... well, GC is not aggressive.
What we did was we had to "retain" objects while they are running. For
tweens this is done by GoEngine. For PlayableGroup & Sequence it's
done using an internal static property called _playRetainer.
All of your issues sound like strange & ghostly apparitions.
(I'm calling the GhostBusters now...)
-m
On Mar 31, 2008, at 6:23 PM, Robert Sköld wrote:
> Thanks Moses!
>
> It seems to work fine now! :)
>
>
> I'm having some other issues though and maybe some of you guys have
> some input for me.
>
> As i've said before in the list i've been working on a xml parser for
> Go, it's a very simple one really, i basically used Moses video "fuse-
> like" tutorial, and switched the object into a xml node, using
> attributes instead. So far it works great.
> But, as i'm creating these "animation-objects" from the xml, and then
> i apply them, by assigning an id to those xml nodes, to a target
> display object (unless the xml specified a certain target). And then
> the animation is "executed" from an event mostly. I also use
> sequencing/grouping (just like the tutorial).
>
> And it works, but not very stable while testing, as it sometimes seems
> to not run at all on some targets, or just stops in the middle of a
> tween sometimes. The events are called but the animation wont run
> sometimes as well. And also, the most weird bug, is that the durations
> of the tweens seems to get shorter by everytime, but not always. (the
> best kind of bugs :P)
>
> As the events for those tweens sometimes is called very often i added
> a static reference dictionary to all the running tweens (i couldn't
> find one in Go already) so i could stop it if it was already running.
> (didn't help really though)
>
> A thought occured to me, that maybe Go has some kind of "aggressive"
> garbage collection, so when an animation is finished (stopped or
> complete) it might throw away that "animation-object" created from the
> xml?
>
> Or it's just my implementation that sucks :P
>
>
> Anyway, thanks for an awesome platform, I'm sure it's the future of
> tweening! :)
>
> /bob
>
>
> On Mar 31, 2008, at 22:52, Moses Gunesch wrote:
>> Ah yes, good one. Not sure why those weren't coming through in my
>> tests but I see very clearly in the code that _easeParams is
>> referenced before it's set.
>>
>> I have updated version 046 at the goasap repository, can you please
>> let me know if this fixes the problem?
>>
>> thanks!
>>
>> _______________________________________________
>> 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/20080331/c669f3b6/attachment.html
More information about the GoList
mailing list