Just as an example of what I'm talking about, this is the sort of thing I'd want to be able to do:<div><a href="http://magiksandbox.appspot.com/SaveKittens.html">http://magiksandbox.appspot.com/SaveKittens.html</a></div>
<div><br></div><div>(yeah, it only works in firefox or chrome. :P)</div><div><br></div><div>~</div><div>Doug.</div><div><br><div class="gmail_quote">On Sun, Jan 23, 2011 at 3:56 PM, Doug <span dir="ltr"><<a href="mailto:douglas.linder@gmail.com">douglas.linder@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Neat. Are you after feedback about the documentation or the library? The documentation looks great, go javadocs! :)<div>
<br></div><div>Things to think about with the library:</div><div><br></div><div>- How would you integrate this with one of the js Box2D implementations?</div>
<div>(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)</div>

<div><br></div><div>- 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?</div>

<div><br></div><div>- Your network model doesn't seem to support long polling connections. Have you considered depending on <a href="http://socket.io" target="_blank">socket.io</a>?</div><div><br></div><div>- 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..?</div>

<div><br></div><div>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...</div><div><br></div><div>

~</div><div>Doug.</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Sat, Jan 22, 2011 at 10:12 PM, Chris McCormick <span dir="ltr"><<a href="mailto:chris@mccormick.cx" target="_blank">chris@mccormick.cx</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I just got around to documenting the new features in jsGameSoup, the Javascript<br>
game engine I've been working on for a little while.<br>
<br>
I would love to hear opinions and advice on whether the documentation is clear,<br>
and the home page is easy enough to follow and figure out. I am trying to push<br>
to make it easy for people to adopt this library for their own games.<br>
<br>
Home page:<br>
        <a href="http://mccormick.cx/projects/jsGameSoup/" target="_blank">http://mccormick.cx/projects/jsGameSoup/</a><br>
<br>
API documentation:<br>
        <a href="http://mccormick.cx/projects/jsGameSoup/jsdocs/" target="_blank">http://mccormick.cx/projects/jsGameSoup/jsdocs/</a><br>
<br>
If anyone is thinking of making a game for the web and doesn't want to use<br>
Flash, please consider giving this library a try. I would love to hear about<br>
your experience with it so I can make it better.<br>
<br>
Thanks for listening! You may now continue your discussion of TRON. :)<br>
<br>
Chris.<br>
<br>
-------------------<br>
<a href="http://mccormick.cx" target="_blank">http://mccormick.cx</a><br>
_______________________________________________<br>
PIGMI mailing list - <a href="http://pigmi.org/" target="_blank">http://pigmi.org/</a> - <a href="mailto:pigmi@pigmi.org" target="_blank">pigmi@pigmi.org</a><br>
Unsubscribe: <a href="http://lists.pigmi.org/listinfo.cgi/pigmi-pigmi.org" target="_blank">http://lists.pigmi.org/listinfo.cgi/pigmi-pigmi.org</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>