Mike Sugarbaker | 31 Dec 02:26
Picon

ES SVG lib? (was Re: Eights SVG)

Is it time to start thinking about a standard set of scripts to
provide to Volity UI writers? I'm thinking of basic things like
generating combo boxes, draggable things and drag targets, simple
sprites (on the level of "here are the shapes in your walk animation,
flip through them when i tell you 'walk' and stop when i tell you
'stop'"), grids (automagically spec out either a chessboard-like thing
or an RPG inventory-like thing, or a grid layout for something else
entirely)...

A casual cruise through google world has surprisingly not revealed any
ECMAScript libraries for simple UI widgets, although it seems like
such an obvious project that I could be wrong. Plenty for generating
SVG from Java and such, but nothing in pure ES. Such a library seems
both useful for Volity and likely to catch on with other projects as
well.

I don't have a completely firm grasp on SVG yet, but I do know the
DOM, and I feel up to this if I can get time. Are there any
Volity-specific needs that I'm overlooking?

On Sat, 18 Dec 2004 13:13:56 -0500, Jason McIntosh <jmac <at> jmac.org> wrote:
> I have published a new SVG UI for Crazy Eights, intended to serve as a
> model for more sophisticated UI files. Not optimally pretty, but it
> does the job. At the moment, it's primarily lacking card-play
> animation, so cards blink into place when played, instead of sliding
> smoothly into the discard pile; I have yet to get the hang of
> script-based animation.
> 
> The file does, however, manage to demonstrate simple user feedback,
> such as the onmouseover actions attached to the cards in hand, the use
> of color in the scorecard to indicate whose turn it is, and the
> presence of eye candy (a "Loading..." message) during the interval
> between the player clicking "start game" and the client receiving and
> rendering all the setup information.

--

-- 
______________
Mike Sugarbaker
Super Geiniuis

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

Gmane