I've already commented on your blog... The game looks so nice! I like it very very much!
My nephews (5 and 7) would surely enjoy it
Sweet!
I like the ability to create joints. I wonder if concave collision will make the game too easy. Are you implementing concave shapes as multiple thin boxes on a single body?
Do you have any feature requests?
Is your graphical side OpenGL driven?, if so, how do you manage the textured lines?, are you using an actual mesh with a repeated texture on it or is it more of an elegant solution involving bezier curves (doubt so, looks like raw linear input to me, perhaps interpolated but that'd be about it?) Or are you using swatches of any kind? - Best thing I got once in opengl were the styled lines (with patterns only...) Needless to say, they were nasty.
@quixote_arg: Thanks for the feedback. Both on my blog and here.
@Erin: Yeah, I'm doing the concave shapes as bunch of convex shapes on a single body. It seems to work pretty well, even though it could be tweaked for better results. It was put together quite quickly.
Concerning the difficulty of the game. The levels shown on the video are kind of warm up levels for the players. So don't draw any conclusions based on them 🙂 The concave shapes certainly make some levels much easier than in the original, but also allow me to design levels that are more complex and would probably be impossible to solve in the original prototype.
I have plenty of feature requests 🙂 I did small changes and extensions to the engine to get stuff done. I'll document them and post them to the forums. Changes are someone else might find them useful.
Here's one feature request that I was struggling the other day. Is there an easy way to connect two separate bodies "statically", like their shapes would be merged together?
@nielsen: I'm using DirectX for the graphics. The drawings are rendered to textures and then just struck to the bodies.
Oh so you actually create a "canvas" (let's call it a quad for now!) with an image where you directly draw on, which allows you to emulate brushes, etc. Now that makes sense, and its a clever method!. Very nice. 🙂 - Too bad it's DX-only your game though.
You can connect two bodies together with a revolute joint and equal joint limits. This will work fine in many cases. To be rock solid, you should create a single body with all the shapes.
Once merged, do you need to split them again?
I could make a weld joint which would be somewhat more stable than the revolute, but still not rock solid.
Wow, fantastic demo - the original Crayon Physics was what initially inspired me to take a look at Box2D in the first place, btw. Can't wait 'til it's done!
You know, if you made a Flash version of this game, you could absolutely own Newgrounds and all those sites, maybe even make a little money on the side if you did the whole advertising thing as well. Just a thought (and a somewhat selfish one, since I'd love to be able to play on my Mac laptop!) - any Flash experience?
Erin: Is it at all feasible to allow editing/adding/removal of the shapes attached to a body once the body is already created? I actually agree that a weld joint would be useful anyways, just because then you could read off the impulses and allow it to break, but for other purposes it would probably be more stable to allow the shapes themselves to be edited. Or is this just not practical?
@Erin: I have to separate them again. That's the reason why I didn't go down the "merging the shapes together" -path. Right now I'm using two revolute joints in different positions to merge the bodies (this is because this implementation came free, I didn't have to code anything). It's somewhat springy but surprisingly stable. I have to try the revolute joint with equal joint limits.
Weld joint would be cool, but I can probably live with equal joint limit solution.
@ewjordan: I have zero flash experience. People tell me all the time I should start doing flash full time.
That looks awesome, huge improvement over the original (which was great already).
I have to agree with ewjordan, a flash version would be sweet. I'd be more than willing to help you out, or even have a go at porting it.
I've become quite efficient at porting c++ to AS3 over the last few weeks :P and I think flash is up to the task.
Anyway, let me know if you're at all interested.
Keep up the good work.
-Matt.