Jason McIntosh | 7 Jan 02:45
Gravatar

Re: ES SVG lib? (was Re: Eights SVG)

On Dec 30, 2004, at 8:26 PM, Mike Sugarbaker wrote:

> 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)...

My focus on finishing the core protocol, and cheering on the Javolin 
hackers as they push its first releases out the door, has prevented me 
from spending a lot of time thinking about how UIs are actually made, 
even though they're actually at least as important to actual gameplay 
as all the other stuff. (I made an exception to finish the Eights SVG 
so that Javolin would have multiple working examples, at least one of 
which was less lame than rock-paper-scissors.)

I have assumed (or, rather, dreamed) from the start that "someday" 
there would exist a whole application suite just for creating UI files 
and shared UI-component libraries. The first steps towards this ideal 
are little reusable patterns just of the sort you describe above.

> 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.
(Continue reading)


Gmane