[Golist] the possibilities of go
Jon Williams
jon at shovemedia.com
Wed Mar 5 06:46:08 PST 2008
i think the only thing i'd change is adding a public extra:* prop on
LinearGo
(same as there is on GoEvent). Though i'm not sure if that slows things
down due to
less-specific strong-typing...
for my purposes, that simplifies the whole setup immensely because
i don't even have to subclass anything (and you KNOW people find
subclasses pretty daunting):
create a linearGo, add the listeners, start it up,
inside the update event, i can get my object(s) and property(s) from the
extra obj above and pull the position via GoEvent.target.position.
from there convert from a percent to actual
coordinates or whatever right inside the event listener.
done!
:j
More information about the GoList
mailing list