[PIGMI] Documentation review

Doug douglas.linder at gmail.com
Sat Jan 22 23:56:44 PST 2011


Neat. Are you after feedback about the documentation or the library? The
documentation looks great, go javadocs! :)

Things to think about with the library:

- How would you integrate this with one of the js Box2D implementations?
(need, effectively, a method / callback to pull 2d position, rotation state
for every entity from the box2d core every frame; this applies with any
other physics engine you slot in too; is there a way to do this per Entity?
It wasn't clear to me)

- Along these lines, since you get the canvas reference in the draw()
method, you can rotate your sprites arbitrarily using c.setTransform(), but
once you do, your axis aligned collide code doesn't work any more, because
the bounding box isn't axis aligned any more. That's fine, because Box2D
handles collision detection; but how would you plug that into this?

- Your network model doesn't seem to support long polling connections. Have
you considered depending on socket.io?

- Looks like there aren't any obvious external dependencies; have you
considered looking into see if this would run under node.js? I believe there
was a node.js canvas implementation floating around somewhere..?

If you could make this a library that ran equally as a desktop app using
node.js, or a browser app depending on the situation, and think you'd get a
lot of interest in it...

~
Doug.

On Sat, Jan 22, 2011 at 10:12 PM, Chris McCormick <chris at mccormick.cx>wrote:

> Hi,
>
> I just got around to documenting the new features in jsGameSoup, the
> Javascript
> game engine I've been working on for a little while.
>
> I would love to hear opinions and advice on whether the documentation is
> clear,
> and the home page is easy enough to follow and figure out. I am trying to
> push
> to make it easy for people to adopt this library for their own games.
>
> Home page:
>        http://mccormick.cx/projects/jsGameSoup/
>
> API documentation:
>        http://mccormick.cx/projects/jsGameSoup/jsdocs/
>
> If anyone is thinking of making a game for the web and doesn't want to use
> Flash, please consider giving this library a try. I would love to hear
> about
> your experience with it so I can make it better.
>
> Thanks for listening! You may now continue your discussion of TRON. :)
>
> Chris.
>
> -------------------
> http://mccormick.cx
> _______________________________________________
> PIGMI mailing list - http://pigmi.org/ - pigmi at pigmi.org
> Unsubscribe: http://lists.pigmi.org/listinfo.cgi/pigmi-pigmi.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pigmi.org/pipermail/pigmi-pigmi.org/attachments/20110123/2fed53b2/attachment.htm>


More information about the pigmi-pigmi.org mailing list