[Golist] Go version 0.4.6
Jan m. Danielsson
jan at renderstormstudios.com
Mon Mar 31 23:38:53 PDT 2008
Hi there Moses!
First of all - awesome job on Go! I love this tweening system.
Now to the problem - bob wrote about his problems when making a xml parser
including Go. I have a similar (I think) problem. This is NOT only related
to the new version with the repeater in linearGo. I had the issue with the
former version of linearGo, and I have the issue when using the latest
build of the branch.
I´m making a gallery where thumbnails is placed in a rectangular grid.
When you roll over a thumbnail wiith the mouse, the picture "comes closer"
to the viewer, and then moves back in place when mouse rolles out. This is
done using linearGo for tweening the movement, and using Papervision3D for
the movement itself.
There are also "category buttons" which, when rolled over, moves all
thumbnails in that category closer to the viewer, and then back again when
mouse rolles out of the button.
The problem comes when clicking the category buttons. When a category
button is clicked, all the thumbnails belonging to that category are moved
to one place and "stacked" in front of each other. This is done using
linearGo. The function cycles through the thumbnails, and if the thumbnail
belongs to the clicked category, it is assigned a linearGo which will move
it to the "stacking place". The linearGo instance will have a delay which
is increased for every thumbnail, resulting in a successing movement of
the thumbnails, rather all the thumbnails moving at ones.
The problem is that if the duration property of the linearGo is too short,
some thumbnails are "skipped" and not moved by the Go system. When I
increase the duration to 0.4 this problem disappears.
The thumbnails that are skipped varies; sometimes no thumbnails are
skipped, mostly some are skipped, and they are mostly different ones every
time - seems very random. The skipped thumbs always seem to be the ones in
the beginning of the cycle though.
Since I solved the problem by increasing the duration, I didn´t bother.
But when bob wrote of his problem, I was reminded again. So I tried using
the new version of linearGo, but there´s no difference.
The total number of thumbnails in the gallery that are cycled thorugh are
90. The number in a clicked category varies between 40 and 80.
As I said, the same number of thumbs are also moved when a category button
is rolled over, but then no thumbs are ever skipped. The difference is
that no delay is used. I tried to use a dealy on the roll over function,
but no tweens were skipped even if I used the same delay and duration as
when clicked. I use the same kind of eventlistener in both cases, so it
seems quite strange. Hope this can give some clue to what (if anything) is
failing. I am aware that it could be my implementation that is faulty, but
since everything works fine when using longer durations, i don´t know ....
And remember, I´m still totally impressed with this system. Go!
///JmD
More information about the GoList
mailing list